Jump to content

Show only product with images


Recommended Posts

Hi :rolleyes:

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 :wacko:

 

Thank you!

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...