Delivery with multiple items

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!
VanCityDev
Posts: 8
Joined: 04 Jan 2020, 04:47

Delivery with multiple items

Post by VanCityDev » 14 Apr 2020, 21:00

Is it possible for the delivery costs to increment based on the number of products? ie $25.00 for the first item, and $2.50 for each additional item?

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

Re: Delivery with multiple items

Post by aimeos » 15 Apr 2020, 06:53

Yes, you have to implement a service decorator that you add to your delivery service. It needs to implement the calcPrice() method and return the shipping costs as price item:
- https://aimeos.org/docs/Developers/Libr ... _decorator
- https://aimeos.org/docs/Developers/Library/Service
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply