Auto Create WooCommerce Product Categories from Attributes


Contributors: YBO Digital
Tags: woocommerce, product categories, category sync, automation, product management
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.2
Stable tag: 2.4
Requires WooCommerce: 3.0
WC tested up to: 8.0
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt

Automatically creates and assigns WooCommerce product categories based on existing product attributes, strictly excluding variation attributes. Supports nested subcategories using the > delimiter.


Description

Auto Create WooCommerce Product Categories from Attributes is a powerful tool that automatically generates and manages product categories based on your product attributes. This plugin streamlines your WooCommerce category management by creating a logical category structure from your existing product attributes.


Key Features

  • Automatic Category Creation: Generates product categories based on attributes
  • Excludes Variations: Ensures only relevant attributes are considered
  • Nested Category Support: Uses > to define subcategories
  • Manual & Scheduled Syncing: Run category updates manually or on an automated schedule
  • Admin Control Panel: Provides an intuitive interface for managing category sync settings
  • Lightweight & Efficient: Designed for minimal impact on performance

Use Cases

  • Automatically organize products based on attributes like Brand, Color, Size, etc.
  • Create hierarchical category structures (e.g., Brand > Type > Model)
  • Maintain consistent category organization across your store
  • Save time on manual category management
  • Ensure products are properly categorized based on their attributes

Example

If you have a product with the following attributes:

  • Brand: Nike
  • Type: Running
  • Color: Red

The plugin will create categories:

  • Nike > Running
  • Nike > Red

Installation

  1. Upload the plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the WordPress admin panel
  3. Navigate to Category Sync in your WordPress admin menu
  4. Click Run Manual Sync to start the initial category creation

Frequently Asked Questions

Does this plugin work with variable products?

Yes, the plugin works with variable products but automatically excludes variation attributes from category creation. For example, if you have a variable product with size and color variations, these attributes won’t create categories.

How do I create nested categories?

Use the > symbol to create nested categories in your attribute values. For example:

  • Brand > Type > Model
  • Category > Subcategory > Item

Can I exclude certain attributes from creating categories?

Yes, you can exclude specific attributes from creating categories through the plugin settings.

Will this plugin delete existing categories?

By default, the plugin preserves existing categories. You can enable the Delete Orphaned Categories option in settings if you want to remove categories that have no products.

How often does the automatic sync run?

The plugin runs an automatic sync every hour to keep your categories up to date.


Screenshots

  • Plugin settings page
  • Category sync interface
  • Example of nested categories
  • Attribute-based category structure

Changelog

2.4

  • Improved variation attribute detection
  • Enhanced error handling and logging
  • Added progress tracking for manual sync
  • Fixed category creation issues
  • Added support for WooCommerce 8.0

2.3

  • Added support for WooCommerce 7.0
  • Improved performance for large product catalogs
  • Enhanced error reporting

2.2

  • Added support for WooCommerce 6.0
  • Fixed issues with special characters in category names
  • Improved category hierarchy handling

2.1

  • Added support for WooCommerce 5.0
  • Improved handling of nested categories
  • Enhanced performance for large product catalogs
  • Fixed minor bugs related to variation attributes

2.0

  • Complete rewrite for better performance
  • Added support for nested categories
  • Improved variation attribute handling
  • Added manual sync option

1.0

  • Initial release

Upgrade Notice

2.4
Major update with improved variation attribute detection, enhanced error handling, and progress tracking for manual sync operations.


Privacy Policy

This plugin does not collect or store any personal data. It only processes product attributes and categories within your WordPress installation.


Support

For support, please visit YBO Digital.


Credits

Developed by YBO Digital.

Skills

Posted on

March 12, 2025

X
0
    0
    Your Cart
    Your cart is emptyReturn to Shop