- Posts: 71
- Thank you received: 0
Custom Subject email in orders in a category
12 years 5 months ago #151067
by vaughan
Custom Subject email in orders in a category was created by vaughan
-- url of the page with the problem -- :
www.wpb.es
-- HikaShop version -- : 2.2.3
-- Joomla version -- : 3.1
-- PHP version -- : 5.4
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message
Hi
It's possible to do a custom subject email in ORDER_ADMIN_NOTIFICATION_SUBJECT in the order of a especific category?
I have 3 categories: a, b, c with some product in each category, I want when a customer create a order in category "C" send an email with a custom subject (different subject for orders in category a b)
Thanks
Regards
-- HikaShop version -- : 2.2.3
-- Joomla version -- : 3.1
-- PHP version -- : 5.4
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message
Hi
It's possible to do a custom subject email in ORDER_ADMIN_NOTIFICATION_SUBJECT in the order of a especific category?
I have 3 categories: a, b, c with some product in each category, I want when a customer create a order in category "C" send an email with a custom subject (different subject for orders in category a b)
Thanks
Regards
Please Log in or Create an account to join the conversation.
12 years 5 months ago #151289
by Xavier
Replied by Xavier on topic Custom Subject email in orders in a category
Hi,
Thanks to try to add the following code in the mail "order_admin_notification" via the menu System > Mail:
Thanks to try to add the following code in the mail "order_admin_notification" via the menu System > Mail:
Code:
<?php
$mail->subject = 'Your subject';
?>
Please Log in or Create an account to join the conversation.
Time to create page: 0.139 seconds