Skip to main content

Vendor Order Notification Emails

More
12 years 6 months ago #148600 by bearingsnorth
In a multi-vendor store I need to include a unique code in the email subject line or order number so that each vendor sees their code on the email subject or order number. Example: if an order has products from two vendors, the sub order numbers or email subject lines should be something like "VENDOR_A: ORDER NUMBER" and "VENDOR_B: ORDER NUMBER". Any ideas?

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

More
12 years 6 months ago #148601 by Jerome
Hi,

In which email exactly do you want to put the custom subject ?

Regards,

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

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

More
12 years 6 months ago #148605 by bearingsnorth
The order status email (the one that typically goes to each vendor). Default text begins with "The status of your order No. S16 has been changed to confirmed." Thanks...

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

More
12 years 6 months ago #148661 by Jerome
Hi,

While editing the email "Market: Order status notification", you can change the subject of the email in the "preload" part.
You can replace
Code:
if(!empty($data->usermsg->usermsg)) $texts['ORDER_CHANGED'] = $data->usermsg->usermsg;
By:
Code:
if(!empty($data->usermsg->usermsg)) $texts['ORDER_CHANGED'] = $data->usermsg->usermsg; $mail->subject = $vendor_name . ': ' . $data->order->order_number;
And you should have the wanted result.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: bearingsnorth

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

More
12 years 6 months ago #148729 by bearingsnorth
Works great. Thanks for the quick help!!

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

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