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

#   Custom emails by Order Status

##

- **[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")**
- [![ijsbaanleuven's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34667.png)](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")
- [ Offline](/forum/user/34667-ijsbaanleuven)

Less More

- Posts: 72
- Thank you received: 2
-
-
- [](http://www.ijsbaanleuven.be)
-

12 years 1 week ago [\#180218](#180218) by [ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")  Replied by *[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")* on topic *[Custom emails by Order Status](/forum/35-orders-management/872627-custom-emails-by-order-status?start=20#180218 "-- HikaShop version -- : 2.x -- Joomla version -- : 3.x  We have a client who would like to have pre-configured custom emails by order status, so that the email someone gets when the status is changed to &quot;Partial Backorder&quot; would be different content than the email when the status is changed to &quot;Ready for Pickup&quot;, etc.  Is there an easy way to achieve this in HikaShop, or will we need to develop a custom plugin using the onAfterOrderUpdate(&amp;$order,&amp;$send&#95;email) trigger to add the custom text that goes with each order status? It looks like it will require custom development because the status update email used is the same for all statuses, but maybe we missed a cool trick of how to do this.  Or of course maybe our client will be lucky and you already have this type of feature in development? :)")*

Now it works !

Thanks !

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

- **[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")**
- [![ijsbaanleuven's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34667.png)](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")
- [ Offline](/forum/user/34667-ijsbaanleuven)

Less More

- Posts: 72
- Thank you received: 2
-
-
- [](http://www.ijsbaanleuven.be)
-

12 years 6 hours ago [\#181513](#181513) by [ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")  Replied by *[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")* on topic *[Custom emails by Order Status](/forum/35-orders-management/872627-custom-emails-by-order-status?start=20#181513 "-- HikaShop version -- : 2.x -- Joomla version -- : 3.x  We have a client who would like to have pre-configured custom emails by order status, so that the email someone gets when the status is changed to &quot;Partial Backorder&quot; would be different content than the email when the status is changed to &quot;Ready for Pickup&quot;, etc.  Is there an easy way to achieve this in HikaShop, or will we need to develop a custom plugin using the onAfterOrderUpdate(&amp;$order,&amp;$send&#95;email) trigger to add the custom text that goes with each order status? It looks like it will require custom development because the status update email used is the same for all statuses, but maybe we missed a cool trick of how to do this.  Or of course maybe our client will be lucky and you already have this type of feature in development? :)")*

I still have some additional questions about this :

Can we make it so, that this works together with the Hikashop Orders Automatic Cancel Plugin ?
So, that if the plugin changes the status, the email is sent ?

Also, about the plugin, would it be possible to set 2 delays after each other ? I'll explain what I want :
I would like to be able to (automaticly) change the status from 'created' to 'reminder', if the payment is not received after 7 days (where the customer gets an email with the reminder that the payment has not been received yet) and then, in the next step from 'reminder' to 'cancelled', if the payment is still not received in 5 days after the reminder. In both cases, the customer should get an email with some text.

Does this makes sense to you ?

Looking forward to hearing from you guys.

Joris

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3MjYyNy1jdXN0b20tZW1haWxzLWJ5LW9yZGVyLXN0YXR1cz9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14325
-
-

11 years 11 months ago [\#181547](#181547) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom emails by Order Status](/forum/35-orders-management/872627-custom-emails-by-order-status?start=20#181547 "-- HikaShop version -- : 2.x -- Joomla version -- : 3.x  We have a client who would like to have pre-configured custom emails by order status, so that the email someone gets when the status is changed to &quot;Partial Backorder&quot; would be different content than the email when the status is changed to &quot;Ready for Pickup&quot;, etc.  Is there an easy way to achieve this in HikaShop, or will we need to develop a custom plugin using the onAfterOrderUpdate(&amp;$order,&amp;$send&#95;email) trigger to add the custom text that goes with each order status? It looks like it will require custom development because the status update email used is the same for all statuses, but maybe we missed a cool trick of how to do this.  Or of course maybe our client will be lucky and you already have this type of feature in development? :)")*

Hi,

It's a nice idea to have an extra option to be able to notify customers on order auto cancellation. I've added an option to the plugin. Install it on your website and you'll get that feature.

Having two changes is not possible without more changes to the plugin and that's more customization than anything else.
If you want to send emails after a specific after the purchase if the order is still not confirmed, a solution might actually be with our integration with acymailing, with an acymailing mass action filter and a time delay.

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

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

- **[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")**
- [![ijsbaanleuven's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34667.png)](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")
- [ Offline](/forum/user/34667-ijsbaanleuven)

Less More

- Posts: 72
- Thank you received: 2
-
-
- [](http://www.ijsbaanleuven.be)
-

11 years 11 months ago [\#181566](#181566) by [ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")  Replied by *[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")* on topic *[Custom emails by Order Status](/forum/35-orders-management/872627-custom-emails-by-order-status?start=20#181566 "-- HikaShop version -- : 2.x -- Joomla version -- : 3.x  We have a client who would like to have pre-configured custom emails by order status, so that the email someone gets when the status is changed to &quot;Partial Backorder&quot; would be different content than the email when the status is changed to &quot;Ready for Pickup&quot;, etc.  Is there an easy way to achieve this in HikaShop, or will we need to develop a custom plugin using the onAfterOrderUpdate(&amp;$order,&amp;$send&#95;email) trigger to add the custom text that goes with each order status? It looks like it will require custom development because the status update email used is the same for all statuses, but maybe we missed a cool trick of how to do this.  Or of course maybe our client will be lucky and you already have this type of feature in development? :)")*

hey Nicholas,

Thanks for the super fast reaction !
I'm surprised actually, that no one has thought of this before ...![:-)](/media/kunena/emoticons/3.png ":-)")

I'll have a look at the mass action thingy ...![:-)](/media/kunena/emoticons/3.png ":-)")

Thanks a lot !

Joris

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

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

Less More

- Posts: 28
- Thank you received: 0
-
-

11 years 11 months ago [\#182895](#182895) by [brandoes](/forum/user/35215-brandoes "View brandoes's Profile")  Replied by *[brandoes](/forum/user/35215-brandoes "View brandoes's Profile")* on topic *[Custom emails by Order Status](/forum/35-orders-management/872627-custom-emails-by-order-status?start=20#182895 "-- HikaShop version -- : 2.x -- Joomla version -- : 3.x  We have a client who would like to have pre-configured custom emails by order status, so that the email someone gets when the status is changed to &quot;Partial Backorder&quot; would be different content than the email when the status is changed to &quot;Ready for Pickup&quot;, etc.  Is there an easy way to achieve this in HikaShop, or will we need to develop a custom plugin using the onAfterOrderUpdate(&amp;$order,&amp;$send&#95;email) trigger to add the custom text that goes with each order status? It looks like it will require custom development because the status update email used is the same for all statuses, but maybe we missed a cool trick of how to do this.  Or of course maybe our client will be lucky and you already have this type of feature in development? :)")*

Where I will find this file to edit?
I would like change something in my email confirmation.

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

- **[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")**
- [![ijsbaanleuven's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34667.png)](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")
- [ Offline](/forum/user/34667-ijsbaanleuven)

Less More

- Posts: 72
- Thank you received: 2
-
-
- [](http://www.ijsbaanleuven.be)
-

11 years 11 months ago [\#182896](#182896) by [ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")  Replied by *[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")* on topic *[Custom emails by Order Status](/forum/35-orders-management/872627-custom-emails-by-order-status?start=20#182896 "-- HikaShop version -- : 2.x -- Joomla version -- : 3.x  We have a client who would like to have pre-configured custom emails by order status, so that the email someone gets when the status is changed to &quot;Partial Backorder&quot; would be different content than the email when the status is changed to &quot;Ready for Pickup&quot;, etc.  Is there an easy way to achieve this in HikaShop, or will we need to develop a custom plugin using the onAfterOrderUpdate(&amp;$order,&amp;$send&#95;email) trigger to add the custom text that goes with each order status? It looks like it will require custom development because the status update email used is the same for all statuses, but maybe we missed a cool trick of how to do this.  Or of course maybe our client will be lucky and you already have this type of feature in development? :)")*

Hika Shop &gt; System &gt; Emails &gt; Order Status Notification

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

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

Less More

- Posts: 28
- Thank you received: 0
-
-

11 years 11 months ago [\#182899](#182899) by [brandoes](/forum/user/35215-brandoes "View brandoes's Profile")  Replied by *[brandoes](/forum/user/35215-brandoes "View brandoes's Profile")* on topic *[Custom emails by Order Status](/forum/35-orders-management/872627-custom-emails-by-order-status?start=20#182899 "-- HikaShop version -- : 2.x -- Joomla version -- : 3.x  We have a client who would like to have pre-configured custom emails by order status, so that the email someone gets when the status is changed to &quot;Partial Backorder&quot; would be different content than the email when the status is changed to &quot;Ready for Pickup&quot;, etc.  Is there an easy way to achieve this in HikaShop, or will we need to develop a custom plugin using the onAfterOrderUpdate(&amp;$order,&amp;$send&#95;email) trigger to add the custom text that goes with each order status? It looks like it will require custom development because the status update email used is the same for all statuses, but maybe we missed a cool trick of how to do this.  Or of course maybe our client will be lucky and you already have this type of feature in development? :)")*

I don't have email option in my hikashop.

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

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

Less More

- Posts: 28
- Thank you received: 0
-
-

11 years 11 months ago [\#182900](#182900) by [brandoes](/forum/user/35215-brandoes "View brandoes's Profile")  Replied by *[brandoes](/forum/user/35215-brandoes "View brandoes's Profile")* on topic *[Custom emails by Order Status](/forum/35-orders-management/872627-custom-emails-by-order-status?start=20#182900 "-- HikaShop version -- : 2.x -- Joomla version -- : 3.x  We have a client who would like to have pre-configured custom emails by order status, so that the email someone gets when the status is changed to &quot;Partial Backorder&quot; would be different content than the email when the status is changed to &quot;Ready for Pickup&quot;, etc.  Is there an easy way to achieve this in HikaShop, or will we need to develop a custom plugin using the onAfterOrderUpdate(&amp;$order,&amp;$send&#95;email) trigger to add the custom text that goes with each order status? It looks like it will require custom development because the status update email used is the same for all statuses, but maybe we missed a cool trick of how to do this.  Or of course maybe our client will be lucky and you already have this type of feature in development? :)")*

have a look in screenshot

- [ ![screenshot&#95;235.jpg](/forum/attachment/21171) ](/forum/attachment/21171 "...enshot&#95;235.jpg") [ ](/forum/attachment/21171?download=1 "...enshot&#95;235.jpg")

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

- **[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")**
- [![ijsbaanleuven's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34667.png)](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")
- [ Offline](/forum/user/34667-ijsbaanleuven)

Less More

- Posts: 72
- Thank you received: 2
-
-
- [](http://www.ijsbaanleuven.be)
-

11 years 11 months ago [\#182901](#182901) by [ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")  Replied by *[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")* on topic *[Custom emails by Order Status](/forum/35-orders-management/872627-custom-emails-by-order-status?start=20#182901 "-- HikaShop version -- : 2.x -- Joomla version -- : 3.x  We have a client who would like to have pre-configured custom emails by order status, so that the email someone gets when the status is changed to &quot;Partial Backorder&quot; would be different content than the email when the status is changed to &quot;Ready for Pickup&quot;, etc.  Is there an easy way to achieve this in HikaShop, or will we need to develop a custom plugin using the onAfterOrderUpdate(&amp;$order,&amp;$send&#95;email) trigger to add the custom text that goes with each order status? It looks like it will require custom development because the status update email used is the same for all statuses, but maybe we missed a cool trick of how to do this.  Or of course maybe our client will be lucky and you already have this type of feature in development? :)")*

Looks like yo do not have the option of the emails ?

What version of HikaShop are you working with ?

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

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

Less More

- Posts: 28
- Thank you received: 0
-
-

11 years 11 months ago [\#182911](#182911) by [brandoes](/forum/user/35215-brandoes "View brandoes's Profile")  Replied by *[brandoes](/forum/user/35215-brandoes "View brandoes's Profile")* on topic *[Custom emails by Order Status](/forum/35-orders-management/872627-custom-emails-by-order-status?start=20#182911 "-- HikaShop version -- : 2.x -- Joomla version -- : 3.x  We have a client who would like to have pre-configured custom emails by order status, so that the email someone gets when the status is changed to &quot;Partial Backorder&quot; would be different content than the email when the status is changed to &quot;Ready for Pickup&quot;, etc.  Is there an easy way to achieve this in HikaShop, or will we need to develop a custom plugin using the onAfterOrderUpdate(&amp;$order,&amp;$send&#95;email) trigger to add the custom text that goes with each order status? It looks like it will require custom development because the status update email used is the same for all statuses, but maybe we missed a cool trick of how to do this.  Or of course maybe our client will be lucky and you already have this type of feature in development? :)")*

I am use hikashop_essential_v2.3.4_2014-12-02

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 11 months ago [\#182902](#182902) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Custom emails by Order Status](/forum/35-orders-management/872627-custom-emails-by-order-status?start=20#182902 "-- HikaShop version -- : 2.x -- Joomla version -- : 3.x  We have a client who would like to have pre-configured custom emails by order status, so that the email someone gets when the status is changed to &quot;Partial Backorder&quot; would be different content than the email when the status is changed to &quot;Ready for Pickup&quot;, etc.  Is there an easy way to achieve this in HikaShop, or will we need to develop a custom plugin using the onAfterOrderUpdate(&amp;$order,&amp;$send&#95;email) trigger to add the custom text that goes with each order status? It looks like it will require custom development because the status update email used is the same for all statuses, but maybe we missed a cool trick of how to do this.  Or of course maybe our client will be lucky and you already have this type of feature in development? :)")*

Hi,

You need to have the business edition for this feature.

Else the emails can be edited via FTP in the folder "media\com_hikashop\mail", be careful when updating the changes on the mails will be lost with this method.

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

- **[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")**
- [![ijsbaanleuven's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34667.png)](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")
- [ Offline](/forum/user/34667-ijsbaanleuven)

Less More

- Posts: 72
- Thank you received: 2
-
-
- [](http://www.ijsbaanleuven.be)
-

11 years 11 months ago -  11 years 11 months ago [\#183985](#183985) by [ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")  Replied by *[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")* on topic *[Custom emails by Order Status](/forum/35-orders-management/872627-custom-emails-by-order-status?start=20#183985 "-- HikaShop version -- : 2.x -- Joomla version -- : 3.x  We have a client who would like to have pre-configured custom emails by order status, so that the email someone gets when the status is changed to &quot;Partial Backorder&quot; would be different content than the email when the status is changed to &quot;Ready for Pickup&quot;, etc.  Is there an easy way to achieve this in HikaShop, or will we need to develop a custom plugin using the onAfterOrderUpdate(&amp;$order,&amp;$send&#95;email) trigger to add the custom text that goes with each order status? It looks like it will require custom development because the status update email used is the same for all statuses, but maybe we missed a cool trick of how to do this.  Or of course maybe our client will be lucky and you already have this type of feature in development? :)")*

Gents,

I'm having problems with the cron on the automic cancel plugin ...
Everything worked, but now, it doens't anymore and I've got no clue to why it doesn't ?

See the settings :

Plugin is set correctly, cron seems to be working, yet in the logfiles it doens't show anymore that the orders have been checked ... ?

I found in the manual that when one uses RSFirewall, you should disable DoS protection, but should you disable this completely or just for cURL, perl, Java, empty user agents, or all ?

Any and all help will be appreciated !

Joris

- [ ![plugin.jpg](/forum/attachment/21314) ](/forum/attachment/21314 "plugin.jpg") [ ](/forum/attachment/21314?download=1 "plugin.jpg")
- [ ![cron.jpg](/forum/attachment/21315) ](/forum/attachment/21315 "cron.jpg") [ ](/forum/attachment/21315?download=1 "cron.jpg")
- [ ![log.jpg](/forum/attachment/21316) ](/forum/attachment/21316 "log.jpg") [ ](/forum/attachment/21316?download=1 "log.jpg")
- [ ![sub.jpg](/forum/attachment/21317) ](/forum/attachment/21317 "sub.jpg") [ ](/forum/attachment/21317?download=1 "sub.jpg")

Last edit: 11 years 11 months ago by [ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile").

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

- **[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")**
- [![ijsbaanleuven's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34667.png)](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")
- [ Offline](/forum/user/34667-ijsbaanleuven)

Less More

- Posts: 72
- Thank you received: 2
-
-
- [](http://www.ijsbaanleuven.be)
-

11 years 11 months ago [\#184334](#184334) by [ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")  Replied by *[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")* on topic *[Custom emails by Order Status](/forum/35-orders-management/872627-custom-emails-by-order-status?start=20#184334 "-- HikaShop version -- : 2.x -- Joomla version -- : 3.x  We have a client who would like to have pre-configured custom emails by order status, so that the email someone gets when the status is changed to &quot;Partial Backorder&quot; would be different content than the email when the status is changed to &quot;Ready for Pickup&quot;, etc.  Is there an easy way to achieve this in HikaShop, or will we need to develop a custom plugin using the onAfterOrderUpdate(&amp;$order,&amp;$send&#95;email) trigger to add the custom text that goes with each order status? It looks like it will require custom development because the status update email used is the same for all statuses, but maybe we missed a cool trick of how to do this.  Or of course maybe our client will be lucky and you already have this type of feature in development? :)")*

Can anybody help me on this question ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3MjYyNy1jdXN0b20tZW1haWxzLWJ5LW9yZGVyLXN0YXR1cz9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14325
-
-

11 years 11 months ago [\#184456](#184456) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom emails by Order Status](/forum/35-orders-management/872627-custom-emails-by-order-status?start=20#184456 "-- HikaShop version -- : 2.x -- Joomla version -- : 3.x  We have a client who would like to have pre-configured custom emails by order status, so that the email someone gets when the status is changed to &quot;Partial Backorder&quot; would be different content than the email when the status is changed to &quot;Ready for Pickup&quot;, etc.  Is there an easy way to achieve this in HikaShop, or will we need to develop a custom plugin using the onAfterOrderUpdate(&amp;$order,&amp;$send&#95;email) trigger to add the custom text that goes with each order status? It looks like it will require custom development because the status update email used is the same for all statuses, but maybe we missed a cool trick of how to do this.  Or of course maybe our client will be lucky and you already have this type of feature in development? :)")*

Hi,

First, the period setting of your plugin is set to 691200 seconds, which means 8 days. So basically, the plugin will only be triggered once every 8 days. And at that point, it will only process 20 orders max to avoid crashing because of the amount of data to load and emails to send.
So that could already explain why it doesn't work and you might want to reduce that period to something more frequent like every two days.

To check whether the cron is working or not, you can activate the "send email" option of the cron tab so that you get a notification each time the cron is triggered. You'll also see the error messages if any in the email when the plugin is called.
Our documentation actually has a more thorough explanation on how to make sure that your cron is working:
[ www.hikashop.com/support/support/documen...cron-task.html#check](http://www.hikashop.com/support/support/documentation/55-hikashop-cron-task.html#check)

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

- **[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")**
- [![ijsbaanleuven's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34667.png)](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")
- [ Offline](/forum/user/34667-ijsbaanleuven)

Less More

- Posts: 72
- Thank you received: 2
-
-
- [](http://www.ijsbaanleuven.be)
-

11 years 11 months ago [\#184474](#184474) by [ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")  Replied by *[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")* on topic *[Custom emails by Order Status](/forum/35-orders-management/872627-custom-emails-by-order-status?start=20#184474 "-- HikaShop version -- : 2.x -- Joomla version -- : 3.x  We have a client who would like to have pre-configured custom emails by order status, so that the email someone gets when the status is changed to &quot;Partial Backorder&quot; would be different content than the email when the status is changed to &quot;Ready for Pickup&quot;, etc.  Is there an easy way to achieve this in HikaShop, or will we need to develop a custom plugin using the onAfterOrderUpdate(&amp;$order,&amp;$send&#95;email) trigger to add the custom text that goes with each order status? It looks like it will require custom development because the status update email used is the same for all statuses, but maybe we missed a cool trick of how to do this.  Or of course maybe our client will be lucky and you already have this type of feature in development? :)")*

Hi Nicolas,

Thanks for your reply.

I understand from your reply that the plugin works the other way around that I understood.

As I read the text in the plugin, ("This plugin enables you to have the orders automatically cancelled after some time"), I understand that the plugin checks if the status of the order is not changed in this amount of time, and not that the plugin runs after that period ?

I'll explain what want to accomplish :
I want my customers to have 8 days to pay their order. If the order is not paid after 8 days (or the status has not changed from 'created' to some other status, the plugin should cancel the order.
I thought that the cron runs every 15 minutes, and thus, that the plugin checked the status of the orders every 15 minutes.

If I check the log file, the cron runs every 15 minutes, but there are no mentions of the orders being checked for the last 22 days.
See attachment for the full report.

I do not have more then 20 orders at this moment.

I already had a look at the support page, hence my question about the config of RS Firewall, should I disable the DoS completely or just any of these services ?
Or is it a possibility to put the IP of your server on a whitelist ?

Thanks for your help !

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3MjYyNy1jdXN0b20tZW1haWxzLWJ5LW9yZGVyLXN0YXR1cz9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14325
-
-

11 years 11 months ago [\#184478](#184478) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom emails by Order Status](/forum/35-orders-management/872627-custom-emails-by-order-status?start=20#184478 "-- HikaShop version -- : 2.x -- Joomla version -- : 3.x  We have a client who would like to have pre-configured custom emails by order status, so that the email someone gets when the status is changed to &quot;Partial Backorder&quot; would be different content than the email when the status is changed to &quot;Ready for Pickup&quot;, etc.  Is there an easy way to achieve this in HikaShop, or will we need to develop a custom plugin using the onAfterOrderUpdate(&amp;$order,&amp;$send&#95;email) trigger to add the custom text that goes with each order status? It looks like it will require custom development because the status update email used is the same for all statuses, but maybe we missed a cool trick of how to do this.  Or of course maybe our client will be lucky and you already have this type of feature in development? :)")*

Hi,

Yes, the plugin workings it not adapted to how you want to use it.
Change the line: Code:

if(!empty($plugin-&gt;params['last_cron_update']) &amp;&amp; $plugin-&gt;params['last_cron_update']+$plugin-&gt;params['period']&gt;time()){

to: Code:

if(!empty($plugin-&gt;params['last_cron_update']) &amp;&amp; $plugin-&gt;params['last_cron_update']+900&gt;time()){

in the plugin file plugins/hikashop/order_auto_cancel/order_auto_cancel.php and it will work like you want.

I would love to answer you regarding the configuration of RS Firewall but I've never used it and don't know what the DoS protection does exactly and if they have a whitelist, etc. That's why I recommended to follow the documentation to make sure that your cron is running. If it is conclusive, then no need to change anything in RS Firewall.

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

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

- **[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")**
- [![ijsbaanleuven's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34667.png)](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")
- [ Offline](/forum/user/34667-ijsbaanleuven)

Less More

- Posts: 72
- Thank you received: 2
-
-
- [](http://www.ijsbaanleuven.be)
-

11 years 11 months ago [\#184505](#184505) by [ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")  Replied by *[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")* on topic *[Custom emails by Order Status](/forum/35-orders-management/872627-custom-emails-by-order-status?start=20#184505 "-- HikaShop version -- : 2.x -- Joomla version -- : 3.x  We have a client who would like to have pre-configured custom emails by order status, so that the email someone gets when the status is changed to &quot;Partial Backorder&quot; would be different content than the email when the status is changed to &quot;Ready for Pickup&quot;, etc.  Is there an easy way to achieve this in HikaShop, or will we need to develop a custom plugin using the onAfterOrderUpdate(&amp;$order,&amp;$send&#95;email) trigger to add the custom text that goes with each order status? It looks like it will require custom development because the status update email used is the same for all statuses, but maybe we missed a cool trick of how to do this.  Or of course maybe our client will be lucky and you already have this type of feature in development? :)")*

Thanks for your help ! It is highly appreciated and I will continue to promote Hika !

I will see if the cron now works as I would like it to and keep you posted !

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

- **[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")**
- [![ijsbaanleuven's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34667.png)](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")
- [ Offline](/forum/user/34667-ijsbaanleuven)

Less More

- Posts: 72
- Thank you received: 2
-
-
- [](http://www.ijsbaanleuven.be)
-

11 years 11 months ago [\#184511](#184511) by [ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")  Replied by *[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")* on topic *[Custom emails by Order Status](/forum/35-orders-management/872627-custom-emails-by-order-status?start=20#184511 "-- HikaShop version -- : 2.x -- Joomla version -- : 3.x  We have a client who would like to have pre-configured custom emails by order status, so that the email someone gets when the status is changed to &quot;Partial Backorder&quot; would be different content than the email when the status is changed to &quot;Ready for Pickup&quot;, etc.  Is there an easy way to achieve this in HikaShop, or will we need to develop a custom plugin using the onAfterOrderUpdate(&amp;$order,&amp;$send&#95;email) trigger to add the custom text that goes with each order status? It looks like it will require custom development because the status update email used is the same for all statuses, but maybe we missed a cool trick of how to do this.  Or of course maybe our client will be lucky and you already have this type of feature in development? :)")*

According to the log file, the orders are checked every 30 minutes, wich is more then good enough !

Thank you so much !

Joris

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

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