Hi @novy85,
when I export woocommerce products, some categories have the separator “|”, other have “>”. I don’t know why, could you help me, please?
The “|” separates multiple categories/hierarchy groups, while “>” separates categories in the same hierarchy. For example, if these categories were assigned to your product:
Clothing
- T-Shirts
- - Specials
Featured
- Clothing
Summer Sale
Clearance
Hot Deals
They would look like this in an export:
Clothing>T-Shirts>Specials|Featured>Clothing|Summer Sale|Clearance|Hot Deals
Hey @novy85, I am going to mark this as resolved since we haven’t heard back. You can follow up here if you still have questions about this issue.
Anyone else reading this, please open a new topic.
Thread Starter
novy85
(@novy85)
@wpallimport I fixed it making a string replace in the field for name of categories. I set the separator on “>” and with string replace I changed all the “|” separators into “>”. I had too many products and I wanted to made automatically the import, otherwise I had to manipulate every time the csv, upload it and run import manually. Surely the csv was wrong, with these different separators,but with this solution I can import products with cron jobs automatically and don’t think about it 🙂
-
This reply was modified 5 years, 8 months ago by
novy85.