🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Shipping Class By Category For Woocommerce icon
Maintained Tested up to 7.0.9 #1 in assign shipping class by category

Shipping Class By Category For Woocommerce

Assign WooCommerce shipping classes to products by category, saving time and avoiding bulk edit limitations.

Active installs40+10+ tier
Downloads · 30d203▲ +75% vs prev. 30d
Rating—0 reviews
Health score52/100Fair
All-time downloads1.6KSince Nov 2024
Support resolved—No recent threads
RequiresWP 5.6PHP 7.4+
Downloads · 7d62▲ +59% week over week
Our verdict

Use with caution

Shipping Class By Category For… works, but test it on a staging site before relying on it in 2026. It runs on 40+ sites and was last updated 5 months ago, and scores 52/100 on our health check.

  • Small user base (40+ active installs)
  • Very few reviews so far

Daily downloads

51015Sep 7Oct 21Dec 5
Yesterday9
Daily average (1y)3
Peak day34Jun 26, 2026
Last 12 months1.2K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Shipping Class By Category… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
assign shipping class by category #4 112 Best assign shipping class by category plugins →
bulk edit >100 4,383 Best bulk edit plugins →
shipping class #58 1,319 Best shipping class plugins →

Version adoption

Share of active sites per release.

  • 1.3100.0%

About Shipping Class By Category For Woocomme…

From the official readme · v1.3.0

Description

Assign WooCommerce shipping classes to products by category, saving time and avoiding bulk edit limitations.

Requirements

  • WordPress 5.0 or higher
  • WooCommerce 5.0 or higher
  • PHP 7.4 or higher
  • MySQL 5.6 or higher, OR MariaDB 10.1 or higher

Automatic installation

Automatic installation is the easiest option — WordPress will handle the file transfer, and you won’t need to leave your web browser. To do an automatic installation of Shipping Class By Category For Woocommerce, log in to your WordPress dashboard, navigate to the Plugins menu, and click “Add New.”

In the search field type “Shipping Class By Category For Woocommerce” then click “Search Plugins.” Once you’ve found us, you can view details about it such as the point release, rating, and description. Most importantly, of course, you can install it by clicking “Install Now,” and WordPress will take it from there.

Manual installation

Manual installation method requires downloading the Shipping Class By Category For Woocommerce plugin and uploading it to your web server via your favorite FTP application. The WordPress codex contains instructions on how to do this here.

Detail Description

General

Shipping Class By Category For WooCommerce allows you to assign shipping classes to products based on their category in just a few clicks. Instead of manually editing each product or facing the limitations of bulk editing (which often fails with large product counts), this plugin lets you assign shipping classes efficiently, even for stores with thousands of products.

Key Features:

  • Subcategory Support: Optionally include subcategory products when bulk assigning to a parent category, with a confirmation prompt listing affected subcategories
  • Parent Class Inheritance: Optionally inherit shipping class from a parent category when a new product’s direct category has none assigned
  • Bulk Category Assignment: Assign shipping classes to all products within a selected category
  • AJAX Batch Processing: Handles large product catalogs without server timeouts
  • Automatic Assignment: New products automatically get shipping classes based on their category
  • Live Category Reassignment: When an existing product is moved to a different category, its shipping class updates automatically to match the new category
  • Custom Product Column: Optional shipping class column in the WooCommerce products table
  • Progress Tracking: Real-time progress bar during bulk operations
  • Error Handling: Robust error handling with retry mechanisms
  • Security: Proper nonce verification and capability checks

Security Features

  • Nonce Verification: All AJAX requests are protected with WordPress nonces
  • Capability Checks: Only users with manage_woocommerce capability can perform operations
  • Input Validation: All user inputs are properly sanitized and validated
  • SQL Injection Protection: Uses WordPress’s $wpdb->prepare() for all database queries

Performance Optimizations

  • Batch Processing: Processes products in configurable batches (default: 25 products)
  • Memory Management: Sets appropriate memory limits for large operations
  • Efficient Queries: Uses optimized database queries to minimize server load
  • Cache Management: Properly clears object cache after operations
  • Retry Logic: Implements exponential backoff for failed requests

Why Use This Plugin?

WooCommerce’s built-in bulk editing feature is limited to 999 products and may cause server crashes on low-memory setups. Shipping Class By Category For WooCommerce solves this issue by using batch processing through AJAX, ensuring smooth operation even for large stores. This plugin automates the assignment process, allowing you to apply shipping classes to entire categories, saving hours of manual work.

Settings

Plugin gives you an option to show the shipping class assigned to the product on the product table in the WordPress admin panel products listing page

Troubleshooting

Common Issues

  1. “WooCommerce is not active” error

    • Ensure WooCommerce is installed and activated
    • Check that WooCommerce version is 5.0 or higher
  2. “Security check failed” error

    • Try refreshing the page and attempting the operation again
    • Ensure you’re logged in as an administrator
  3. Slow processing

    • The plugin processes products in batches to prevent server timeouts
    • Large categories may take several minutes to process
    • Monitor the progress bar for real-time updates
  4. Memory errors

    • The plugin automatically sets memory limits, but you may need to increase PHP memory limit on your server
    • Contact your hosting provider if issues persist

Debug Mode

The plugin has its own debug flag so you can get detailed logs without flooding your general debug log with unrelated WordPress noise.

To enable plugin-level debug logging, add all three lines to your wp-config.php:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'SCBCFW_DEBUG', true );

All three must be present and set to true. Removing or omitting SCBCFW_DEBUG disables plugin logging even if WordPress debug mode is on.

Logs are written to /wp-content/debug.log and are prefixed with [SCBCFW] so they are easy to filter. Each entry includes the product ID, the category being checked, and the resolved shipping class slug, making it straightforward to trace why a product received a particular class (or none at all).

Example log output when a product’s category is changed:

[SCBCFW] Product #42: product_cat changed, resolving shipping class.
[SCBCFW] Product #42: checking category "Category B" (term_id=5), scbcfw_shipping_class="8".
[SCBCFW] Product #42: resolved to shipping class "freight".
[SCBCFW] Product #42: applying shipping class "freight".

Remember to remove SCBCFW_DEBUG (or set it to false) on production sites once you are done diagnosing.

Support

For support, feature requests, or bug reports, please visit the plugin support page.

License

This plugin is licensed under the GPL v2 or later.

Note: This plugin is designed to work with WooCommerce’s standard shipping class system. For custom shipping solutions, additional configuration may be required.

Changelog

1.3.0

  • Fix: Shipping class now updates automatically when an existing product is moved to a different category. Previously the automatic assignment only ran on newly created products and was silently skipped for any update, so category reassignments had no effect.
  • Fix: Resolved a timing issue where WooCommerce would overwrite the newly assigned shipping class with the stale form value during the same save request. The plugin now uses a two-phase approach — resolving the correct class early in the save cycle and writing it after WooCommerce has finished, so the final value is always correct.
  • Improvement: New-product and category-change handling now share the same resolution logic via a single private helper, so parent-inheritance behaviour is identical in both cases and future changes only need to be made in one place.
  • New: Added plugin-specific debug logging. When WP_DEBUG, WP_DEBUG_LOG, and SCBCFW_DEBUG are all set to true in wp-config.php, the plugin writes step-by-step entries to /wp-content/debug.log (prefixed [SCBCFW]) covering category detection, shipping class resolution, and final assignment. See the Debug Mode section for details.
  • Note: Existing behavior for new products and bulk assignment is unchanged.

1.2.0

  • New Feature: Subcategory support – when enabled, bulk assignment also updates products in subcategories that have no shipping class of their own. Subcategories with an existing shipping class assignment are always skipped.
  • New Feature: Confirmation prompt shown before processing, listing affected subcategory names, so no products are updated by surprise
  • New Feature: Parent category inheritance for new products – option to walk up to parent categories if a new product’s direct category has no shipping class assigned
  • New Feature: Hierarchical category dropdown – categories now display in parent → child tree format (with indentation) for easier navigation in large stores
  • New Feature: Optional shipping class column in the WooCommerce product categories table
  • Settings: New option added to enable/disable the categories table column (disabled by default)
  • Settings: Two new options added to the Settings page to control subcategory and parent inheritance behavior (both disabled by default to preserve existing behavior)
  • Improvement: JavaScript refactored to support subcategory confirmation flow before batch processing begins
  • Note: All new options are opt-in and disabled by default – existing behavior is unchanged unless you enable them

1.1.0

  • UX Improvement: Categories are now sorted alphabetically in both the assignment dropdown and overview table
  • Better Organization: Makes it easier to find specific categories in large stores
  • Security Improvements: Enhanced nonce verification and input validation
  • Code Quality: Refactored code structure with proper separation of concerns
  • Documentation: Added comprehensive PHPDoc blocks and inline comments
  • Error Handling: Improved error handling and user feedback
  • Performance: Optimized database queries and batch processing
  • Standards: Updated to follow WordPress coding standards
  • Fixed JavaScript and CSS enqueuing
  • Improved batch processing stability

1.0.3

Woocommerce required check added.

1.0.2

JavaScript and Style CSS are enqueued.

1.0.1

  • Shipping Class assignment using Batch (Ajax basis) so server timeout does not happen on low memory servers if there are too many products in a category.

Full changelog on WordPress.org →

Screenshots

Main Assignment Screen
Main Assignment Screen
Settings
Settings

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

FAQ

Shipping Class By Category For Wooc…: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Shipping Class By Category For… free?

Yes. Shipping Class By Category For… is free to download and use from the official WordPress.org plugin directory.

Is Shipping Class By Category For… safe to use in 2026?

Shipping Class By Category For… works, but test it on a staging site before relying on it in 2026. It runs on 40+ sites and was last updated 5 months ago, and scores 52/100 on our health check.

How many websites use Shipping Class By Category For…?

Shipping Class By Category For… is active on 40+ WordPress websites and has been downloaded 1,605 times since it launched in November 2024. It was downloaded 203 times in the last 30 days.

Does Shipping Class By Category For… work with WordPress 7.1?

Shipping Class By Category For… is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Shipping Class By Category For… need?

Shipping Class By Category For… requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Shipping Class By Category For… last updated?

The latest version, 1.3.0, was released on June 26, 2026 (5 months ago).

Who makes Shipping Class By Category For…?

Shipping Class By Category For… is developed and maintained by ah72king.

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open