gothw Posted August 20, 2015 Share Posted August 20, 2015 (edited) Hi, i have products with colour attributes, and i want to show in product-list.tpl a text like "Avaliable in more colours" only if the products have colour attributtes. {$product.color_list} show the attributes but i need to show a text. Anybody knows how to do that? Prestashop 1.6.x Thanks Edited August 20, 2015 by gothw (see edit history) Link to comment Share on other sites More sharing options...
gothw Posted August 21, 2015 Author Share Posted August 21, 2015 Solved! {if isset($product.color_list) && $product.color_list !=''} {l s='Avaliable in more colours'} {/if} Link to comment Share on other sites More sharing options...
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