Developer forum

Forum » Templates » -

Reply
-

Replies

 
Nicolai Høeg Pedersen
Reply
Yes - of course.

See the complete list of tags here:
http://templates.dynamicweb.dk/eCommerce/Dynamicweb-eCommerce-template-tags/Shopping-Cart-V2/Order/Cart.aspx

I.e. <!--@ Ecom:Order.OrderLines.Count--> gives you the number of items in the cart etc.

Also in your template put <!--@ DwTemplateTags--> and see a list of all possible tags and their values.
 
Reply
Thanks
 
Reply
XSLT is not my forte.
Therefore i'm having trouble showing the cart-content even when theres no products in it.

Can this piece of code be altered, so it shows the cart content even when the cart is empty?
Right now the showing of the paragraph only happens when something is in the cart.

<div id="Cart" style="width:239px; position:absolute; top:60px; left:758px; margin-top:0px;">
    <div id="CartTop" style="background-image:url('/Files/System/newcart_bg.jpg');width:239px; height:190px;">
        <span id="totalPrice">
            <xsl:call-template name="generatedwtag">
            <xsl:with-param name="tagname" select="'Global:Paragraph.Content(379)'" />
            </xsl:call-template>
        </span>
    </div>
</div>

 

You must be logged in to post in the forum