customize email order status by products ORDER_STATUS_NOTIFICATION_SUBJECT

  • Posts: 7
  • Thank you received: 2
  • Hikashop Business
1 year 4 months ago #328364

-- 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

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

  • Posts: 75475
  • Thank you received: 11742
  • MODERATOR
1 year 3 months ago #328492

Hi,

To override the email subject with code, you can use such code in the preload section of the email:

<?php $mail->subject = 'The subject I want'; ?>

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

  • Posts: 7
  • Thank you received: 2
  • Hikashop Business
1 year 3 months ago #328501

Thanks

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

Time to create page: 0.061 seconds
Powered by Kunena Forum