Kung Woo Auto Sku for WooCommerce
Kung Woo Auto Sku for WooCommerce
Description
Kung Woo Auto Sku for WooCommerce is a lightweight and efficient tool designed to save you time by automatically managing your product SKUs.
Whenever you create or save a product (or product variation), the plugin checks if the SKU field is empty. If it is, the plugin automatically generates a unique SKU based on the product ID. You can fully customize the generated SKUs with custom prefixes and leading zeros.
Main Features
- Automatic SKU Generation: Automatically assigns the Product ID (or Variation ID) as the SKU upon saving.
- Bulk Generation: A powerful AJAX-based bulk tool to generate SKUs for all existing products and variations in your store with a single click. Safe for large stores!
- Custom Prefix: Add any string before the ID (e.g.,
SKU-1234). - Leading Zeros: Define a minimum length for your SKUs. The plugin will automatically pad the ID with leading zeros (e.g., ID
12becomesSKU-0012). - Read-Only Protection: Lock the SKU field on the WooCommerce product edit screen to prevent accidental manual edits of auto-generated SKUs.
- Overwrite Mode (New!): Force the plugin to overwrite existing custom SKUs with your new, standardized auto-generated format during bulk generation or product saving.
This plugin is designed with performance in mind and strictly follows WordPress and WooCommerce coding standards.
Installation
- Ensure that WooCommerce is installed and activated.
- Upload the
kung-woo-auto-sku-for-woocommercefolder to the/wp-content/plugins/directory, or install the plugin directly through the WordPress plugins screen. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Navigate to WooCommerce > Auto SKU to configure your prefix, leading zeros, and other preferences.
- (Optional) Use the Bulk Actions section to generate SKUs for existing products.
Screenshots
Faq
Yes! The plugin fully supports variable products and will automatically generate a unique SKU for every single variation based on its specific Variation ID.
Absolutely. The Bulk Generation tool uses AJAX to process products in small batches (50 at a time), ensuring your server does not crash or time out, regardless of how many products you have.
You can enable the “Overwrite Existing SKUs” option in the settings. When you run the Bulk Generation tool, it will replace all your current SKUs with the new auto-generated format. Please use this feature with caution.
If the “Read-Only SKU Field” option is enabled in the settings, manual editing of the SKU field is blocked to maintain consistency in your SKU formatting. You can turn this off in the settings at any time.
Reviews
Changelog
1.2.0
- Feature: Added “Overwrite Existing SKUs” option for strict standardizing of all store SKUs.
- Enhancement: Improved bulk generation AJAX logic with better pagination support for the overwrite mode.
1.1.0
- Tweak: Renamed plugin to comply with trademark guidelines (clarified integration with WooCommerce).
- Fix: Enqueued all JavaScript properly using WordPress standard hooks (
admin_enqueue_scripts) instead of inline tags. - Enhancement: Added
Requires Plugins: woocommercedependency header.
1.0.0
- Initial release.

