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! :-\

For Sale: Top URL's, including OpenCart V-Pro installed, like seen here: - -
For Information + URL's offered, please contact me at:
I am NOT available for Custom Support in existing OC Installations!
My Github Repositories:

User avatar
Guru Member


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

Users browsing this forum: No registered users and 3 guests