Page 1 of 1

Product price calculation

Posted: 28 Nov 2019, 15:21
by olexandersh
Hello!
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?

Re: Product price calculation

Posted: 29 Nov 2019, 12:06
by aimeos
You can implement a delivery service decorator which calculates the additional price depending on that condition:
https://aimeos.org/docs/Developers/Libr ... _decorator