Product price calculation

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Posts: 7
Joined: 22 Oct 2019, 16:43

Product price calculation

Post by olexandersh » 28 Nov 2019, 15:21

I have added two attributes to a products (singlepackage and multipackage) in admin panel. And now I need to calculate shipping costs of a product in the basket depends on these attributes: if product has 'singlepackage' attribute it's shipping costs multiplies to product quantity and, if product has 'multipackage' attribute, it's shipping costs don't multiplies to product quantity.
Which method I have to override for this?

User avatar
Posts: 4025
Joined: 01 Jan 1970, 00:00

Re: Product price calculation

Post by aimeos » 29 Nov 2019, 12:06

You can implement a delivery service decorator which calculates the additional price depending on that condition: ... _decorator
Professional support and custom implementation are available at
If you like Aimeos, Image give us a star

Post Reply