# QDR - Studiou WC Export/Import Product Categories **Version: 1.0** A WordPress plugin that extends WooCommerce to provide batch export and import functionality for product categories. ## Description QDR - Studiou WC Export/Import Product Categories is a powerful WordPress plugin for WooCommerce store administrators who need to manage product categories in bulk. This plugin allows you to export your existing product categories to a CSV file, make modifications, and import them back into your store. The plugin also supports the WooCommerce Protected Categories extension, allowing you to manage visibility settings and passwords for your product categories. ## Features - Export all product categories to a CSV file - Import product categories from a CSV file - Add, update, or delete product categories in batch - Support for WooCommerce Protected Categories visibility settings - User-friendly interface integrated with WooCommerce admin - Comprehensive validation and error reporting ## Requirements - WordPress 6.7.2 or higher - PHP 8.2 or higher - WooCommerce 9.7 or higher - WooCommerce Protected Categories 2.7 or higher ## Installation 1. Download the plugin ZIP file 2. Go to WordPress Dashboard > Plugins > Add New 3. Click "Upload Plugin" and select the ZIP file 4. Click "Install Now" 5. Activate the plugin ## CSV Format The plugin uses CSV files with the following columns: | Column | Description | |--------|-------------| | name | Product Category Name | | url-name | Product Category URL slug | | parent-name | Parent Product Category Name (empty if no parent) | | description | Product Category description | | display-type | Product Category display type (values: 'default', 'products', 'subcategories', 'both') | | visibility | Product Category visibility (values: 'public', 'protected') | | protected-passwords | Pipe (|) separated passwords if visibility is 'protected' | | operation | Record operation: 'A' - add, 'U' - update, 'D' - delete | ## Usage ### Exporting Product Categories 1. Go to Products > Export Product Categories 2. Click "Export Product Categories" 3. Download the generated CSV file ### Importing Product Categories 1. Go to Products > Import Product Categories 2. Select your CSV file 3. Click "Import Product Categories" 4. Review the import results ## Sample CSV ``` name,url-name,parent-name,description,display-type,visibility,protected-passwords,operation "Clothing","clothing","","Top quality clothing","default","public","","A" "Men","men","Clothing","Men's clothing","products","public","","A" "Women","women","Clothing","Women's clothing","products","protected","password123","A" "Kids","kids","Clothing","Kids clothing","products","public","","U" "Accessories","accessories","","All accessories","default","public","","D" ``` ## Import Operations - `A` - Add a new product category - `U` - Update an existing product category (identified by name) - `D` - Delete an existing product category (identified by name) ## License GPL v2 or later - https://www.gnu.org/licenses/gpl-2.0.html ## Author Dalibor Votruba Website: [Quadarax](https://www.quadarax.com) ## Support For support, please visit [https://www.quadarax.com/plugins/studiou-wc-product-cat-manage](https://www.quadarax.com/plugins/studiou-wc-product-cat-manage)