How to display related products on cart template
Written by Matt on July 22, 2008 – 4:38 pmJust a quickie for today!
I’ve seen a few people using this already but I thought I’d share it with you all.
<ss:if test="$cart.Details">
<p>You may also be interested in the following products:</p>
<ul>
<ss:foreach item="detail" within="$cart.Details">
<ss:foreach item="relatedproduct" within="$detail.relatedProducts">
<li><ss:link source="$relatedproduct"><ss:value source="$relatedproduct.name"/></ss:link></li>
</ss:foreach>
</ss:foreach>
</ul>
</ss:if>
Tags: coding, prostores, ssml, Tips
Posted in ProStores Coding, Tips |














