Order Status Notification Email Subject Line
7 years 6 months ago #305315
by danpoole
HikaShop: v.2.5.0
Joomla: v.3.4.3
Order Status Notification Email Subject Line was created by danpoole
-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.9.3
-- PHP version -- : 7.2.16
Hi, is it possible to add the dame of the person that made the order to appear in the Order Status Notification Email Subject Line. Currently it is "ORDER_STATUS_NOTIFICATION_SUBJECT". I would like it to be something like "{TXT:ORDER_NAME} - ORDER_STATUS_NOTIFICATION_SUBJECT".
Is this possible and if so what would I use?
-- Joomla version -- : 3.9.3
-- PHP version -- : 7.2.16
Hi, is it possible to add the dame of the person that made the order to appear in the Order Status Notification Email Subject Line. Currently it is "ORDER_STATUS_NOTIFICATION_SUBJECT". I would like it to be something like "{TXT:ORDER_NAME} - ORDER_STATUS_NOTIFICATION_SUBJECT".
Is this possible and if so what would I use?
HikaShop: v.2.5.0
Joomla: v.3.4.3
Please Log in or Create an account to join the conversation.
7 years 6 months ago #305319
by nicolas
Replied by nicolas on topic Order Status Notification Email Subject Line
Hi,
Yes, you want to use the tag {customer.name} and that will use the name from the Joomla user account.
If you want the name entered in the billing address (since customer.name won't work for guest checkout as there is no user account), you can use {billing_address.address_firstname} {billing_address.address_lastname}
Yes, you want to use the tag {customer.name} and that will use the name from the Joomla user account.
If you want the name entered in the billing address (since customer.name won't work for guest checkout as there is no user account), you can use {billing_address.address_firstname} {billing_address.address_lastname}
Please Log in or Create an account to join the conversation.
7 years 6 months ago #305364
by danpoole
HikaShop: v.2.5.0
Joomla: v.3.4.3
Replied by danpoole on topic Order Status Notification Email Subject Line
Thank you for that it worked for the name but when I add this line
{billing_address.address_firstname} {billing_address.address_lastname}: ORDER_CREATION_NOTIFICATION_SUBJECT
The email subject line comes up like the following...
Danny Poole: ORDER_CREATION_NOTIFICATION_SUBJECT
It is not converting the language, is there something I have to add to "ORDER_CREATION_NOTIFICATION_SUBJECT" to make it translate?
{billing_address.address_firstname} {billing_address.address_lastname}: ORDER_CREATION_NOTIFICATION_SUBJECT
The email subject line comes up like the following...
Danny Poole: ORDER_CREATION_NOTIFICATION_SUBJECT
It is not converting the language, is there something I have to add to "ORDER_CREATION_NOTIFICATION_SUBJECT" to make it translate?
HikaShop: v.2.5.0
Joomla: v.3.4.3
Please Log in or Create an account to join the conversation.
7 years 6 months ago #305375
by nicolas
Replied by nicolas on topic Order Status Notification Email Subject Line
Hi,
You should not add the tags directly in the subject of the email and you should leave the subject ORDER_CREATION_NOTIFICATION_SUBJECT. Instead, you want to do a translation override of that translation key ( www.hikashop.com/download/languages.html#modify ) and add the tags in the translation override. That way, it will work like you want.
You should not add the tags directly in the subject of the email and you should leave the subject ORDER_CREATION_NOTIFICATION_SUBJECT. Instead, you want to do a translation override of that translation key ( www.hikashop.com/download/languages.html#modify ) and add the tags in the translation override. That way, it will work like you want.
Please Log in or Create an account to join the conversation.
7 years 6 months ago #305427
by danpoole
HikaShop: v.2.5.0
Joomla: v.3.4.3
Replied by danpoole on topic Order Status Notification Email Subject Line
Perfect, thanks, loving the Hikashop logical mind.
HikaShop: v.2.5.0
Joomla: v.3.4.3
Please Log in or Create an account to join the conversation.
7 years 5 months ago #305993
by danpoole
HikaShop: v.2.5.0
Joomla: v.3.4.3
Replied by danpoole on topic Order Status Notification Email Subject Line
One more thing, now my client want me to add the details from a custom field, I tried the following but it didn't work.
{user.studentfirstname} {user.studentlastname}: Your order No. %s is now %s at %s
{user.studentfirstname} {user.studentlastname}: Your order No. %s is now %s at %s
HikaShop: v.2.5.0
Joomla: v.3.4.3
Please Log in or Create an account to join the conversation.
7 years 5 months ago #305997
by nicolas
Replied by nicolas on topic Order Status Notification Email Subject Line
Hi,
Supposing that it is a custom field of the table user, you'll want to use the tag: {customer.studentfirstname}
Supposing that it is a custom field of the table user, you'll want to use the tag: {customer.studentfirstname}
Please Log in or Create an account to join the conversation.
Time to create page: 0.276 seconds