Première étape de l'affichage d'un picto "Produit bio" ou "Prpoduit local" sur les produits
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
{assign var="IS_LOCAL" value=false}
|
{assign var="IS_LOCAL" value=false}
|
||||||
{loop name="features-list" type="feature" product=$product_id}
|
{loop name="features-list" type="feature" product=$product_id}
|
||||||
{if $TITLE|strstr:"Locaux"}{assign var="IS_LOCAL" value=true}{/if}
|
{if $TITLE|strstr:"Locaux"}{assign var="IS_LOCAL" value=true}{/if}
|
||||||
|
{if $TITLE|strstr:"Audomarois"}{assign var="IS_LOCAL" value=true}{/if}
|
||||||
{loop name="feature-values-list" type="feature_value" product=$product_id feature={$ID}}
|
{loop name="feature-values-list" type="feature_value" product=$product_id feature={$ID}}
|
||||||
{if $TITLE|strstr:"Bio"}{assign var="IS_BIO" value=true}{/if}
|
{if $TITLE|strstr:"Bio"}{assign var="IS_BIO" value=true}{/if}
|
||||||
{/loop}
|
{/loop}
|
||||||
|
|||||||
Reference in New Issue
Block a user