Page 1 of 1

text_success at the confirmation step of add to cart

Posted: Mon Jun 27, 2016 1:55 am
by angelorigo
Hi

I am using Opencart 2.2.0 and Kingstore Lite theme

When i do add to cart an product the modal show the message: text_success literally, at the confirmation step instead of the translation of this variable.

How can i show the translated message ?

Re: text_success at the confirmation step of add to cart

Posted: Mon Jun 27, 2016 3:41 am
by IP_CAM

Code: Select all

/catalog/language/*/checkout/cart.php
in the default OC v.2.2, it would be this:

Code: Select all

// Text
$_['text_success']             = 'Success: You have added <a href="%s">%s</a> to your <a href="%s">shopping cart</a>!';
---
But it could probably also be handled, by use of this nice tool as well, to find and fix such Language Fields:
Translate Mate
http://www.opencart.com/index.php?route ... n_id=23098
--
Ernie

Re: text_success at the confirmation step of add to cart

Posted: Mon Jun 27, 2016 5:05 am
by angelorigo
Thank you IP_CAM, problem solved i will try this great extension.
Regards