[Skip to main content](#vessel-content)

#   Vendor Order Notification Emails

##

- **[bearingsnorth](/forum/user/31023-bearingsnorth "View bearingsnorth's Profile")**
- [![bearingsnorth's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31023-bearingsnorth "View bearingsnorth's Profile") Topic Author
- [ Offline](/forum/user/31023-bearingsnorth)

Less More

- Posts: 10
- Thank you received: 0
-
-

12 years 8 months ago [\#148600](#148600) by [bearingsnorth](/forum/user/31023-bearingsnorth "View bearingsnorth's Profile")  *[Vendor Order Notification Emails](/forum/19-hikamarket/866703-vendor-order-notification-emails#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...")* was created by *[bearingsnorth](/forum/user/31023-bearingsnorth "View bearingsnorth's Profile")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODY2NzAzLXZlbmRvci1vcmRlci1ub3RpZmljYXRpb24tZW1haWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 8 months ago [\#148601](#148601) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Vendor Order Notification Emails](/forum/19-hikamarket/866703-vendor-order-notification-emails#148601 "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...")*

Hi,

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

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODY2NzAzLXZlbmRvci1vcmRlci1ub3RpZmljYXRpb24tZW1haWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bearingsnorth](/forum/user/31023-bearingsnorth "View bearingsnorth's Profile")**
- [![bearingsnorth's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31023-bearingsnorth "View bearingsnorth's Profile") Topic Author
- [ Offline](/forum/user/31023-bearingsnorth)

Less More

- Posts: 10
- Thank you received: 0
-
-

12 years 8 months ago [\#148605](#148605) by [bearingsnorth](/forum/user/31023-bearingsnorth "View bearingsnorth's Profile")  Replied by *[bearingsnorth](/forum/user/31023-bearingsnorth "View bearingsnorth's Profile")* on topic *[Vendor Order Notification Emails](/forum/19-hikamarket/866703-vendor-order-notification-emails#148605 "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...")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODY2NzAzLXZlbmRvci1vcmRlci1ub3RpZmljYXRpb24tZW1haWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 8 months ago [\#148661](#148661) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Vendor Order Notification Emails](/forum/19-hikamarket/866703-vendor-order-notification-emails#148661 "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...")*

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-&gt;usermsg-&gt;usermsg)) $texts['ORDER_CHANGED'] = $data-&gt;usermsg-&gt;usermsg;

By: Code:

if(!empty($data-&gt;usermsg-&gt;usermsg)) $texts['ORDER_CHANGED'] = $data-&gt;usermsg-&gt;usermsg; $mail-&gt;subject = $vendor_name . ': ' . $data-&gt;order-&gt;order_number;

And you should have the wanted result.

Regards,

---

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

The following user(s) said Thank You: [bearingsnorth](/forum/user/31023-bearingsnorth "View bearingsnorth's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODY2NzAzLXZlbmRvci1vcmRlci1ub3RpZmljYXRpb24tZW1haWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bearingsnorth](/forum/user/31023-bearingsnorth "View bearingsnorth's Profile")**
- [![bearingsnorth's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31023-bearingsnorth "View bearingsnorth's Profile") Topic Author
- [ Offline](/forum/user/31023-bearingsnorth)

Less More

- Posts: 10
- Thank you received: 0
-
-

12 years 8 months ago [\#148729](#148729) by [bearingsnorth](/forum/user/31023-bearingsnorth "View bearingsnorth's Profile")  Replied by *[bearingsnorth](/forum/user/31023-bearingsnorth "View bearingsnorth's Profile")* on topic *[Vendor Order Notification Emails](/forum/19-hikamarket/866703-vendor-order-notification-emails#148729 "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...")*

Works great. Thanks for the quick help!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODY2NzAzLXZlbmRvci1vcmRlci1ub3RpZmljYXRpb24tZW1haWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.057 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
