Developer forum

Forum » Ecommerce - Standard features » Sceduled tasks - Place recurring orders

Sceduled tasks - Place recurring orders

Michael Fløe Haug
Reply

Hi

We have a solution where the Sceduled task - Place recurring orders runs every 1 hour. Thats fine. But we want the task to place recurring orders 2 days before it does it today. Is it possible to change the task, so it places an order (from a recurring order) 2 days in advance instead of same day?

Its a bit hard to explain, but I will try;

  1. Recurring order for delivery every 1 week is placed. The recurring order should be delivered every wednesday.
  2. As it is now, the sceduled task places an order every wednesday. But that is to late for my curstomer, thay want every order, placed by the sceduled task, to be placed every monday (with delivery every wednesday).

Thanks in advance
Michael


Replies

 
Nicolai Pedersen
Reply

I would say you have to change the schedule settings on the order to run on mondays instead? Otherwise it gets too confusing.

 
Michael Fløe Haug
Reply
Original message by Nicolai Pedersen posted on 10/9/2017 3:40:33 PM:

I would say you have to change the schedule settings on the order to run on mondays instead? Otherwise it gets too confusing.

- but will the orders for wednesday be placed on the monday then? As I see it works now, the upcomming orders on recurring orders are only released same day as they are sceduled. E.g. If I place a new recurring order on monday, first delivery on wednesday, the order for the first delivery is first placed as order on wednesday...?

 
Nicolai Pedersen
Reply

I'm confused. If you set the startdate to a Monday and schedule once for each week, you get it ordered on Mondays...

 
Michael Fløe Haug
Reply
Original message by Nicolai Pedersen posted on 10/9/2017 3:50:27 PM:

I'm confused. If you set the startdate to a Monday and schedule once for each week, you get it ordered on Mondays...

If I place an order on a monday, with a startdate to a Wednesday, I (the customer and admin) get the order on a wednesday. As admin I want the order to be placed on monday, so I have time to produce/pack the order for the desired delivery on wednesday... Please, its not easy to write this, please call me 40375506 if it makes sense.

 
Nicolai Pedersen
Reply

Then set the start date to monday and a custom orderfield with a delivery day that says "Wednesday". It is informational only...

 
Michael Fløe Haug
Reply
Original message by Nicolai Pedersen posted on 10/9/2017 4:07:14 PM:

Then set the start date to monday and a custom orderfield with a delivery day that says "Wednesday". It is informational only...

But then we dont use og even misuse the build in recurring proces... If we do as you state, the recurring ordrer should automatically set current day (or monday) as start date and the customer will then not be able to set the start date himsself. E.g. the customer places an order on the 1/10 with 1 week recurring, but he wants the start date to be 1/11 - then he will have to login and cancel the first 3-4 orders...

Please Nicolai, I think we have an issue here that needs to be adressed - I think it is better you give me a call on 40375506 and lets have a talk about it. Please.

 
Nicolai Pedersen
Reply

I disagree. It will be a complete mess to have schedules that runs on wednesdays but have to run on mondays instead, hokus pokus. It will be a source of bugs and misunderstandings.

Of course this can be made using a custom field. When the user wants to change delivery date, they change the date in the custom field that then again 'secretly' changes the date of the scheduled start date.

BR Nicolai

 

You must be logged in to post in the forum