Custom Subject email in orders in a category

  • Posts: 71
  • Thank you received: 0
10 years 7 months ago #151067

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

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

  • Posts: 13201
  • Thank you received: 2322
10 years 7 months ago #151289

Hi,

Thanks to try to add the following code in the mail "order_admin_notification" via the menu System > Mail:

<?php
$mail->subject = 'Your subject';
?>

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

Time to create page: 0.061 seconds
Powered by Kunena Forum