Jump to content

Hide pictures gap when products doesnt have any pic?


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...