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

#   Add vendor name in order status notification email

##

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

Less More

- Posts: 424
- Thank you received: 11
-
-

5 years 7 months ago [\#331617](#331617) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  Replied by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")* on topic *[Add vendor name in order status notification email](/forum/4-how-to/899787-add-vendor-name-in-order-status-notification-email?start=20#331617 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.2.26  Hello,  is it possible to add the vendor name of the order in the order status notification email?  I know that is possible the email under System - Email - Notification order status but I don&#96;t find the tag for this.  P.S. I don&#96;t know if change something, but I limited the number of the vendors in the carriage to one  Thank you for your support")*

HI Nicolas,

1. The pdf is an example of the email i get in my inbox not generated by the invoice plugin. Sorry for my bad explaination.
The issue is that in the e-mail in the subject line no order number is displayed aswell as in the e-mail itself.
2. attached the history sorry did not understand that right.  [ ![screenshot-06.bluepoint-concept.nl-2021.04.09-09&#95;38&#95;45.png](/forum/attachment/52466) ](/forum/attachment/52466 "...9-09&#95;38&#95;45.png")

3. i will make the change and see how it goes keep you posted.. ![:)](/media/kunena/emoticons/3.png ":)")
Thanks

- [ ![screenshot-06.bluepoint-concept.nl-2021.04.09-09&#95;38&#95;45.png](/forum/attachment/52466) ](/forum/attachment/52466 "...9-09&#95;38&#95;45.png") [ ](/forum/attachment/52466?download=1 "...9-09&#95;38&#95;45.png")

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

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

Less More

- Posts: 424
- Thank you received: 11
-
-

5 years 7 months ago [\#331635](#331635) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  Replied by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")* on topic *[Add vendor name in order status notification email](/forum/4-how-to/899787-add-vendor-name-in-order-status-notification-email?start=20#331635 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.2.26  Hello,  is it possible to add the vendor name of the order in the order status notification email?  I know that is possible the email under System - Email - Notification order status but I don&#96;t find the tag for this.  P.S. I don&#96;t know if change something, but I limited the number of the vendors in the carriage to one  Thank you for your support")*

Hi,
Changed the line in what you said and now i get this error:
Too few arguments to function hikamarketOrderClass::getVendorIdFromOrderProducts(), 1 passed in /home/bluepointconcept/06.bluepoint-concept.nl/media/com_hikashop/mail/order_status_notification.confirmed.html.php on line 13 and exactly 2 expected
I can not figure out which agrument is missing.. 1 is passed but now the second.. ![:)](/media/kunena/emoticons/3.png ":)")
THanks

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14296
-
-

5 years 7 months ago [\#331643](#331643) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add vendor name in order status notification email](/forum/4-how-to/899787-add-vendor-name-in-order-status-notification-email?start=20#331643 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.2.26  Hello,  is it possible to add the vendor name of the order in the order status notification email?  I know that is possible the email under System - Email - Notification order status but I don&#96;t find the tag for this.  P.S. I don&#96;t know if change something, but I limited the number of the vendors in the carriage to one  Thank you for your support")*

Hi,

Ah yes, my bad. You need to change the line:
$vendorId = $orderClass-&gt;getVendorIdFromOrderProducts($data-&gt;cart);
to:
$first = reset($data-&gt;cart-&gt;products);
$vendorId = $orderClass-&gt;getVendorIdFromOrderProducts($first-&gt;order_product_id, $data-&gt;cart);

Regarding the order number, thanks for the screenshot. All I can think of is that it comes from the customization of the email which might be based on an old version of HikaShop leading to the problem. In the System&gt;Emails menu, copy/paste the customizations you have made to the order status notification HTML and preload section in a text file on your local computer and then delete the customizations on the email. Then, please try again an order and see if it's still missing the order number. If not, it would confirm that it comes from the customizations. So then, you can reapply them but little by little and test each time, to see which change is creating the issue.
If it doesn't come from the customization of the emails, you can copy/paste back your customizations. Now, you said that this started after updating. Could you tell us more about it ? Which extension did you update ? HikaShop only ? HikaMarket only ? Both ? And which version did you have before ? Also, could you provide a backend access so that we could check your HikaShop and HikaMarket settings as well as check the situation for an order with the issue ? If so, please provide that via our contact form along with a link to this thread for reference :
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

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

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

Less More

- Posts: 424
- Thank you received: 11
-
-

5 years 6 months ago [\#331861](#331861) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  Replied by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")* on topic *[Add vendor name in order status notification email](/forum/4-how-to/899787-add-vendor-name-in-order-status-notification-email?start=20#331861 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.2.26  Hello,  is it possible to add the vendor name of the order in the order status notification email?  I know that is possible the email under System - Email - Notification order status but I don&#96;t find the tag for this.  P.S. I don&#96;t know if change something, but I limited the number of the vendors in the carriage to one  Thank you for your support")*

this works fine.. thanks..

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

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

Less More

- Posts: 152
- Thank you received: 11
-
-

4 years 2 months ago -  4 years 2 months ago [\#344154](#344154) by [gerryna09](/forum/user/52735-gerryna09 "View gerryna09's Profile")  Replied by *[gerryna09](/forum/user/52735-gerryna09 "View gerryna09's Profile")* on topic *[Add vendor name in order status notification email](/forum/4-how-to/899787-add-vendor-name-in-order-status-notification-email?start=20#344154 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.2.26  Hello,  is it possible to add the vendor name of the order in the order status notification email?  I know that is possible the email under System - Email - Notification order status but I don&#96;t find the tag for this.  P.S. I don&#96;t know if change something, but I limited the number of the vendors in the carriage to one  Thank you for your support")*

This modification is very useful.

Nicolas why do you not enter DISPLAY: MAIL in the fields present in Display&gt; Custom fields&gt; Vendor as for the fields included in Display&gt; Custom fields&gt; Order ??

This would make HikaMarket even more complete ![;-)](/media/kunena/emoticons/24.png ";-)")

[ ![mail.jpg](/forum/attachment/55415) ](/forum/attachment/55415 "mail.jpg")

- [ ![mail.jpg](/forum/attachment/55415) ](/forum/attachment/55415 "mail.jpg") [ ](/forum/attachment/55415?download=1 "mail.jpg")

Last edit: 4 years 2 months ago by [gerryna09](/forum/user/52735-gerryna09 "View gerryna09's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg5OTc4Ny1hZGQtdmVuZG9yLW5hbWUtaW4tb3JkZXItc3RhdHVzLW5vdGlmaWNhdGlvbi1lbWFpbD9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) 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: 26395
- Thank you received: 4077
-
- [](http://obsi.dev)
-

4 years 2 months ago [\#344166](#344166) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Add vendor name in order status notification email](/forum/4-how-to/899787-add-vendor-name-in-order-status-notification-email?start=20#344166 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.2.26  Hello,  is it possible to add the vendor name of the order in the order status notification email?  I know that is possible the email under System - Email - Notification order status but I don&#96;t find the tag for this.  P.S. I don&#96;t know if change something, but I limited the number of the vendors in the carriage to one  Thank you for your support")*

Hello,

Can you please provide more details regarding your feature request ?

Regards,

---

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

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

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

Less More

- Posts: 152
- Thank you received: 11
-
-

4 years 2 months ago [\#344189](#344189) by [gerryna09](/forum/user/52735-gerryna09 "View gerryna09's Profile")  Replied by *[gerryna09](/forum/user/52735-gerryna09 "View gerryna09's Profile")* on topic *[Add vendor name in order status notification email](/forum/4-how-to/899787-add-vendor-name-in-order-status-notification-email?start=20#344189 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.2.26  Hello,  is it possible to add the vendor name of the order in the order status notification email?  I know that is possible the email under System - Email - Notification order status but I don&#96;t find the tag for this.  P.S. I don&#96;t know if change something, but I limited the number of the vendors in the carriage to one  Thank you for your support")*

This option displays the seller's name in the email that arrives to the customer

It would be very useful to be able to display in the email also the fields present in Display&gt; Custom fields&gt; Vendor being able to choose directly in the field (as already happens in the fields present Display&gt; Custom fields&gt; Order where there is the DISPLAY: MAIL item)

[ ![aaaaaaaaaaa.jpg](/forum/attachment/55417) ](/forum/attachment/55417 "aaaaaaaaaaa.jpg")

- [ ![aaaaaaaaaaa.jpg](/forum/attachment/55417) ](/forum/attachment/55417 "aaaaaaaaaaa.jpg") [ ](/forum/attachment/55417?download=1 "aaaaaaaaaaa.jpg")

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

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

Less More

- Posts: 152
- Thank you received: 11
-
-

3 years 5 months ago [\#351725](#351725) by [gerryna09](/forum/user/52735-gerryna09 "View gerryna09's Profile")  Replied by *[gerryna09](/forum/user/52735-gerryna09 "View gerryna09's Profile")* on topic *[Add vendor name in order status notification email](/forum/4-how-to/899787-add-vendor-name-in-order-status-notification-email?start=20#351725 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.2.26  Hello,  is it possible to add the vendor name of the order in the order status notification email?  I know that is possible the email under System - Email - Notification order status but I don&#96;t find the tag for this.  P.S. I don&#96;t know if change something, but I limited the number of the vendors in the carriage to one  Thank you for your support")*

[strike]private[/strike] function getVendorIdFromOrderProducts($order_product_id, &amp;$order) {
**public** function getVendorIdFromOrderProducts($order_product_id, &amp;$order) {

Is there another solution using an override?

To avoid having to edit administrator/components/com_hikamarket/classes/order.php at each HikaMarket update

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg5OTc4Ny1hZGQtdmVuZG9yLW5hbWUtaW4tb3JkZXItc3RhdHVzLW5vdGlmaWNhdGlvbi1lbWFpbD9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) 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: 26395
- Thank you received: 4077
-
- [](http://obsi.dev)
-

3 years 5 months ago [\#351727](#351727) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Add vendor name in order status notification email](/forum/4-how-to/899787-add-vendor-name-in-order-status-notification-email?start=20#351727 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.2.26  Hello,  is it possible to add the vendor name of the order in the order status notification email?  I know that is possible the email under System - Email - Notification order status but I don&#96;t find the tag for this.  P.S. I don&#96;t know if change something, but I limited the number of the vendors in the carriage to one  Thank you for your support")*

Hello,

No, because you have the HikaMarket mail class and the function "processOrdernotificationTemplate" which modify the email content and add the vendor ID for each product in the cart.
So, the stuff is already done.

Regards,

PS : Please don't open/update multiple thread for the same question.

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg5OTc4Ny1hZGQtdmVuZG9yLW5hbWUtaW4tb3JkZXItc3RhdHVzLW5vdGlmaWNhdGlvbi1lbWFpbD9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) 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?

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

Time to create page: 0.067 seconds

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