luqa19 Posted January 25, 2017 Share Posted January 25, 2017 Witam. Chciałbym, aby na stronie categorii wyświetlało mi ikonki "Slim line" i "Regular" na produktach, kod byłby pobierany z funkcji produktu. Jaki kod jest za to odpowiedzialny ? {if isset(???)} Link to comment Share on other sites More sharing options...
0 luqa19 Posted January 26, 2017 Author Share Posted January 26, 2017 ref Link to comment Share on other sites More sharing options...
0 e_com Posted January 26, 2017 Share Posted January 26, 2017 {foreach from=$product.features item=feature} {if isset($feature.value)} {if ($feature.name|escape:'html':'UTF-8') == 'Etykietki'} {$feature.value|escape:'html':'UTF-8'} {/if} {/if} {/foreach} 'Etykietki' zamień na nazwę grupy cech tych etykietek. 1 Link to comment Share on other sites More sharing options...
Question
luqa19
Witam. Chciałbym, aby na stronie categorii wyświetlało mi ikonki "Slim line" i "Regular" na produktach, kod byłby pobierany z funkcji produktu. Jaki kod jest za to odpowiedzialny ?
{if isset(???)}
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now