Skip to main content

How to modify Order Creation Notification Email

More
9 years 5 months ago #268189 by a2zcs
-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.6.5
-- PHP version -- : 7.0
-- Browser(s) name and version -- : FireFox 52.0.2

How can you include the order number in the body of the email as part of a language override?

How can you bold the label of a custom field that is set to display in the email?

Thanks in advance

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #268216 by nicolas
Hi,

Edit the email via the menu System>Emails.

There, you can add the tag {VAR:order.order_number} in order to add the order number in the HTML version of the email.
And regarding the custom order fields, you would have to change the line:
Code:
echo $sep . $fieldsClass->trans($oneExtraField->field_realname).' : '.$fieldsClass->show($oneExtraField, $data->cart->$fieldName, 'user_email');
to something like:
Code:
echo $sep . '<strong>'.$fieldsClass->trans($oneExtraField->field_realname). '</strong> : '.$fieldsClass->show($oneExtraField, $data->cart->$fieldName, 'user_email');
in the preload version.

Please Log in or Create an account to join the conversation.

More
9 years 4 months ago #268482 by a2zcs
Ok, this is weird.
I'll make the change to the html version for the order number and save it, test it and it works. I go and make the change to the preload version for the bolding of the field name and it deletes the change to the html version. It also does it in reverse, if I make the change to the preload version first, What am I missing?

Please Log in or Create an account to join the conversation.

More
9 years 4 months ago #268490 by Jerome
Hello,

Can you please indicate your HikaShop build number ?
www.hikashop.com/support/documentation/5...onfig.html#main_main

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

More
9 years 4 months ago #268544 by a2zcs
It is HikaShop Business 3.0.0 [1702151248]

Please Log in or Create an account to join the conversation.

More
9 years 4 months ago #268545 by Jerome
Hello,

Please download HikaShop 3.0.1 in order to get the latest patches and fixes.
www.hikashop.com/support/documentation/5...ashop-changelog.html

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.171 seconds
Powered by Kunena Forum