Developer forum
E-mail notifications
Replies
Nicolai Høeg Pedersen
Posted on 03/12/2010 08:33:06
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.
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.
Posted on 03/12/2010 12:53:46
Thanks
Posted on 21/12/2010 23:24:56
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>
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