Customer's wishing order date delivery

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
MikaelNazarenko
Expert
Posts: 274
Joined: 27 Jun 2019, 16:19

Customer's wishing order date delivery

Post by MikaelNazarenko » 19 Oct 2019, 08:55

when customer does checkout the order I would like to implement feature that customer can set the date when he wants to receive the order. My question only is it good idea to use datedelivery field from mshop_order table for this purpose ? Or should I add another field to some table?

Please give me the advice for this

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Customer's wishing order date delivery

Post by aimeos » 19 Oct 2019, 17:21

Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

columbo
Advanced
Posts: 123
Joined: 09 Oct 2019, 09:42

Re: Customer's wishing order date delivery

Post by columbo » 15 Oct 2020, 15:27

Hi,

we added the "Date"-Provider to the "Delivery"-service and set "date.minimumdays".
Is there also a setting like "date.minimumhours" available? Also tried "date.minimumdays" like 0,5 or 0.5 etc. but didn't work.

If not, any other recommendations?

use case: orders up to e.g. 18:00 can be delivered the next day at the earliest. Orders placed after 18:00 can be delivered on the day after next day earliest.

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Customer's wishing order date delivery

Post by aimeos » 16 Oct 2020, 15:49

The "Date" service decorator only support "date.minimumdays":
https://aimeos.org/docs/latest/manual/s ... tors/#date

Maybe you can create a pull request which adapts the code to allow less than a day.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply