acastrolorenzo Posted January 14, 2012 Share Posted January 14, 2012 Hi everyone, If its possible to hide completely the pictures (I mean, chaging the template) for the products that doesnt have picture?. Thanks in advance! Link to comment Share on other sites More sharing options...
justinl Posted January 15, 2012 Share Posted January 15, 2012 put this block around the DIV that contains your pictures. This would essential not render any HTML where the picture should go, if the product has no picture. product.tpl {if isset($images) && count($images) > 0} //picture displaying code goes here (default prestashop code. no need to change anything) {/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