How to configure and adapt Aimeos based shops as developer
Forum rules: Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#2881 by naddy
16 Jun 2016, 10:48
Ok,

so i'm currently working on x places at once and since half my mind is programming, i'm seemingly not able to get a hold on the following:
As you can see in my Basket... there is a basic shipping cost of 5.9... and a second vat of 20% ... i think on the shipping.

Now... where the hell do i change the basic shipping and stop the vat on it???

Just a quick hint please...
Attachments
Basket - Mozilla Firefox_2016-06-16_12-46-42.png
Basket - Mozilla Firefox_2016-06-16_12-46-42.png (14.28 KiB) Viewed 315 times
#2883 by naddy
16 Jun 2016, 12:09
Yep i found it,

due to caching problems the result of my changes was not showing.

Next question :)
I need different Shipping Conditions based on the amount of articles in the basket... any tip there?
#2887 by aimeos
16 Jun 2016, 12:33
Use a service provider decorator to calculate the shipping costs according to your requirements. You can use the "Costs" decorator as example:
https://github.com/aimeos/aimeos-core/tree/master/lib/mshoplib/src/MShop/Service/Provider/Decorator

More information about service providers is available at:
https://aimeos.org/docs/Developers/Library/Service

Usage is explained here:
https://aimeos.org/docs/User_Manual/Administration_Interface/Service_decorators