product loop : feature_values param + fix feature_av

This commit is contained in:
Etienne Roudeix
2013-07-16 16:57:33 +02:00
parent 92866d602d
commit 56719a4c46
2 changed files with 46 additions and 5 deletions

View File

@@ -28,7 +28,16 @@
weight : #WEIGHT<br />
{/loop*}
{loop name="product" type="product" order="ref" feature_available="1: (1 | 2) , 2: 4, 3: 433"}
{*loop name="product" type="product" order="ref" feature_available="1: (1 | 2) , 2: 4, 3: 433"}
<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 name="product" type="product" order="ref" feature_values="1: foo"}
<h3>PRODUCT : #REF / #TITLE</h3>
price : #PRICE €<br />
promo price : #PROMO_PRICE €<br />