Post by vasjaciktr » Mon Jun 26, 2017 9:20 pm

Hi. Could you please help me? I need to change anchors of a wishlist and addtocompare buttons. I mean I would like to translate the text of these buttons in another language. I have installed Opencart and package with the neccessary language. Although, on the main page, in the recommended products section these two buttons are not translated and displayed in the same way.



Fri Jun 23, 2017 12:42 am

Post by IP_CAM » Tue Jun 27, 2017 9:19 am

On your MAIN language File, those two variables probably just don't exist,
in the default english language en-gb.php file, they look like this:

Code: Select all

$_['button_compare']        = 'Compare this Product';
$_['button_wishlist']       = 'Add to Wish List';
therefore, you have to add those two lines, translated,
into your MAIN Language file, to eventually make it work as planned.
Good Luck ;)
PS: And from next time on, better ALWAYS inform about your OC Version and Theme used,
at least, if you expect a useful reply! :-\

I am no longer active at the Forum. Please do NOT send me Personal Mails,
they will no longer be replied to.
My Github OC Site:
3'030+ FREE OC Extensions, on the World's largest Github OC Repository Archive Site.

User avatar
Legendary Member


Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 1 guest