Skip to main content

Order status notification email customization

More
8 years 5 months ago #291827 by Ads_Polska
-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.7
-- PHP version -- : 5.6
-- Browser(s) name and version -- : Chrome newest

Hello,
I am using HikaShop Business 3.4.0.
How can i add a custom field to notification email. I mean that in the backend i modify the order and add a tracking number when the parcel is shipped. And i would like to have this tracking number attached in the email when i change the order status into "shipped".
I know that i have to edit order_status_notification_html.php but i have no idea how can i acces that specific custom field.

Thanks in advance

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

More
8 years 5 months ago #291829 by nicolas
Hi,

No, there is no need for that.
There are email dislay settings in the custom field. Make sure that they are activated and you shoudl see the custom field value automatically in the emails.

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

More
8 years 5 months ago #291852 by Ads_Polska
Thank You, I didn't notice that there was a such option. But that doesn't solve my issue, because i'd like to have this custom field shown just below the status title - like below:

Twoje zamówienie
Status Twojego zamówienia nr B3P6 został zmieniony na wysłane
Tracking Number: : 18035996393

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

More
8 years 5 months ago #291854 by nicolas
Hi,

Well, you'll have to edit the email via the menu System>Emails, and in the HTML version, you want to add such tag:
{VAR:order.xxxxx}
where xxxxx is the column name of the custom field.
That way, you can place the value of the custom field exactly where you want in the email.

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

More
8 years 5 months ago - 8 years 5 months ago #291919 by Ads_Polska
Thank You, now it works great :)
Topic can be closed
Last edit: 8 years 5 months ago by Ads_Polska.

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

Time to create page: 0.165 seconds
Powered by Kunena Forum