Order notification e-mail template/text customization per status

  • Posts: 75
  • Thank you received: 12
6 years 5 months ago #281635

-- url of the page with the problem -- : boostr.ca
-- HikaShop version -- : 3.2.1
-- Joomla version -- : 3
-- PHP version -- : 5.7

Hi,

Currently, it looks like the order notification e-mail is one template for all statuses.

We would very much like to customize the intro paragraph bellow the "Hello Name," portion of the e-mail for each of these statuses.

Order creation, we want to communication the importance of validating the address info
Confirmation e-mail, we want to talk about expedition steps to follow and thank the user for his payment
Pending e-mail, we'd like to have an apology intro to let the user know the order cannot be completed at the moment ..

And so on

With the order status notification template being 1 for them all, this seems difficult to do without a case/condition code in the builder ?

Any thoughts ?
Thanks
Danny


Danny Malouin
BeNu - Digital success agency
benu.ca

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
6 years 5 months ago #281649

Hello,

You can have one email per status but it's not something documented since it requires to do some actions manually ; like created the emails with a specific name.
Just add the order status after the mail name, like

order_status_notification.shipped.html.php
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: 99
  • Thank you received: 3
6 years 5 months ago #281709

Hello,
I did the test with

order_status_notification.ATTENTE_VIREMENT.html.php
order_status_notification.ATTENTE_VIREMENT.text.php
order_status_notification.ATTENTE_VIREMENT.preload.php
and it does not work. Is there a particular format to adopt?

Thanks in advance
Nicolas


Joomla 3

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

  • Posts: 4519
  • Thank you received: 612
  • MODERATOR
6 years 5 months ago #281772

Hello,

I don't understand what you mean by "it does not work", can you detailed your results please ?
A suggestion, don't use capital letters.
Awaiting news from you.

Regards

Last edit: 6 years 5 months ago by Philip.

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

  • Posts: 99
  • Thank you received: 3
6 years 5 months ago #281833

Hello,

If I use the command status name "ATTENTE_VIREMENT" that I write in uppercase because I have saved it like this so that it is substituted according to the language, it is the stantard mail (order_status_notification.html.php) that is sent. I will try in lowercase.

thank you very much

Nicolas


Joomla 3
Last edit: 6 years 5 months ago by nilegoff.

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
6 years 5 months ago #281841

Hello,

We are talking about the order status namekey ; not the name.
And a namekey can't be in uppercase.
The email override is just working for the html/text version, not for the preload.

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