Title: Random categories separator
Last modified: July 4, 2020

---

# Random categories separator

 *  Resolved [novy85](https://wordpress.org/support/users/novy85/)
 * (@novy85)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/random-categories-separator/)
 * Hello,
    when I export woocommerce products, some categories have the separator“
   |”, other have “>”. I don’t know why, could you help me, please?.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/random-categories-separator/#post-13111419)
 * Hi [@novy85](https://wordpress.org/support/users/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`
 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/random-categories-separator/#post-13147054)
 * Hey [@novy85](https://wordpress.org/support/users/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](https://wordpress.org/support/users/novy85/)
 * (@novy85)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/random-categories-separator/#post-13147091)
 * [@wpallimport](https://wordpress.org/support/users/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, 10 months ago by [novy85](https://wordpress.org/support/users/novy85/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Random categories separator’ is closed to new replies.

 * ![](https://ps.w.org/wp-all-export/assets/icon-256x256.png?rev=2570162)
 * [WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel](https://wordpress.org/plugins/wp-all-export/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-all-export/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-all-export/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-all-export/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-all-export/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-all-export/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [novy85](https://wordpress.org/support/users/novy85/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/random-categories-separator/#post-13147091)
 * Status: resolved