Jump to content

Removing prices of featured products. Prestashop ver. 1.6


Recommended Posts

homefeatured.tpl just calls in the product-list.tpl file to actually display the products, so in that regard, it's no different than a category display.

 

What you'd need to do is something like:

 

On homefeatured.tpl, find:

    {include file="$tpl_dir./product-list.tpl" class='homefeatured tab-pane' id='homefeatured'}

Replace with:

    {assign var="showNoPrices" value="1"}
    {include file="$tpl_dir./product-list.tpl" class='homefeatured tab-pane' id='homefeatured'}
    {assign var="showNoPrices" value="0"}

Then on product-list.tpl, simply wrap whatever section you don't want to display with this code:

	{if empty($showNoPrices)}
	{/if}

Hope that helps
 

 

 

  • Like 1
  • Thanks 1
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...