Delivery with multiple items
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!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 8
- Joined: 04 Jan 2020, 04:47
Delivery with multiple items
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?
Re: Delivery with multiple items
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
- 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, give us a star
If you like Aimeos, give us a star