asdf1 Posted June 29, 2015 Share Posted June 29, 2015 Hi I search in forum, google, but i don't find... Does anyone know how I can do so only show products with photos in product-list.tpl My PrestaShop version is 1.4.6.2 I tried the following {if $product.id_image} {if isset($products)} <!-- Products list --> <ul id="product_list" class="clear"> {foreach from=$products item=product name=products} {if $product.id_image} ............... {/if} {/foreach} </ul> <!-- /Products list --> {/if} but this not work Thank you! Link to comment Share on other sites More sharing options...
NemoPS Posted July 1, 2015 Share Posted July 1, 2015 I'm not sure the variable is id_image but can't even check it. What is it using on the image block part? 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