Jump to content

How can I add sale-label if store in in catalogue mode?


Recommended Posts

Hello,

I have the following problem: my shop is in catalogue mode, but the sale icon does not appear in product list. It appears in product page, but not in product-list.

I would like that icon to appear to products that have cheked "on sale" in product list, home featured, search results ...

Thank you for your help,

Prestashop version is 1.6.1.13.

 

Daniel

 

Edited by daniel_caldarus
added prestashop version (see edit history)

Share this post


Link to post
Share on other sites
21 hours ago, daniel_caldarus said:

Hello,

I have the following problem: my shop is in catalogue mode, but the sale icon does not appear in product list. It appears in product page, but not in product-list.

I would like that icon to appear to products that have cheked "on sale" in product list, home featured, search results ...

Thank you for your help,

Prestashop version is 1.6.1.13.

 

Daniel

 

in product-list.tpl, line 105 remove "&& isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE"

There should be only {if isset($product.on_sale) && $product.on_sale}

 

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More