on ‎2018 Aug 16 3:22 PM
HI All,
Facing issue in product advance search in Backoffice , getting zero results if in supercategories I use super to supercategory.
INSERT_UPDATE Category;code[unique=true];$catalogVersion;supercategories(code,$catalogVersion)
;categories;;
;clothes;;categories;
INSERT_UPDATE Product;code[unique=true];$catalogVersion;unit(code);supercategories(code,$catalogVersion) ;300441142;;pieces;clothes
If in Supercategories attributes I search for categories m getting zero results.
If any solution, in this case, would be appreciated.
Thanks Upfront,
Request clarification before answering.
Make sure to use [unique=true] for the code
INSERT_UPDATE Product;code[unique=true];$catalogVersion;unit(code);supercategories(code[unique=true],$catalogVersion) ;300441142;;pieces;clothes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jagnya,
I tried to reproduce your issue by taking following steps (please correct me, if I have done something diffrently):
Import new supercategory and new category (set structure) via ImpEx Import in hac
Import new product (set of which category)
In my case: Supercategory is categories1 Subcategory is clothes1
In Backoffice using advance search: set Supercategories Attribute Contains clothes1
click plus sign to add criterion
click Search Button
get no results
If process I conducted is the same as yours, I think it is caused by lack of any subcategory attached to clothes1. You can think about structure as about pyramid – there is nothing below clothes1, so clothes1 is not Supercategory to any category. In other words there is not any existing category that has clothes1 as its Supercategory.
Hope that clarifies the current situation,

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.