Jump to content

How to Change "Price Drop"


Recommended Posts

How do you change the Price Drop module?

 

I want to change the words "Price Drop" where they appear in the breadcrumb trail and in the <h1> on the page to "Special Offers"

 

I assume I must edit a .tpl somewhere but which one?

Link to comment
Share on other sites

  • 6 years later...
2 hours ago, Sergionline said:

Hi. Can you please help me to sove the problem?

I can't find the correct translation file to solve it.

Hi,

In your backoffice go to International > Translations

Select Installed Modules, Price drop and your Language.

If you need to change the page title it's in Shop Parameters > SEO & URLS

Link to comment
Share on other sites

  • 1 year later...
  • 3 years later...

Just in case anyone else needs this for Prestashop 1.7, the problem is that prices-drop is referred to in many files so can't easily be changed in translation or tpl templates

This way works by using the smarty text replace function

So In

/themes/YOURTHEME/templates/catalog/listing/product-list.tpl

Change this line

<h1 id="js-product-list-header" class="h1 page-title"><span>{$listing.label}</span></h1>

to the following (and change the sale text to anything you want)

<h1 id="js-product-list-header" class="h1 page-title"><span>{$listing.label|replace:'Prices drop':'Sale'}</span></h1>

This will replace the 'Prices drop' text for 'sale'

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