Developer forum

Forum » Templates » CustomFields Loops

CustomFields Loops


Reply
Hi Everybody,

i'm wokring on an eCom solution, and got some customfiels that i need together with the product. For this solution i've decided that some oldschool tables wolud do just fine.

The only problem is that the Loops returns a litte more than wanted.

What am I doing wrong:

<!--@LoopStart(Products)--> 
<table class="listitem<!--@Products.LoopMod2-->">
<tr class="listinfo">
<td><a href="<!--@Ecom:Product.Link.Clean-->"><!--@Ecom:Product.Name--></a></td>
<!--@LoopStart(CustomFields)-->
<td><!--@Dimension--></td>
<td><!--@Thickness--></td>
<td><!--@Packing--></td>
<td><!--@Ordernr--></td>
<td><!--@ProductSheet--></td>
<!--@LoopEnd(CustomFields)-->
</tr>
</table>
<!--@LoopEnd(Products)-->



Link: http://ericstorm.net.dynamicweb.dk/da-DK/Produkter.aspx?GroupID=GROUP7

Replies

 
Reply
Hi Dennis

What is it that you don't want ?

// Dammark
 
Reply
Well, if you take a look at the source, it seems that the loop, returns the same info too many times. There is also created way to many td's which causes the misalignment.

 

You must be logged in to post in the forum