Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: Add SKU to Upsell Products Box/Table

  1. #1
    Classic_Exotic is offline Member
    Join Date
    Dec 2009
    Location
    Troy, MI USA
    Posts
    82

    Default Add SKU to Upsell Products Box/Table

    I would like to add the SKU number to the "upsell products" box on our pages that use that table. Currently, only the name and price of the product being upsold is listed and we need the SKU added to that.

    What should be added to the upsell xml package to make this information appear and where should it be added?

    Does anyone know?

    Thanks.

  2. #2
    George the Great is offline Senior Member
    Join Date
    Nov 2006
    Location
    Cleveland, OH
    Posts
    1,792

    Default

    Super simple Just open the upsellproducts.xml.config xmlpakcage and add 2 lines in the ProductCell template (new code in red)
    Code:
    <a href="{aspdnsf:ProductLink(ProductID, SEName, 0, '')}">
        <xsl:value-of select="$pName" disable-output-escaping="yes"/>
    </a>
    <br/>
    <xsl:value-of select="SKU" disable-output-escaping="yes" />
    <br/>
        <xsl:if test="aspdnsf:AppConfigBool('DisplayOutOfStockProducts') = 'true'">
           <xsl:value-of select="aspdnsf:DisplayProductStockHint(ProductID,'Product')" disable-output-escaping="yes" />
       </xsl:if>
       <xsl:value-of select="aspdnsf:GetUpsellVariantPrice(VariantID, HidePriceUntilCart, Price, SalePrice, ExtendedPrice, Points, aspdnsf:GetMLValue(SalesPromptName), 0, TaxClassID, UpsellDiscMultiplier)" disable-output-escaping="yes" />
    <br/>
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>

  3. #3
    Classic_Exotic is offline Member
    Join Date
    Dec 2009
    Location
    Troy, MI USA
    Posts
    82

    Default

    Excellent!

    Thank you very much - that worked perfectly!