How to Filter Discounted Products Using JSON:API?
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!
- PaoloLegaspi
- Posts: 35
- Joined: 07 Nov 2024, 15:02
How to Filter Discounted Products Using JSON:API?
Hey there,
Is it possible to filter products with discounts or rebates using JSON:API routes and queries? If so, could you share how to set that up? Thanks a lot!
Is it possible to filter products with discounts or rebates using JSON:API routes and queries? If so, could you share how to set that up? Thanks a lot!
Re: How to Filter Discounted Products Using JSON:API?
You can't filter for discounted products (products with a value greater than 0.00 for "rebate" in price items) by default because the rebate value isn't added to the index in the mshop_index_price table and there's no search configuration like this in the price index manager: https://github.com/aimeos/aimeos-core/b ... hp#L31-L51
If you can create a PR with the necessary changes, we are happy to merge it.
If you can create a PR with the necessary changes, we are happy to merge it.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
