Page 1 of 1

Time related restrictions for delivery

Posted: 23 May 2022, 12:16
by promptnet
Hi,
is it possible to use time related restrictions for delievery prices? How can that be done?
I'd like to add a fee for the delivery if the order is made on Friday until 14:00h.
Thanks

Re: Time related restrictions for delivery

Posted: 24 May 2022, 17:14
by aimeos
That can be implemented by using a service decorator. Just implement the calcPrice() method and add the costs if the date/time is within your time frame:
https://aimeos.org/docs/latest/provider ... ecorators/