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

#   Double emails on free products

##

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

Less More

- Posts: 27
- Thank you received: 2
-
-
-

4 years 4 months ago [\#342801](#342801) by [alexnovo](/forum/user/66168-alexnovo "View alexnovo's Profile")  *[Double emails on free products](/forum/35-orders-management/904649-double-emails-on-free-products#342801 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.4 -- PHP version -- : 8.0.18 -- Browser(s) name and version -- : Chrome 99.0.4844.51 (Officiële build) (64-bits) -- Error-message(debug-mod must be tuned on) -- : None  Hi,  We have a internal webshop to order components and such sort of things. Most components have prices, but some do not have prices available yet as the prices are only there for awareness of the employees. When ordering with priced items, there is no problem.  The problem is: When ordering with items that are free, the system will automaticly change the order to created and send 2 emails to the customer. -&gt; Order created email + a status changed to order created email. Is there a way to only turn off the email when its status changes to created? The rest of the status changes we do need.  Hopefully you understand what i mean.")* was created by *[alexnovo](/forum/user/66168-alexnovo "View alexnovo's Profile")*

-- HikaShop version -- : 4.6.0
-- Joomla version -- : 4.1.4
-- PHP version -- : 8.0.18
-- Browser(s) name and version -- : Chrome 99.0.4844.51 (Officiële build) (64-bits)
-- Error-message(debug-mod must be tuned on) -- : None

Hi,

We have a internal webshop to order components and such sort of things.
Most components have prices, but some do not have prices available yet as the prices are only there for awareness of the employees.
When ordering with priced items, there is no problem.

The problem is:
When ordering with items that are free, the system will automaticly change the order to created and send 2 emails to the customer. -&gt; Order created email + a status changed to order created email.
Is there a way to only turn off the email when its status changes to created? The rest of the status changes we do need.

Hopefully you understand what i mean.

---

Best regards,

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50LzkwNDY0OS1kb3VibGUtZW1haWxzLW9uLWZyZWUtcHJvZHVjdHM/dG1wbD1tYXJrZG93bg==) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

4 years 4 months ago [\#342803](#342803) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Double emails on free products](/forum/35-orders-management/904649-double-emails-on-free-products#342803 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.4 -- PHP version -- : 8.0.18 -- Browser(s) name and version -- : Chrome 99.0.4844.51 (Officiële build) (64-bits) -- Error-message(debug-mod must be tuned on) -- : None  Hi,  We have a internal webshop to order components and such sort of things. Most components have prices, but some do not have prices available yet as the prices are only there for awareness of the employees. When ordering with priced items, there is no problem.  The problem is: When ordering with items that are free, the system will automaticly change the order to created and send 2 emails to the customer. -&gt; Order created email + a status changed to order created email. Is there a way to only turn off the email when its status changes to created? The rest of the status changes we do need.  Hopefully you understand what i mean.")*

Hi,

What you can do is go in the menu System&gt;Emails and unpublish the "Order creation notification" email. That way, no email will be sent to the user when the order is created, and only the "order status notification" email will be sent when the order's status is changed.

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

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

Less More

- Posts: 27
- Thank you received: 2
-
-
-

4 years 4 months ago [\#342814](#342814) by [alexnovo](/forum/user/66168-alexnovo "View alexnovo's Profile")  Replied by *[alexnovo](/forum/user/66168-alexnovo "View alexnovo's Profile")* on topic *[Double emails on free products](/forum/35-orders-management/904649-double-emails-on-free-products#342814 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.4 -- PHP version -- : 8.0.18 -- Browser(s) name and version -- : Chrome 99.0.4844.51 (Officiële build) (64-bits) -- Error-message(debug-mod must be tuned on) -- : None  Hi,  We have a internal webshop to order components and such sort of things. Most components have prices, but some do not have prices available yet as the prices are only there for awareness of the employees. When ordering with priced items, there is no problem.  The problem is: When ordering with items that are free, the system will automaticly change the order to created and send 2 emails to the customer. -&gt; Order created email + a status changed to order created email. Is there a way to only turn off the email when its status changes to created? The rest of the status changes we do need.  Hopefully you understand what i mean.")*

Hi Nicolas,

That's not exactly what i would want to do.

I have done these things:
1. Users get a order status changed mail. The emails notification boxesin the backend are standard checked. So it wont be forgotten when changing a status.
2. Admins get a order created mail.
3. Customers should also get a order created mail.

The thing is they do get an order created mail, but when the order is free they also get an status changed mail. The last thing is that i want to turn off.
You can see in the uploaded jpg how i've set up my statusses. Also note how i don't use confirmed.

I think it's in the part when a "paid"(€0,00 in this problem) has a status as confirmed and inmediatly changed to created.
We do not use the payment system so i always want new orders to end up in the status created.

I'm guessing there would be a way to flag ALL new orders into the created status? So the paid ones do not send a status changed confirmation.

---

Best regards,

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

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

Less More

- Posts: 27
- Thank you received: 2
-
-
-

4 years 4 months ago -  4 years 4 months ago [\#342816](#342816) by [alexnovo](/forum/user/66168-alexnovo "View alexnovo's Profile")  Replied by *[alexnovo](/forum/user/66168-alexnovo "View alexnovo's Profile")* on topic *[Double emails on free products](/forum/35-orders-management/904649-double-emails-on-free-products#342816 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.4 -- PHP version -- : 8.0.18 -- Browser(s) name and version -- : Chrome 99.0.4844.51 (Officiële build) (64-bits) -- Error-message(debug-mod must be tuned on) -- : None  Hi,  We have a internal webshop to order components and such sort of things. Most components have prices, but some do not have prices available yet as the prices are only there for awareness of the employees. When ordering with priced items, there is no problem.  The problem is: When ordering with items that are free, the system will automaticly change the order to created and send 2 emails to the customer. -&gt; Order created email + a status changed to order created email. Is there a way to only turn off the email when its status changes to created? The rest of the status changes we do need.  Hopefully you understand what i mean.")*

Ive found the following in the email preload of the created status:

$order_changed = JText::sprintf('ORDER_STATUS_CHANGED_TO', $url, $data-&gt;mail_status);
if(!empty($data-&gt;usermsg-&gt;usermsg))
$order_changed = $data-&gt;usermsg-&gt;usermsg;

Can i remove or change something in there so when orders are changed to to created, users do not get that mail.

or should i look into this one?

$fields = $fieldsClass-&gt;getFields('display:mail_status_notif=1',$null,'product');

---

Best regards,

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50LzkwNDY0OS1kb3VibGUtZW1haWxzLW9uLWZyZWUtcHJvZHVjdHM/dG1wbD1tYXJrZG93bg==) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

4 years 4 months ago [\#342838](#342838) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Double emails on free products](/forum/35-orders-management/904649-double-emails-on-free-products#342838 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.4 -- PHP version -- : 8.0.18 -- Browser(s) name and version -- : Chrome 99.0.4844.51 (Officiële build) (64-bits) -- Error-message(debug-mod must be tuned on) -- : None  Hi,  We have a internal webshop to order components and such sort of things. Most components have prices, but some do not have prices available yet as the prices are only there for awareness of the employees. When ordering with priced items, there is no problem.  The problem is: When ordering with items that are free, the system will automaticly change the order to created and send 2 emails to the customer. -&gt; Order created email + a status changed to order created email. Is there a way to only turn off the email when its status changes to created? The rest of the status changes we do need.  Hopefully you understand what i mean.")*

Hi,

In the Joomla plugins manager, you have the HikaShop validate free orders plugin.
When activated, this plugin will automatically change the status of the order from created to confirmed when the total amount of the order is 0.
This plugin has a setting to turn off the email sending which is done when the status is changed at that time.
So you might want to either turn off that setting, or even disable the plugin if you don't want the order status to changed from created autoamtically.

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

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

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

Time to create page: 0.107 seconds

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

[](#top)
