Reply 343975 to: Testing of new functionality of new “Estimated delivery time”

Avatar: Krzysztof
Krzysztof
Participant
January 13, 2023 at 18:51

OK … so I will put it here …

The only difference I see is added new option “Set shipping time -> Same day shipping time” .. is that correct ?
I’m missing option “number of days if product is on backorder or out-of-stock”. This should be used when we do not have product in stock. We can’t in such situation say to the customers that estimated delivery is 1 day.
So, functionality has to take into consideration if we have product (or variable) in stock or not.
Further this must be dynamic as within one variable product awe can have different stock statuses e.g. one variant can be in stock, so we should show 1 day, other variant can be in backorder we need to show e.g. 30 days etc.

Going back to the main functionality “Set shipping time”
I set:
– Set shipping time to 17:00
– Set count of days = 1 day
– Not working days = Sat, Sun.

We have Friday 18:00 today

On the product I see: Estimated delivery: 2 days
This is wrong as non working days are skipped in this calc.
Proper answer should be -> delivery: 4 days:
– day 0 – today -> it is too late to make shipment
– day 1,2 – weekend -> nothing is happening
– day 3 – Monday – > we do shipment
– day 4 – Tuesday -> package delivered

Most probably this would work ok in normal working days (eg. Tuesday) as it would be:
– day 0 – Tuesday, today
– day 1 – Wednesday -> we do shipment
– day 2 – Thursday -> package delivered

When I moved Set shipping time to 19:00 (ahead of us, so we can ship it at the same day) I got estimated delivery 1 day what would suggest that product will be delivered tomorrow (Saturday).
This is wrong but could work on normal working days.
Proper answer should be: 3 days
– day 0 – today, Friday -> shipment
– day 1,2 – weekend -> package most probably waiting in courier warehouse
– day 3 – Monday -> delivery to client

So, you need to consider special case for Fridys 🙂 when even if we do shipment, package will be waiting till minimum Monday for delivery, and all other days where between shipment and potential delivery we have any of the non working days.

More complex case:
– shipping days are set as a range 1-3 days
– order placed on Thursday at 12:00 so we can do shipment at the same day
Proper answers should be: 1-5 days …

A. best case scenario when courier will be fast:
– day 0 – Thursday – shipment
– day 1 – Friday – delivery

B: worse case scenario when courier will use all 3 working days to deliver:
– day 0 – Thursday – shipment
– day 1 – Friday – courier moving package to his warehouse
– day 2,3 – weekend, nothing is happening
– day 4 – Monday, second day for courier to move between logistic centers
– day 5 – Tuesday, third day for courier -> delivery to client

From my experience with different couriers, they put into the agreements commitment to deliver within specific number of “working days” … not calendar days. This is btw why “Dates range” you created is very helful 🙂

Hope above make sense ?

As an example on how those days are calculated properly, please have a look on the other plugin installed on my staging. You can see delivery calculated dynamically (ajax loaded) under the “buy now” button on single page. for testing this product …/sklep/obrazek-ojciec-pio-vl81384col/ we have a combination off all in-stock, out-of-stock and backordered variants, so you can switch between variants and see estimated delivery calculations.
Above mentioned plugin have way too many options which normally are not needed and is very heavy … so just look on the calculation methods and not replicate everything is there 🙂

PS:
As a next step, you could consider adding possibility to add custom non-working dates or ranges of dates. For example public holidays, Christmas breaks etc. This should be on top of current “Not working days: days of the week”.

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.