Time related restrictions for delivery

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
promptnet
Posts: 50
Joined: 24 Jul 2019, 12:22

Time related restrictions for delivery

Post by promptnet » 23 May 2022, 12:16

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

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

Re: Time related restrictions for delivery

Post by aimeos » 24 May 2022, 17:14

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/
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply