AbanteCart Community

Shopping Cart Operations => Support => Topic started by: Gokk on August 20, 2016, 12:46:43 PM

Title: text_message_account
Post by: Gokk on August 20, 2016, 12:46:43 PM
Hi,
I have this string with no translation and can't find it (image attached).
When selecting COD as payment and ordering, message appears, where can I translate this?

Thanks
Title: Re: text_message_account
Post by: abantecart on August 21, 2016, 10:28:18 AM
This depends what controller is loading this template.
You need to see the route in the URL. Add text_message_account to the storefront translation for this controller (block in case on language definition).
This can be done in the admin
http://docs.abantecart.com/pages/localization/language_definitions.html

Title: Re: text_message_account
Post by: Basara on August 25, 2016, 04:08:08 AM
Quick solution is add missed language definitions manually ;) in Admin > System > Localization > Language definitions

section: Storefront
block: checkout_success
need to add two keys
Code: [Select]
key:text_message_account
value: <p>Your order #%s has been created!</p>
<p>You can view your order details by going to the <a href="%s">invoice page</a>.</p>
<p>Please direct any questions you have to the <a href="%s">store owner</a>.</p>
<p>Thank you for shopping with us!</p>

Code: [Select]
key:text_message_guest
value: <p>Your order has been successfully processed!</p>
<p>You can view your order details by going to the <a href="%s">invoice page</a>.</p>
<p>Please direct any questions you have to the <a href="%s">store owner</a>.</p>
<p>Thank you for shopping with us!</p>
Title: Re: text_message_account
Post by: Gokk on August 25, 2016, 09:47:54 AM
Thanks you both guys, that did the trick!