Hi
Need to display product images in an small cart, is it possible to return the product image for an orderline?
Developer forum
E-mail notifications
Returning the product image for an orderline.
Antonio Amezquita Ganoza
Posted on 12/05/2011 16:25:42
Replies
Nicolai Høeg Pedersen
Posted on 12/05/2011 16:28:41
Yes
You can use any of the product tags:
http://templates.dynamicweb-cms.com/eCommerce/Dynamicweb-eCommerce-template-tags/Shopping-Cart-V2/Order/Cart/Loops/Orderlines/Products.aspx
You can use any of the product tags:
http://templates.dynamicweb-cms.com/eCommerce/Dynamicweb-eCommerce-template-tags/Shopping-Cart-V2/Order/Cart/Loops/Orderlines/Products.aspx
Antonio Amézquita Ganoza
Posted on 13/05/2011 10:45:51
Hi Nicolai
Thanks for your quick input, I still have an issue tough,
I can output the Ecom:Product.Name in a products loop inside an orderline loop, but not the the Ecom:Product.ImageSmall,
it works only when DwTemplate is included in the template.
Am I doing something wrong?, Here the code:
Thanks for your quick input, I still have an issue tough,
I can output the Ecom:Product.Name in a products loop inside an orderline loop, but not the the Ecom:Product.ImageSmall,
it works only when DwTemplate is included in the template.
Am I doing something wrong?, Here the code:
<!--@LoopStart(OrderLines)-->
<!--@LoopStart(Products)-->
<div class="pad9">
<div class="cartCol1">
<img alt="" src="/admin/public/getimage.aspx?&Image=<!--@Ecom:Product.ImageSmall.Clean-->&Width=87&Resolution=75&Compression=90" />
</div>
<div class="cartCol2">
<div class="cartProductTitle"><a href="<!--@Ecom:Product.Link.Clean-->"><!--@Ecom:Product.Name--></a></div>
<div class="cartProductTitleAmount">Antal <!--@Ecom:Order:OrderLine.Quantity--></div>
<div class="cartProductUnitPrice">
<div class="left">Pr. stk.</div>
<div class="right"><b><!--@Ecom:Order:OrderLine.UnitPriceWithoutSymbol--> <!--@Ecom:Order:OrderLine.UnitPrice.Currency.Code--></b></div>
</div>
</div>
<!--@DwTemplateTags-->
<div class="clear"> </div>
</div>
<div class="productDetailSplitterCart"> </div>
<!--@LoopEnd(Products)-->
<!--@LoopEnd(OrderLines)-->
You must be logged in to post in the forum