email order number

  • Posts: 140
  • Thank you received: 0
10 years 3 months ago #188291

-- url of the page with the problem -- : ce4rt.com
-- HikaShop version -- : current

For some reason, the order number is not showing up in ORDER_STATUS_NOTIFICATION_SUBJECT email.
Not in the subject of the email or in the body.
It just says

The status of your order No. has been changed to Confirmed.

with no number.

It's like the number variable isn't loading.

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

  • Posts: 2143
  • Thank you received: 747
10 years 3 months ago #188304

Hi,

Perhaps a variable "got lost" in your language files?
Did you do a language override, or change anything directly in the language file en-GB.com_hikashop.ini?

Please double-check - the strings should be as follows (taken from the original English language file):

ORDER_STATUS_NOTIFICATION_SUBJECT="Your order No. %s is now %s at %s"
ORDER_STATUS_CHANGED_TO="The status of your order No. %s has been changed to %s."
Make sure the variables "%s" are there.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 140
  • Thank you received: 0
10 years 3 months ago #188390

I tried removing the language overrides. The language files are original.
I tried putting {VAR:ORDER_NUMBER} in the email but still nothing shows up there, I do get {TXT:ORDER_NUMBER} output = Order number

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

  • Posts: 26235
  • Thank you received: 4036
  • MODERATOR
10 years 3 months ago #188404

Hi,

You can use

{VAR:order.order_number}
It will use the object approach for the VAR tags.

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: 140
  • Thank you received: 0
10 years 3 months ago #188584

That works. Thanks

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

Time to create page: 0.073 seconds
Powered by Kunena Forum