Dalibor Votruba 79ac5ab5cc studiou-wc-product-cat-manage: change version to 1.2.2 1 gadu atpakaļ
..
assets 99e1d64623 studiou-wc-product-cat-manage: add support batch description update, update translations 1 gadu atpakaļ
includes 1f09238671 studiou-wc-product-cat-manage: fix export visibility and password 1 gadu atpakaļ
languages 99e1d64623 studiou-wc-product-cat-manage: add support batch description update, update translations 1 gadu atpakaļ
views 99e1d64623 studiou-wc-product-cat-manage: add support batch description update, update translations 1 gadu atpakaļ
directory-structure.txt 3436f6231a studiou-wc-product-cat-manage: add translation support 1 gadu atpakaļ
instructions.txt 99e1d64623 studiou-wc-product-cat-manage: add support batch description update, update translations 1 gadu atpakaļ
readme.md 99e1d64623 studiou-wc-product-cat-manage: add support batch description update, update translations 1 gadu atpakaļ
studiou-wc-product-cat-manage.php 79ac5ab5cc studiou-wc-product-cat-manage: change version to 1.2.2 1 gadu atpakaļ

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, moving products between categories, and batch updating category descriptions.

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
  • Move products between categories in bulk
  • Batch description update for multiple categories
  • 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).

Batch Description Between Categories

  1. Go to Products > Category Manipulations
  2. Scroll to the "Batch description between categories" section
  3. Select one or more categories using the checkboxes
    • Use "Check All" to select all categories
    • Use "Uncheck All" to deselect all categories
  4. Enter the description text in the textarea
  5. Click "Do" to apply the description to all selected categories
  6. Review the results showing how many categories were updated

Important Notes about Batch Description:

  • The operation will overwrite the existing descriptions for all selected categories
  • Categories can be selected individually or in bulk using the check/uncheck all buttons
  • The description field supports multi-line text
  • All selected categories will receive exactly the same description

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
    • Move products between categories
    • Batch description between categories

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
  • New feature: Batch description between categories
  • Enhanced admin interface with better user feedback
  • Improved security with proper nonce validation
  • Added comprehensive documentation
  • Direct database queries for reliable product detection

Version 1.1.0

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