Filter products by order amount?
Posted: 28 Nov 2022, 14:56
Laravel framework version: 9.41.0
Aimeos Laravel version: * 2022.07.2
PHP Version: 8.1.12
Environment: Linux
What's the best way to do this?
The file I'm redacting is a customized version of ai-client-html/src/Client/Html/Catalog/Lists/Standard.
I'm changing the filtering inside data() function.
I am planning to add a new "orders" column to the mshop_product table and modify the Orders manager to update that column on a new order, but I want to know if there is a more efficient way to do it.
Aimeos Laravel version: * 2022.07.2
PHP Version: 8.1.12
Environment: Linux
What's the best way to do this?
The file I'm redacting is a customized version of ai-client-html/src/Client/Html/Catalog/Lists/Standard.
I'm changing the filtering inside data() function.
I am planning to add a new "orders" column to the mshop_product table and modify the Orders manager to update that column on a new order, but I want to know if there is a more efficient way to do it.