Title: Loading multiple product groups
Last modified: September 3, 2020

---

# Loading multiple product groups

 *  Resolved [ilyapokrov](https://wordpress.org/support/users/ilyapokrov/)
 * (@ilyapokrov)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/loading-multiple-product-groups/)
 * Perhaps my question is from the category of “for beginners”. But I want to clarify
   how to do it correctly.
 * For example: I have a file that contains 100 categories. I imported it by reference.
   I selected one category and uploaded all the products.
 * Now I want to go to the second category and upload all its products to the site
   using the same import file.
 * What should I do? Do I have to load all one hundred categories in this way, thereby
   increasing the size of the database? After all, I will have a hundred thousand
   imports?
 * P.S. I can’t upload a single file, because the description generation for each
   category of the product group is different.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Floading-multiple-product-groups%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/loading-multiple-product-groups/#post-13384422)
 * Hi [@ilyapokrov](https://wordpress.org/support/users/ilyapokrov/),
 * I’m not sure if I fully understand why it’s necessary to upload only 1 category
   of products at a time. Is it due to the structure of the file or something? Can
   you elaborate a bit and provide some examples of the data (you can use dummy 
   data if necessary)?
 *  Thread Starter [ilyapokrov](https://wordpress.org/support/users/ilyapokrov/)
 * (@ilyapokrov)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/loading-multiple-product-groups/#post-13388685)
 * [@wpallimport](https://wordpress.org/support/users/wpallimport/),
    This is necessary
   for two reasons. 1) There are 1000 categories in the file. Each of them contains
   100 products and a minimum of information about each product. To avoid creating
   unnecessary and empty products on my site that will never bring me traffic, I
   act consistently. I upload one category of goods, bring it in order, manually
   add a description and photos. Only after that I want to start adding the next
   product category. 2) I generate a description for each product group is different.
   For example: Category “phone”. Description – a beautiful phone (brand, model)
   fits in your pocket, etc. Category “scooter”. Description – a fast scooter (make,
   model) suitable for children, etc.
 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/loading-multiple-product-groups/#post-13435479)
 * Hi [@ilyapokrov](https://wordpress.org/support/users/ilyapokrov/),
 * Thanks for clarifying.
 * You can do this with an XPath filter: [http://www.wpallimport.com/documentation/advanced/filtering-with-xpath/](http://www.wpallimport.com/documentation/advanced/filtering-with-xpath/).
   You would add a filter that makes sure only the category you’re wanting is imported.
   Then, when you’re ready, you can edit the filter via _Manage Imports -> Import
   Settings -> XPath_ (see: [https://d.pr/i/ozskAO](https://d.pr/i/ozskAO)) to change
   it to the next category, then save and re-run the import.
 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/loading-multiple-product-groups/#post-13480122)
 * Hi [@ilyapokrov](https://wordpress.org/support/users/ilyapokrov/),
 * I’m marking this as resolved since we haven’t heard back in a while. You can 
   follow up in this thread if you still have questions.
 * Anyone else reading this, please open a new topic.

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

The topic ‘Loading multiple product groups’ is closed to new replies.

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

 * 4 replies
 * 2 participants
 * Last reply from: [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/loading-multiple-product-groups/#post-13480122)
 * Status: resolved