Price rule don't work correctly
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Price rule don't work correctly
Hello aimeos.
I created a new price rule.
I noticed that the rule does not work in the basket if you add a product Selection type and change the quantity in the basket price change to base, but if the product Article type the rule works perfectly.
Also not working and show base price:
Favorite products all types,
Watched products all types,
Last seen Selection types.
Other types does not tested.
What files should I change to make everything work? Where to look for the problem? Help please.
"aimeos/aimeos-laravel": "2021.10.*"
PHP 7.4.30
Laravel Framework 8.83.25
Ubuntu 18.04.6 LTS
I created a new price rule.
I noticed that the rule does not work in the basket if you add a product Selection type and change the quantity in the basket price change to base, but if the product Article type the rule works perfectly.
Also not working and show base price:
Favorite products all types,
Watched products all types,
Last seen Selection types.
Other types does not tested.
What files should I change to make everything work? Where to look for the problem? Help please.
"aimeos/aimeos-laravel": "2021.10.*"
PHP 7.4.30
Laravel Framework 8.83.25
Ubuntu 18.04.6 LTS
Re: Price rule don't work correctly
Thank you for the hint!
The price rules are now applied to variant articles and in favorite and watched products too.
For last seen products, this should also work but keep in mind that they are cached in the session and won't be updated when the rules change or you reload the page.
You can get the updated packages by executing:
If it works for you too, we will tag a new release.
The price rules are now applied to variant articles and in favorite and watched products too.
For last seen products, this should also work but keep in mind that they are cached in the session and won't be updated when the rules change or you reload the page.
You can get the updated packages by executing:
Code: Select all
composer req aimeos/aimeos-core:2021.10.x-dev aimeos/ai-controller-frontend:2021.10.x-dev
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
Re: Price rule don't work correctly
Thank you for response and great work.
Price rule works as it should.
But the basic price is also displayed in the profile Favorite and Watched if login.
Price rule works as it should.
But the basic price is also displayed in the profile Favorite and Watched if login.
Re: Price rule don't work correctly
Sorry, forgot to backport the fixes for the favorite and watched products to 2021.10.
You can now get the new package using:
You can now get the new package using:
Code: Select all
composer req aimeos/ai-client-html:2021.10.x-dev
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