How to add CC/BCC email when change status in vendor process

  • Posts: 14
  • Thank you received: 1
8 months 3 days ago #301665

-- HikaMarket version -- : 3.0.0
-- Joomla version -- : 3.8
-- PHP version -- : 5.7
-- Browser(s) name and version -- : Chrome

Hi,
I would like to have a CC email to vendor account aswell when notifying customer with the order..Is there anywhere I can add code or add custome field anywhere. Please refer to the attachment

Attachments:

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

  • Posts: 23610
  • Thank you received: 3666
  • MODERATOR
8 months 3 days ago #301684

Hello,

You can use a view override to add your field in the form.
The idea is to use a field name "data[mail][param][...]" so the field value would be available within the email "user_order_notification" of HikaMarket.
Then, with an email override, you can add some content into the "preload" part to react to that parameter and add the vendor email as CC.
In the HikaMarket (and HikaShop) email you have access to the mailer object so you can interact with it as you want.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 14
  • Thank you received: 1
8 months 3 days ago #301691

Hi Jerome,
Which file do i need to change for the preload part.. Can you point to be the files to add the code ?

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

  • Posts: 23610
  • Thank you received: 3666
  • MODERATOR
8 months 3 days ago #301696

Hello,

Here the HikaShop document regarding the email edition.
www.hikashop.com/support/documentation/1...shop-email-form.html
The documentation is talking about the HTML and the Text part of the email but there is a third one, the preload.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Moderators: Obsidev
Time to create page: 0.059 seconds
Powered by Kunena Forum