Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Luyolo Mgodi 71 posts 120 karma points
    Jul 21, 2011 @ 10:19
    Luyolo Mgodi
    0

    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>

     

     

  • Lasse Eskildsen 34 posts 57 karma points
    Jul 21, 2011 @ 11:36
    Lasse Eskildsen
    0

    Hi,

    Are you sure the description is in the xml? Try adding a text area, and output $product/product in there.

  • Luyolo Mgodi 71 posts 120 karma points
    Jul 21, 2011 @ 13:06
    Luyolo Mgodi
    0

    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. 

  • Christian Wendler 46 posts 155 karma points
    Jul 22, 2011 @ 16:59
    Christian Wendler
    0

    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

     

  • Søren Spelling Lund 1797 posts 2786 karma points
    Jul 28, 2011 @ 17:09
    Søren Spelling Lund
    0

    Hi Luyolo,

    Did you get to the bottom of this?

  • Luyolo Mgodi 71 posts 120 karma points
    Jul 29, 2011 @ 15:40
    Luyolo Mgodi
    0

    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.

  • Søren Spelling Lund 1797 posts 2786 karma points
    Aug 02, 2011 @ 11:52
    Søren Spelling Lund
    0

    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.

  • Sonny 27 posts 48 karma points
    Nov 24, 2011 @ 22:37
    Sonny
    0

    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..

  • Søren Spelling Lund 1797 posts 2786 karma points
    Nov 29, 2011 @ 14:52
    Søren Spelling Lund
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft