Author Topic: add shopper group name to the email subject  (Read 861 times)

6.522

  • Beginner
  • *
  • Posts: 21
  • A beginner
add shopper group name to the email subject
« on: January 25, 2017, 21:47:53 pm »
Hi, I need to add shopper group name to the subject of notification message that is sent via email to the vendor after creating an order.

I've located the the following line in view.html.php (components\com_virtuemart\views\invoice) which i belive is responsible for generating the content of the subject

Code: [Select]
$this->subject = JText::sprintf('COM_VIRTUEMART_MAIL_SUBJ_VENDOR_'.$orderDetails['details']['BT']->order_status, $this->shopperName, strip_tags($currency->priceDisplay($orderDetails['details']['BT']->order_total, $currency)), $orderDetails['details']['BT']->order_number);
I've tried some editing ($this->shopper_group_name, $group->shopper_group_name etc..) but with no luck ;) please help :)

VirtueMart 2.6.22
Joomla! 2.5.28

6.522

  • Beginner
  • *
  • Posts: 21
  • A beginner
Re: add shopper group name to the email subject
« Reply #1 on: January 31, 2017, 13:14:45 pm »
anyone? :)