- Posts: 7
- Thank you received: 2
customize email order status by products ORDER_STATUS_NOTIFICATION_SUBJECT
5 years 9 months ago #328364
by asafbd
-- HikaShop version -- : 4.4.0
-- Joomla version -- : Joomla! 3.9.18
-- PHP version -- : 7.3
Hi,
for a very specific product i have, i would like to modify the email subject sent on order notification.
I have customized the email template to do this and it works fine, but cannot see the option to override the email subject by a similar condition.
perhaps i can add a parameter to the language string ?
ORDER_STATUS_NOTIFICATION_SUBJECT
Would like your help and guidance
Thanks
-- Joomla version -- : Joomla! 3.9.18
-- PHP version -- : 7.3
Hi,
for a very specific product i have, i would like to modify the email subject sent on order notification.
I have customized the email template to do this and it works fine, but cannot see the option to override the email subject by a similar condition.
perhaps i can add a parameter to the language string ?
ORDER_STATUS_NOTIFICATION_SUBJECT
Would like your help and guidance
Thanks
Please Log in or Create an account to join the conversation.
5 years 9 months ago #328492
by nicolas
Replied by nicolas on topic customize email order status by products ORDER_STATUS_NOTIFICATION_SUBJECT
Hi,
To override the email subject with code, you can use such code in the preload section of the email:
To override the email subject with code, you can use such code in the preload section of the email:
Code:
<?php $mail->subject = 'The subject I want'; ?>
Please Log in or Create an account to join the conversation.
5 years 8 months ago #328501
by asafbd
Replied by asafbd on topic customize email order status by products ORDER_STATUS_NOTIFICATION_SUBJECT
Thanks
Please Log in or Create an account to join the conversation.
Time to create page: 0.100 seconds