News:

Looking for documentation? Take a look on our wiki

Main Menu

Language override not working in email of updated order

Started by flibakos, June 22, 2018, 10:47:23 AM

Previous topic - Next topic

flibakos

We're currently setting up a multilingual (Greek/English) site with VirtueMart 3.2.14.9808 on Joomla! 3.8.8

In Joomla! (Extensions -> Language(s) -> Overrides), the following language overrides have been added:


Constant                Text Language Tag Location
----------------------- ---- ------------ --------
COM_VIRTUEMART_MAIL_SKU ISBN el-GR        Site
COM_VIRTUEMART_MAIL_SKU ISBN en-GB        Site


This setup works fine when the initial order confirmation e-mail is sent, i.e. the shopper sees "ISBN" instead of "SKU" in the product list of their order.

However, if we change the order's status in the backend to "Shipped" (or even "Canceled" or "Refunded") and notify the shopper, the e-mail received by the user will display "SKU" instead of the desired "ISBN".

This happens regardless of the site language the user has selected when placing the order.

Has anyone else come across this?

jjk

Quote from: flibakos on June 22, 2018, 10:47:23 AM
This setup works fine when the initial order confirmation e-mail is sent, i.e. the shopper sees "ISBN" instead of "SKU" in the product list of their order.

However, if we change the order's status in the backend to "Shipped" (or even "Canceled" or "Refunded") and notify the shopper, the e-mail received by the user will display "SKU" instead of the desired "ISBN".

Add this to the 'administrator' language override and the 'site' language override:
COM_VIRTUEMART_ORDER_PRINT_SKU="ISBN"
In your case adding this to the 'site' language override probably makes sense too:
COM_VIRTUEMART_CART_SKU="ISBN"


Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations