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: Turnkey Top URLs with Opencart installed!
Latest Opencart LIGHT + V-Pro Test Site:
For more Information, please contact me at:
Free OC Extensions from the largest Github OC Archive on Earth,
635 + free Repositories - from OC v.1.5.x up
on my Github Opencart 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