Skip to main content

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

More
7 years 9 months ago #301665 by razlie
-- 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

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

More
7 years 9 months ago #301684 by Jerome
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.

More
7 years 9 months ago #301691 by razlie
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.

More
7 years 9 months ago #301696 by Jerome
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.172 seconds
Powered by Kunena Forum