on 05-28-2015 9:47 AM
Hi,
There are some categories like Electronics, Stationary, Clothes, Men, Women, Kids and all these have some sub-categories, I want to define a root category as "\" which holds all the categories mentioned above. How can achieve this through impex. I tried this
INSERT_UPDATE Category;code[unique=true];allowedPrincipals(uid)[default='customergroup'];$catalogVersion
;\
it showed import is success, but I'm not able to see this category in hmc->Catalog->Categories
Try in quotes or to put "root" as "code" and "/" as name.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use this script for the same. This worked fine for me.
INSERT_UPDATE Category;code[unique=true];$catalogVersion;supercategories(code,$catalogVersion);allowedPrincipals(uid)[default='customergroup']
;\;;
;Electronics;;\;
;Stationary;;\;
;Clothes;;\;
;Men;;\;
;Women;;\;
;Kids;;\;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
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.