Dalibor Votruba 3436f6231a studiou-wc-product-cat-manage: add translation support vor 1 Jahr
..
assets 922da8c490 studiou-wc-product-cat-manage: implements feature to moving products between categories vor 1 Jahr
includes 922da8c490 studiou-wc-product-cat-manage: implements feature to moving products between categories vor 1 Jahr
languages 3436f6231a studiou-wc-product-cat-manage: add translation support vor 1 Jahr
views 922da8c490 studiou-wc-product-cat-manage: implements feature to moving products between categories vor 1 Jahr
directory-structure.txt 3436f6231a studiou-wc-product-cat-manage: add translation support vor 1 Jahr
instructions.txt 922da8c490 studiou-wc-product-cat-manage: implements feature to moving products between categories vor 1 Jahr
readme.md 922da8c490 studiou-wc-product-cat-manage: implements feature to moving products between categories vor 1 Jahr
studiou-wc-product-cat-manage.php 3436f6231a studiou-wc-product-cat-manage: add translation support vor 1 Jahr

readme.md

QDR - Studiou WC Export/Import Product Categories

Version: 1.2

A WordPress plugin that extends WooCommerce to provide batch export and import functionality for product categories, along with category manipulation tools.

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. Additionally, it provides tools for manipulating categories and moving products between categories.

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
  • NEW: Move products between categories in bulk
  • User-friendly interface integrated with WooCommerce admin
  • Comprehensive validation and error reporting

Requirements

  • WordPress 6.8.1 or higher
  • PHP 8.2 or higher
  • WooCommerce 9.8 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

Category Manipulations

Moving Products Between Categories

  1. Go to Products > Category Manipulations
  2. Select the source category (from which products will be moved)
  3. Select the target category (to which products will be moved)
  4. Click "Do" to execute the move operation
  5. Review the results showing how many products were moved

Important Notes about Moving Products:

  • Products can be assigned to multiple categories. This operation will remove the product from the source category and add it to the target category.
  • If a product is only assigned to the source category, it will be moved entirely to the target category.
  • If a product is assigned to multiple categories including the source category, it will remain in the other categories and be moved to the target category.
  • The operation processes all products regardless of their status (published, draft, private).

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)

Menu Structure

After activation, the plugin adds the following menu items under Products in the WordPress admin:

  • Import Product Categories
  • Export Product Categories
  • Category Manipulations (NEW)

License

GPL v2 or later - https://www.gnu.org/licenses/gpl-2.0.html

Author

Dalibor Votruba
Website: Quadarax

Support

For support, please visit https://www.quadarax.com/plugins/studiou-wc-product-cat-manage

Changelog

Version 1.2.0

  • Added Category Manipulations functionality
  • New feature: Move products between categories
  • Enhanced admin interface with better user feedback
  • Improved security with proper nonce validation
  • Added comprehensive documentation

Version 1.1.0

  • Initial release with import/export functionality
  • Support for WooCommerce Protected Categories
  • CSV-based batch operations