JSONAPI search for subcategories
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!
JSONAPI search for subcategories
Hello,
If i search with "&ai[filter][f_catid]=1" the results for the subcategories are missing. Is there a way to get subcategories as well?
i also tried &ai[filter][%7C%7C][][f_catid]=33 or i also tried &ai[filter][%7C%7C][][][f_catid]=33
thx
If i search with "&ai[filter][f_catid]=1" the results for the subcategories are missing. Is there a way to get subcategories as well?
- Categorie 1 (Chairs)
- Subcategorie 2 (Wooden Chairs)
- Subcategorie 2 (Steel Chairs)
i also tried &ai[filter][%7C%7C][][f_catid]=33 or i also tried &ai[filter][%7C%7C][][][f_catid]=33
thx
Re: JSONAPI search for subcategories
Set "client/html/catalog/lists/levels = 3" in your ./config/shop.php to get products from sub-categories too:
https://aimeos.org/docs/latest/config/c ... ts/#levels
https://aimeos.org/docs/latest/config/c ... ts/#levels
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