VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: patbe60 on May 22, 2020, 11:10:29 AM

Title: Language override doesn't work in mail_html_pricelist.php
Post by: patbe60 on May 22, 2020, 11:10:29 AM
This problem exists since a very long time:

I have made a language override of the constant COM_VIRTUEMART_ORDER_PRINT_SKU. Per default in german the value is Artikelnummer. I have changed it to Art.-Nr. This works fine when the customer gets the first email (confirmed by shopper). When he gets a second email e.g. confirmed, the constant override is ignored, it is again Artikelnummer.

I have also created language overrides for two custom fields. They are correct in the first email but are also ignored in a second email.

For both problems it doesn't matter what kind of status is use to send a second, third or fourth email. Language overrides will be ignored. Please check the two attached pics, confirmed by shopper and confirmed, to see the problem.

J 3.9.18
VM 3.8.2
Title: Re: Language override doesn't work in mail_html_pricelist.php
Post by: Jörgen on May 22, 2020, 11:14:23 AM
Please make the override for back-end and tick box use for front end also.

Jörgen @ Kreativ Fotografi
Title: Re: Language override doesn't work in mail_html_pricelist.php
Post by: patbe60 on May 22, 2020, 11:25:57 AM
Thank you very much. This solved the problem.
Title: Re: Language override doesn't work in mail_html_pricelist.php
Post by: Jörgen on May 22, 2020, 12:40:36 PM
Nice to hear.  ;D

Jörgen @ Kreativ Fotografi