Jump to content

[SOLVED] "ProductCategory" module "Add to cart" button translation problem.

Recommended Posts



I have installed the "ProductCategory" module and everything is fine but the "Add to Cart" button "translation".

(It is a module which shows the products from the same category in a product page).


I have checked the translation from "Localization>Translation>Modules>productcategory" and as you can see in the picture attached it has been translated correctly but does not appear in the front office. I mean in the front office the customer will face "Add to cart" instead of its translation => "افزودن به سبد خرید"


Could it be some problem in the code? 


Thank you in advance for your responses.

My version of Prestashop is

The version of the mentioned module is 1.6.4.



Edited by AmirRzd (see edit history)

Share this post

Link to post
Share on other sites

I found the solution from here.


From the paththemes/default-bootstrap/modules/productscategory open the productcategory.tpl and change the line 58 from

<span>{l s='Add to cart'}</span>

with this one:

<span>{l s='Add to cart' mod='productscategory'}</span>

Now from the Translation section you could do the work.

Edited by AmirRzd (see edit history)
  • Like 3

Share this post

Link to post
Share on other sites
This topic is now closed to further replies.
  • Create New...

Important Information

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