Page 1 of 1

Product filtering does not take price rules in account

Posted: 02 Dec 2022, 09:02
by kdim95
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

Re: Product filtering does not take price rules in account

Posted: 02 Dec 2022, 10:06
by aimeos
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.