JsonApi search by product attribute
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: 20
- Joined: 07 Nov 2024, 15:02
JsonApi search by product attribute
Is it possible to search a product based on an attribute? I created an attribute called gender and assigned it to type hidden. With it has attributes Male and Female.
Is this correct?
Is this correct?
Code: Select all
/jsonapi/product?filter[%3D%3D][product:has('attribute','default',462), '!=', null]&include=attribute
Re: JsonApi search by product attribute
Use f_attrid, f_optid or f_oneid for searching for attributes:
https://aimeos.org/docs/latest/frontend ... attributes
https://aimeos.org/docs/latest/frontend ... attributes
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