Product filtering does not take price rules in account

Help for integrating the Laravel package
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!
kdim95
Posts: 52
Joined: 26 Aug 2022, 12:17

Product filtering does not take price rules in account

Post by kdim95 » 02 Dec 2022, 09:02

Laravel framework version: 9.42.2
Aimeos Laravel version: ~2022.10
PHP Version: 8.1.13
Environment: Linux

How to reproduce:
  1. Create a discount category
  2. Create a Percent,Category rule for the discount category
  3. Go to product listing and attempt to filter by price, the products do not filter based on the discount

User avatar
aimeos
Administrator
Posts: 6908
Joined: 01 Jan 1970, 00:00

Re: Product filtering does not take price rules in account

Post by aimeos » 02 Dec 2022, 10:06

It's impossible to sort by prices modified by dynamic price rules because the rules are applied after the sorting is done by the database. Thus, the prices are only sorted by the prices stored in the database.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply