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

#   Order notification at status confirmed and paid.

##

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

Less More

- Posts: 261
- Thank you received: 5
-
-

13 years 5 months ago -  13 years 5 months ago [\#106255](#106255) by [Sjaak](/forum/user/1566-sjaak "View Sjaak's Profile")  *[Order notification at status confirmed and paid.](/forum/23-market-how-to/82905-order-notification-at-status-confirmed-and-paid#106255 "Hello'  Today I discovered that my vendors receive an ordernotification when an order is created. One of my vendors reacted immediately to this notification. The fact is that this order still is not confirmed and paid.  I want my vendors to receive a notification AFTER the order is confirmed AND paid to avoid disappointment and discussions about orders.  Is that possible?  Thanks  Sjaak")* was created by *[Sjaak](/forum/user/1566-sjaak "View Sjaak's Profile")*

Hello'

Today I discovered that my vendors receive an ordernotification when an order is created. One of my vendors reacted immediately to this notification. The fact is that this order still is not confirmed and paid.

I want my vendors to receive a notification AFTER the order is confirmed AND paid to avoid disappointment and discussions about orders.

Is that possible?

Thanks

Sjaak

Last edit: 13 years 5 months ago by [Sjaak](/forum/user/1566-sjaak "View Sjaak's Profile").

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

13 years 5 months ago [\#106304](#106304) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Order notification at status confirmed and paid.](/forum/23-market-how-to/82905-order-notification-at-status-confirmed-and-paid#106304 "Hello'  Today I discovered that my vendors receive an ordernotification when an order is created. One of my vendors reacted immediately to this notification. The fact is that this order still is not confirmed and paid.  I want my vendors to receive a notification AFTER the order is confirmed AND paid to avoid disappointment and discussions about orders.  Is that possible?  Thanks  Sjaak")*

Hi,

You have to unpublish the "Order administrator notification" to not send the notification at the order creation.
HikaShop does not send an email to the administrator when an order is confirmed (but there is the payment notification which is sent by the payment plugin itself).
We will see to add new order notifications for the administrator which will be filtered by HikaMarket for the sub-orders.

It is already possible to add a little check in the HikaMarket mail class (in the function "processOrderEmail") in order to not send the "admin order notification" is the order does not have a right status but, if HikaShop does not send an email when an order is confirmed, the vendor can't receive it.

Regards,

---

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

The following user(s) said Thank You: [Sjaak](/forum/user/1566-sjaak "View Sjaak's Profile")

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

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

Less More

- Posts: 261
- Thank you received: 5
-
-

13 years 5 months ago [\#106315](#106315) by [Sjaak](/forum/user/1566-sjaak "View Sjaak's Profile")  Replied by *[Sjaak](/forum/user/1566-sjaak "View Sjaak's Profile")* on topic *[Order notification at status confirmed and paid.](/forum/23-market-how-to/82905-order-notification-at-status-confirmed-and-paid#106315 "Hello'  Today I discovered that my vendors receive an ordernotification when an order is created. One of my vendors reacted immediately to this notification. The fact is that this order still is not confirmed and paid.  I want my vendors to receive a notification AFTER the order is confirmed AND paid to avoid disappointment and discussions about orders.  Is that possible?  Thanks  Sjaak")*

Thanks for your answer Jerome.
I can live with the idea that vendors don't receive an email at order creation (for now). The payment notification should do the job then.
It took me some searching to find this feature but I found it.

It would indeed be good to refine this process some more in the future.

Sjaak

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

13 years 5 months ago [\#106463](#106463) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Order notification at status confirmed and paid.](/forum/23-market-how-to/82905-order-notification-at-status-confirmed-and-paid#106463 "Hello'  Today I discovered that my vendors receive an ordernotification when an order is created. One of my vendors reacted immediately to this notification. The fact is that this order still is not confirmed and paid.  I want my vendors to receive a notification AFTER the order is confirmed AND paid to avoid disappointment and discussions about orders.  Is that possible?  Thanks  Sjaak")*

Hi,

We are working on improvements for emails.

For the moment, you can add a new filter for orders, like I said in my previous post.
You can edit the HikaMarket mail class (administrator/com_hikamarket/classes/mail.php) and replace Code:

$vendor_id = 0; if(!empty($mail-&gt;data-&gt;old-&gt;order_vendor_id)) $vendor_id = (int)$mail-&gt;data-&gt;old-&gt;order_vendor_id; if(!empty($mail-&gt;data-&gt;order_vendor_id)) $vendor_id = (int)$mail-&gt;data-&gt;order_vendor_id; if($supportEmail == 0 &#124;&#124; $vendor_id == 0) { $do = false; return; }

By: Code:

$vendor_id = 0; if(!empty($mail-&gt;data-&gt;old-&gt;order_vendor_id)) $vendor_id = (int)$mail-&gt;data-&gt;old-&gt;order_vendor_id; if(!empty($mail-&gt;data-&gt;order_vendor_id)) $vendor_id = (int)$mail-&gt;data-&gt;order_vendor_id; $order_status = 'created'; if(!empty($mail-&gt;data-&gt;old-&gt;order_status)) $order_status = $mail-&gt;data-&gt;old-&gt;order_status; if(!empty($mail-&gt;data-&gt;order_status)) $order_status = $mail-&gt;data-&gt;order_status; if($supportEmail == 0 &#124;&#124; $vendor_id == 0 &#124;&#124; $order_status == 'created') { $do = false; return; }

So the order status notification will not be sent when the order_status is "created".

Regards,

---

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

The following user(s) said Thank You: [Sjaak](/forum/user/1566-sjaak "View Sjaak's Profile")

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

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

Less More

- Posts: 261
- Thank you received: 5
-
-

13 years 5 months ago [\#106750](#106750) by [Sjaak](/forum/user/1566-sjaak "View Sjaak's Profile")  Replied by *[Sjaak](/forum/user/1566-sjaak "View Sjaak's Profile")* on topic *[Order notification at status confirmed and paid.](/forum/23-market-how-to/82905-order-notification-at-status-confirmed-and-paid#106750 "Hello'  Today I discovered that my vendors receive an ordernotification when an order is created. One of my vendors reacted immediately to this notification. The fact is that this order still is not confirmed and paid.  I want my vendors to receive a notification AFTER the order is confirmed AND paid to avoid disappointment and discussions about orders.  Is that possible?  Thanks  Sjaak")*

Thank you very much

Sjaak

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

- **[colpc](/forum/user/6409-colpc "View colpc's Profile")**
- [![colpc's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6409.gif)](/forum/user/6409-colpc "View colpc's Profile")
- [ Offline](/forum/user/6409-colpc)

Less More

- Posts: 77
- Thank you received: 3
-
-
-
-

13 years 3 months ago [\#118570](#118570) by [colpc](/forum/user/6409-colpc "View colpc's Profile")  Replied by *[colpc](/forum/user/6409-colpc "View colpc's Profile")* on topic *[Order notification at status confirmed and paid.](/forum/23-market-how-to/82905-order-notification-at-status-confirmed-and-paid#118570 "Hello'  Today I discovered that my vendors receive an ordernotification when an order is created. One of my vendors reacted immediately to this notification. The fact is that this order still is not confirmed and paid.  I want my vendors to receive a notification AFTER the order is confirmed AND paid to avoid disappointment and discussions about orders.  Is that possible?  Thanks  Sjaak")*

Hey Jerome,
We too have this same situation.
I just want to make sure I understand this post correctly,

If we edit this file with the code you provided, we than do PUBLISH the "Order administrator notification"
and these changes will prevent the CREATED from being sent? Now only sending when CONFIRMED?
OR did I miss something ?
If our vendor, get any other email other than AFTER product has been paid for, it will be very confusing to them and create
a mess.
Could you please just let us know if this is the best way for now ?

Thank YOU

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

13 years 3 months ago [\#118592](#118592) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Order notification at status confirmed and paid.](/forum/23-market-how-to/82905-order-notification-at-status-confirmed-and-paid#118592 "Hello'  Today I discovered that my vendors receive an ordernotification when an order is created. One of my vendors reacted immediately to this notification. The fact is that this order still is not confirmed and paid.  I want my vendors to receive a notification AFTER the order is confirmed AND paid to avoid disappointment and discussions about orders.  Is that possible?  Thanks  Sjaak")*

Hi,

The code provided exclude the "order vendor notification" when the order is created.
So the email is sent when the order is confirmed, cancelled, or shipped.
But you can modify the code in order to change it.

Regards,

---

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

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

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

Less More

- Posts: 56
- Thank you received: 0
-
-

13 years 3 months ago [\#119358](#119358) by [Lutya](/forum/user/23439-lutya "View Lutya's Profile")  Replied by *[Lutya](/forum/user/23439-lutya "View Lutya's Profile")* on topic *[Order notification at status confirmed and paid.](/forum/23-market-how-to/82905-order-notification-at-status-confirmed-and-paid#119358 "Hello'  Today I discovered that my vendors receive an ordernotification when an order is created. One of my vendors reacted immediately to this notification. The fact is that this order still is not confirmed and paid.  I want my vendors to receive a notification AFTER the order is confirmed AND paid to avoid disappointment and discussions about orders.  Is that possible?  Thanks  Sjaak")*

Hi Jerome,

I don't want my vendor to receive the created email and I tried to make your edit but can't seem to find the right code to replace. You said the file that needs to be changed is located here: administrator/com_hikamarket/classes/mail.php. However I can't find a file there.

I was able to find a file located administrator/***components***/com_hika***shop***/classes/mail.php. However, the code you suggest replacing does not appear in that file.

Is this an edit that can only be done for the paid version of hikashop?

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

13 years 3 months ago [\#119359](#119359) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Order notification at status confirmed and paid.](/forum/23-market-how-to/82905-order-notification-at-status-confirmed-and-paid#119359 "Hello'  Today I discovered that my vendors receive an ordernotification when an order is created. One of my vendors reacted immediately to this notification. The fact is that this order still is not confirmed and paid.  I want my vendors to receive a notification AFTER the order is confirmed AND paid to avoid disappointment and discussions about orders.  Is that possible?  Thanks  Sjaak")*

Hi,

Please see : [ www.hikashop.com/forum/22-market-bug-rep...d-hikama.html#111658](http://www.hikashop.com/forum/22-market-bug-report/84396-order-numbers-changing-between-hikashop-and-hikama.html#111658)

In the next version of HikaMarket it will have some options for these elements.

Regards,

---

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

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

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

Less More

- Posts: 56
- Thank you received: 0
-
-

13 years 3 months ago [\#119360](#119360) by [Lutya](/forum/user/23439-lutya "View Lutya's Profile")  Replied by *[Lutya](/forum/user/23439-lutya "View Lutya's Profile")* on topic *[Order notification at status confirmed and paid.](/forum/23-market-how-to/82905-order-notification-at-status-confirmed-and-paid#119360 "Hello'  Today I discovered that my vendors receive an ordernotification when an order is created. One of my vendors reacted immediately to this notification. The fact is that this order still is not confirmed and paid.  I want my vendors to receive a notification AFTER the order is confirmed AND paid to avoid disappointment and discussions about orders.  Is that possible?  Thanks  Sjaak")*

In the meantime, is this only an edit I can make in the paid version?
I don't mind adjusting PHP code to do this, I just need to get it done.

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

13 years 3 months ago [\#119371](#119371) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Order notification at status confirmed and paid.](/forum/23-market-how-to/82905-order-notification-at-status-confirmed-and-paid#119371 "Hello'  Today I discovered that my vendors receive an ordernotification when an order is created. One of my vendors reacted immediately to this notification. The fact is that this order still is not confirmed and paid.  I want my vendors to receive a notification AFTER the order is confirmed AND paid to avoid disappointment and discussions about orders.  Is that possible?  Thanks  Sjaak")*

Hi,

In HikaMarket 1.2.0 you have to edit the file but in HikaMarket 1.3.0 there will be options for that.
So by updating HikaMarket 1.2.0 to HikaMarket 1.3.0, you will lost your file modification but you will find the option.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODI5MDUtb3JkZXItbm90aWZpY2F0aW9uLWF0LXN0YXR1cy1jb25maXJtZWQtYW5kLXBhaWQ/dG1wbD1tYXJrZG93bg==) 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.081 seconds

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