Tool: Estimate Delivery
Error: Wrong time calculation after placing an order
Symptom: If there is 1 piece of the product in stock (it is in backorder status) then it correctly shows the set delivery time everywhere (product page, mini cart, cart and checkout), but when the order is closed and we move to the thank you page (and also in the confirmation email received) it already shows the date that is set if the product is not in stock (in this case +2-5 days is the expected delay).
What is the solution to send the date that was real when the order was placed?
Thank you in advance for your answer.