[WordPress] 外掛分享: WPRepublic Bulk Category Removal for WooCommerce

首頁外掛目錄 › WPRepublic Bulk Category Removal for WooCommerce
全新外掛
安裝啟用
尚無評分
65 天前
最後更新
問題解決
WordPress 5.8+ PHP 7.4+ v1.1.0 上架:2026-01-10

內容簡介

總結:WPRepublic Bulk Category Removal for WooCommerce 是一款擁有多項必要附加功能和實用程序的外掛,可讓商店管理員更輕鬆地維護和運營其 WooCommerce 商店。
問題與答案:
1. 為什麼建立 WooCommerce 商店容易但保持大型商店艱難?
- 答:因為大型商店的維護需要處理許多產品和分類,使得管理變得複雜和耗時。
2. WPRepublic Bulk Category Removal for WooCommerce 的首個模組是什麼解決方案?
- 答:它是“批次刪除”解決方案,讓您可以選擇特定分類並移除其中包含的所有產品。
3. 這個插件為什麼是您一直在尋找的工具?
- 答:它提供了缺失的功能,可以輕鬆批量刪除數千個基於其分類的產品,同時完整刪除數據庫的內容並保持安全模式以防止誤刪。
4. WPRepublic Bulk Category Removal 提供了哪些 WP-CLI 指令?
- 答:1. 列出分類:查看所有產品分類的表,包括其 ID、別名和產品數量。
2. 執行清理:針對特定分類執行清理過程,可根據分類 ID 或別名執行,並可選擇模擬清理操作而不刪除實際內容。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WPRepublic Bulk Category Removal for WooCommerce」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Building a WooCommerce store is easy. Maintaining a massive one is hard.
We built WPRepublic Bulk Category Removal for WooCommerce to be the Swiss Army knife that every store administrator wishes they had. This plugin is designed to host a variety of essential add-ons and utilities, evolving into a complete operations center for your shop.
The First Module: The “Bulk Delete” Solution
Have you ever tried to delete a product category in WooCommerce, only to realize the products inside it stay behind?
You are left with thousands of orphaned items, and the default interface only lets you delete them 20 at a time. It is slow, it times out, and it frustrates even the most patient admins.
For years, there wasn’t a simple, native way to say: “Delete this category AND everything inside it.”
Now there is.
The WPRepublic Bulk Category Removal Cleanup Module allows you to select specific categories and surgically remove all products contained within them.
Why this is the tool you’ve been looking for:

The “Missing” Feature: Finally, you can bulk delete thousands of products based on their category with a few clicks.
Deep Cleaning: It doesn’t just delete the post. It scrubs the database of orphaned relationships, postmeta, and wc_product_meta_lookup entries, keeping your database lean and fast.
Safety First: Includes a Dry Run mode (enabled by default). Simulate the entire process and read the logs before you delete a single byte of data.

🚀 Supercharged with WP-CLI
For developers and site reliability engineers, the graphical interface is just the beginning.
WPRepublic Bulk Category Removal comes with robust WP-CLI integration out of the box.

No Timeouts: managing 50,000 products? Run the cleanup from the terminal. It is faster, more stable, and immune to browser timeouts (PHP max_execution_time).
Secure & Scriptable: Automate your store maintenance via cron jobs or shell scripts securely.
Dry Runs in Terminal: Test your cleanup logic directly in the command line before executing.

What’s Next?
This is just the beginning. WPRepublic Bulk Category Removal for WooCommerce is being actively developed to include more modules for bulk editing, customer management, and store optimization.

WARNING: This is a powerful, destructive tool. Always perform a full database backup before running a live cleanup.

WP-CLI Commands
Use the power of the command line to manage your store cleanup efficiently.
1. List Categories
View a table of all product categories, their IDs, slugs, and product counts.
wp wpr-bulk-category-removal-woocommerce list-categories

2. Run Cleanup
Execute the cleanup process for specific categories.
Options:

--term-id= : A comma-separated list of category IDs to process.
--category-slug= : A comma-separated list of category slugs.
--dry-run : (Optional) Simulate the cleanup without deleting data.

Examples:
Safe Simulation (Dry Run):
wp wpr-bulk-category-removal-woocommerce run –category-slug=temp-collection –dry-run
Live Cleanup (By ID):
wp wpr-bulk-category-removal-woocommerce run –term-id=152,189
Live Cleanup (By Slug):
wp wpr-bulk-category-removal-woocommerce run –category-slug=clothing,accessories

文章
Filter
Apply Filters
Mastodon