accessory loop

product loop
order fix
This commit is contained in:
Etienne Roudeix
2013-07-19 13:59:25 +02:00
parent 56719a4c46
commit c28ac536aa
8 changed files with 217 additions and 80 deletions

View File

@@ -37,11 +37,19 @@
weight : #WEIGHT<br />
{/loop*}
{loop name="product" type="product" order="ref" feature_values="1: foo"}
{*loop name="product" type="product" order="ref" feature_values="1: foo"}
<h3>PRODUCT : #REF / #TITLE</h3>
price : #PRICE €<br />
promo price : #PROMO_PRICE €<br />
is promo : #PROMO<br />
is new : #NEW<br />
weight : #WEIGHT<br />
{/loop}
{/loop*}
{loop name="product" type="product" order="ref"}
<h3>PRODUCT : #REF / #TITLE</h3>
<h4>Accessories</h4>
{loop name="acc" type="accessory" product="#ID" order="max_price"}
#REF -
{/loop}
{/loop}