Order of Service?
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!
Order of Service?
hi all.
I have a little question, but important for me. I have created two decorators for shipping. One of them calculates price based on country and second based on order total sum. For me it is important that country decorator must be executed first and then result of second decorator will be added to first. So what is the order of execution of decorators.
I have a little question, but important for me. I have created two decorators for shipping. One of them calculates price based on country and second based on order total sum. For me it is important that country decorator must be executed first and then result of second decorator will be added to first. So what is the order of execution of decorators.
Re: Order of Service?
The order of the decorators depends on the order you are adding the decorators in the service provider field in the "Service" panel of the admin interface. The decorators are executed from right to left so
will execute "Country", then "Total" and at last the "Standard" service provider
Code: Select all
Standard,Total,Country
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
