How to modify Order Creation Notification Email

  • Posts: 248
  • Thank you received: 7
  • Hikamarket Frontedition Hikamarket Multivendor Hikaserial Standard Hikashop Business
7 years 1 day ago #268189

-- 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

Attachments:

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
7 years 10 hours ago #268216

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:

echo $sep . $fieldsClass->trans($oneExtraField->field_realname).' : '.$fieldsClass->show($oneExtraField, $data->cart->$fieldName, 'user_email');
to something like:
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.

  • Posts: 248
  • Thank you received: 7
  • Hikamarket Frontedition Hikamarket Multivendor Hikaserial Standard Hikashop Business
6 years 11 months ago #268482

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.

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
6 years 11 months ago #268490

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.

  • Posts: 248
  • Thank you received: 7
  • Hikamarket Frontedition Hikamarket Multivendor Hikaserial Standard Hikashop Business
6 years 11 months ago #268544

It is HikaShop Business 3.0.0 [1702151248]

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
6 years 11 months ago #268545

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.062 seconds
Powered by Kunena Forum