Change what %s returns in emails

  • Posts: 76
  • Thank you received: 4
  • Hikashop Business
11 years 7 months ago #97754

Hi,
I've recently bought the business version and want to change what it says in the order confirmation email.

The first line of text in the language file is this:

"We are pleased to confirm the creation of your order No. %s at %s on the %s at %s"

OK and I understand that the first %s returns the order number and the second %s returns the website url, the third the date and the fourth the time. And I understand that the order is probably due to coding in that each subsequent %s returns the correct result.

My problem is that I want to keep the order number, and I don't mind having the date and time, but I want to change the url to the business name.

I can't just delete the relevant %s and replace it with the business name as the second %s always returns the url and so the sentence then doesn't make sense.

The question is therefore: how/where do I change the %s that returns the url to return the business name?

If anyone can point me in the right direction I would be grateful.

Thanks

Dunxmax


DunxMax

The more we learn the less we know.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 7 months ago #97834

Hi,

If it's always the same business name, you can replace it directly in the language override and remove the date and time informations, like:
"We are pleased to confirm the creation of your order No. %s at business name"

Else the text key is in the mail "order creation notification" which can be edited from the menu System > Mails
The text key is ORDER_CREATION_SUCCESS_ON_WEBSITE_AT_DATE

Last edit: 11 years 7 months ago by Xavier.

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

Time to create page: 0.065 seconds
Powered by Kunena Forum