- Posts: 80
- Thank you received: 0
EMAIL Order creation notification - Order number
7 years 10 months ago #299887
by idimarco
EMAIL Order creation notification - Order number was created by idimarco
-- HikaShop version -- : HikaShop Business: 4.0.0
-- Joomla version -- : Joomla! 3.8.13 Stable
-- PHP version -- : 7.0.32
-- Browser(s) name and version -- : FIREFOX
Hi
After the order is placed, the order confirmation email received by the customer should contain the reminder to include the order number in the bank transfer description
However, the order number is not despayed in the email but the symbol %s.
Here it is the string created in the EN language file
ORDER_EMAIL_PAYREMINDER="Do not forget to include the order number %s in the bank transfer description so that we can match it to your order".
What should be the corresponding string in the HTML version of the Order creation notification email?
Thanks
Imma
-- Joomla version -- : Joomla! 3.8.13 Stable
-- PHP version -- : 7.0.32
-- Browser(s) name and version -- : FIREFOX
Hi
After the order is placed, the order confirmation email received by the customer should contain the reminder to include the order number in the bank transfer description
However, the order number is not despayed in the email but the symbol %s.
Here it is the string created in the EN language file
ORDER_EMAIL_PAYREMINDER="Do not forget to include the order number %s in the bank transfer description so that we can match it to your order".
What should be the corresponding string in the HTML version of the Order creation notification email?
Thanks
Imma
Please Log in or Create an account to join the conversation.
7 years 10 months ago #299894
by nicolas
Replied by nicolas on topic EMAIL Order creation notification - Order number
Hi,
There is no such "ORDER_EMAIL_PAYREMINDER" translation key in the language file of HikaShop.
The translation key is INCLUDE_ORDER_NUMBER_TO_TRANSFER and you can find it in the language file of HikaShop:
INCLUDE_ORDER_NUMBER_TO_TRANSFER="Do not forget to include the order number ( %s ) in the comments of the bank transfer so that we can match it to your order."
And in the preload of the order creation notification email you can also see this translation key being used:
So I'm not sure how you were able to have what you're describing.
I suppose that you have some old override of the preload of that email which uses a translation we don't use anymore.
In the override of the preload, you must have something like that: JText::_('ORDER_EMAIL_PAYREMINDER'.... while it should be:
JText::sprintf('INCLUDE_ORDER_NUMBER_TO_TRANSFER'...
There is no such "ORDER_EMAIL_PAYREMINDER" translation key in the language file of HikaShop.
The translation key is INCLUDE_ORDER_NUMBER_TO_TRANSFER and you can find it in the language file of HikaShop:
INCLUDE_ORDER_NUMBER_TO_TRANSFER="Do not forget to include the order number ( %s ) in the comments of the bank transfer so that we can match it to your order."
And in the preload of the order creation notification email you can also see this translation key being used:
Code:
echo '<p>' . JText::sprintf('PLEASE_TRANSFERT_MONEY',$amount).'<br/>'.$information.'<br/>'.JText::sprintf('INCLUDE_ORDER_NUMBER_TO_TRANSFER',$data->order_number) . '</p>';
I suppose that you have some old override of the preload of that email which uses a translation we don't use anymore.
In the override of the preload, you must have something like that: JText::_('ORDER_EMAIL_PAYREMINDER'.... while it should be:
JText::sprintf('INCLUDE_ORDER_NUMBER_TO_TRANSFER'...
Please Log in or Create an account to join the conversation.
Time to create page: 0.160 seconds