Vendor Order Notification Emails

  • Posts: 10
  • Thank you received: 0
10 years 1 month ago #148600

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.

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
10 years 1 month ago #148601

Hi,

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

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: 10
  • Thank you received: 0
10 years 1 month ago #148605

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.

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
10 years 1 month ago #148661

Hi,

While editing the email "Market: Order status notification", you can change the subject of the email in the "preload" part.
You can replace

if(!empty($data->usermsg->usermsg))
  $texts['ORDER_CHANGED'] = $data->usermsg->usermsg;
By:
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.

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.
The following user(s) said Thank You: bearingsnorth

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

  • Posts: 10
  • Thank you received: 0
10 years 1 month ago #148729

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.060 seconds
Powered by Kunena Forum