前言介紹
- 這款 WordPress 外掛「Shipping Class By Category For Woocommerce」是 2024-11-04 上架。
- 目前有 40 個安裝啟用數。
- 上一次更新是 2025-12-13,距離現在已有 75 天。
- 外掛最低要求 WordPress 4.7 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.1 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
ah72king |
外掛標籤
bulk edit | shipping class | assign shipping class by category |
內容簡介
總結:本外掛讓您可以輕鬆地按照商品類別為 WooCommerce 指定運費類別,節省時間並避免大量編輯的限制。
問題與答案:
1. Shipping Class By Category For WooCommerce 外掛的主要功能是什麼?
- 主要功能是讓您可以透過幾個點擊,根據商品的分類為其指定運費類別。
2. 這個外掛有哪些關鍵特色?
- 可以將運費類別指定給所選類別內的所有商品。
- 可以在 WooCommerce 商品表格中的管理面板中顯示運費類別欄位。
- 透過 AJAX 批次處理,確保伺服器不會逾時,即使商品目錄龐大。
3. 為什麼要使用這個外掛?
- 因為 WooCommerce 內建的大量編輯功能僅限於 999 個商品,並且在低記憶體環境下可能導致伺服器崩潰。這個外掛透過 AJAX 批次處理來解決這個問題,確保順暢運作,即使商品龐大。透過自動化指定程序,讓您可以將運費類別應用到整個分類,節省大量手動工作時間。
原文外掛簡介
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:
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
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
“WooCommerce is not active” error
Ensure WooCommerce is installed and activated
Check that WooCommerce version is 5.0 or higher
“Security check failed” error
Try refreshing the page and attempting the operation again
Ensure you’re logged in as an administrator
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
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
To enable debug logging, add this to your wp-config.php:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
Plugin errors will be logged to /wp-content/debug.log.
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.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Shipping Class By Category For Woocommerce」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.2 | 1.0.3 | 1.1.0 | trunk |
延伸相關外掛(你可能也想知道)
BEAR – Bulk Editor and Products Manager Professional for WooCommerce by Pluginus.Net 》「Products Bulk Editor and Products Manager for WooCommerce (BEAR)」(以前名為 WOOBE)是一款 WordPress 外掛程式,可以以堅韌和靈活的方式批次編輯和管...。
ACF Quick Edit Fields 》這個 WordPress 外掛為 Advanced Custom Fields Plugin(Pro 和 Free 5+)增加了快速編輯功能。, 特色, , 在清單檢視中顯示 ACF 欄位值, 支援的 ACF 欄位類型...。
PW WooCommerce Bulk Edit 》PW WooCommerce Bulk Edit 是一個更新 WooCommerce 產品目錄的強大工具。, , 即時預覽 - 在儲存前可以看到即將更改的內容。不再有意外!, 除了批量編輯外,還...。
Bulk Edit Products for WooCommerce – WP Sheet Editor 》商品批次編輯器,可以快速編輯 WooCommerce 商品,也可以批量創建商品。, , 使用案例, , WooCommerce 商店:您可以在單一頁面上查看所有商品, 您想要快速創建...。
Media Library Helper — Bulk edit image ALT, caption & description 》如果你在WordPress媒體庫中有大量的圖片而且擔心如何更新它們的ALT標籤、標題或描述,不用擔心。這個外掛讓你只需在WordPress控制面板的媒體庫頁面上點擊幾下...。
Bulk remove posts from category 》批量文章編輯功能可以讓您對選定的多個 WordPress 文章進行操作,而不是手動處理每篇文章,這將非常耗時,特別是如果您有大量的文章。, 然而,預設的批量編輯...。
Bulk Edit Posts and Products in Spreadsheet 》一個專門為WordPress設計的電子表格。使用電子表格大量編輯文章。, , 它適用於古騰堡(新編輯器)和經典編輯器, 您可以使用古騰堡編輯器直接在電子表格中編輯...。
WOLF – WordPress Posts Bulk Editor and Manager Professional 》WOLF – WordPress Posts Bulk Editor and Manager Professional (舊稱 WPBE) 是一個 WordPress 外掛程式,可強大而靈活地管理和批量編輯 WordPress 發佈的文...。
ELEX WooCommerce Bulk Edit Products, Prices & Attributes (Basic) 》。
Bulk Edit Categories and Tags – Create Thousands Quickly on the Editor 》此外掛可提供 WordPress 批次編輯功能,讓你能夠查看和編輯所有的網誌分類和標籤。你不需要導出或匯入,只需編輯、保存,所有更改即時套用。, 你可以在表格中...。
Woo Bulk Price Update 》WooCommerce 批量價格更新外掛程式是為了協助商店擁有者在短時間內快速更新商品價格而建立的,包括變體產品。您不必進入每個產品進行更改。您可以同時更新所...。
Multiple Page Generator Plugin – MPG 》翻譯如下:, , MPG 是為網站開發人員和 SEO 專家提供的解決方案,可在同一個域名下批量創建多個頁面。, 使用 MPG,您只需幾分鐘就可以輕鬆地增加網站上的獨特...。
Bulk Edit YOAST SEO fields in Spreadsheet 》使用此外掛時,您可以在試算表中批次編輯文章、頁面和 WooCommerce 產品時,編輯 YOAST SEO 標題、描述、關鍵字、索引狀態和檢視 SEO 分數。, 當您需要優化網...。
Product Editor Pro – WooCommerce Bulk Edit: Prices, Stock, Inventory, Categories & SKU 》完全免費的外掛程式,方便集體或個別編輯 WooCommerce 產品。, 支援簡單、變動和外部產品類型。, 可以更改價格、特價價格和特價日期。, 功能, , 通過固定值或...。
Custom Bulk/Quick Edit 》透過 Custom Bulk/Quick Edit 擴充功能,您可以在批次編輯和快速編輯的畫面中,透過文字、複選框、單選框、下拉選單和文字編輯區等輸入方式,編輯文章的 meta...。
