In the uCommerce tab in umbraco, when you set up products. All the information gets saved directly to the database, There are text areas already in the product. I am able to get all other information in my XSLT but the description.
This should output your product data as XML with all information you entered in the backend. Please check if your description is also included or post the result right over here.
Yes it went down to the Language issue. Just like the issue we had a chat about via email about adding a domain name and language, After I added the domain name and language, all worked fine.
1 problem though, If I choose any other language besides American English (en-us), nothing works. For xample, I chose South African English (en-za) and it didnt work. But reverted back to (en-us) and all was well. Maybe that is something you can look at as well.
Try assigning a hostname and language to the content node serving the site in Umbraco. If Umbraco can't find a hostname and thus a language for the site it will revert back to ASP.NETs language (basically the language of the browser). Assigning a hostname is a sure fire way to make it work as expected.
Product Description not showing in the product details page
Hi,
I am using the XSLT code below to get product Descrption but It doesnt show.
<div class="description">
<p>
<xsl:value-of select="$product/product/@shortDescription" disable-output-escaping="yes" />
</p>
<p>
<xsl:value-of select="$product/product/@longDescription" disable-output-escaping="yes" />
</p>
</div>
Hi,
Are you sure the description is in the xml? Try adding a text area, and output $product/product in there.
Hi,
In the uCommerce tab in umbraco, when you set up products. All the information gets saved directly to the database, There are text areas already in the product. I am able to get all other information in my XSLT but the description.
Could you please put the following line in your XSLT macro to debug this issue?
<textarea cols="80" rows="20"><xsl:copy-of select="$product/product"/></textarea>
This should output your product data as XML with all information you entered in the backend. Please check if your description is also included or post the result right over here.
Bye
Christian
Hi Luyolo,
Did you get to the bottom of this?
Hi Soren,
Yes it went down to the Language issue. Just like the issue we had a chat about via email about adding a domain name and language, After I added the domain name and language, all worked fine.
1 problem though, If I choose any other language besides American English (en-us), nothing works. For xample, I chose South African English (en-za) and it didnt work. But reverted back to (en-us) and all was well. Maybe that is something you can look at as well.
Hi Luyolo,
Could you try out the latest version of uCommerce (2.0.2.0). We added some code which should help prevent this issue.
Thanks.
Hi Christian,
I put in the code you suggested in the Product[XLST] and the results showed that both the short and long description were empty..
How do I fix this..
Hi Sonny,
Try assigning a hostname and language to the content node serving the site in Umbraco. If Umbraco can't find a hostname and thus a language for the site it will revert back to ASP.NETs language (basically the language of the browser). Assigning a hostname is a sure fire way to make it work as expected.
is working on a reply...