
內容簡介
hypemediasystem Sale Rules for WooCommerce 是一款專為 WooCommerce 設計的外掛,幫助商店擁有者輕鬆管理折扣活動。透過排程折扣、SKU 匯入價格、清理不合格折扣等功能,讓價格管理變得更有效率,特別適合大型商品目錄。
【主要功能】
• 排程折扣活動的開始與結束日期
• 透過 SKU 匯入常規價格與折扣價格
• 支援 2+1 免費促銷規則
• 針對特定產品類別與品牌設定折扣
• 清理不合格或過期的折扣價格
• 提供 WP-CLI 指令進行管理
外掛標籤
開發者團隊
② 後台搜尋「hypemediasystem Sale Rules for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
Managing WooCommerce sale prices manually is slow and risky when you have many products. hypemediasystem Sale Rules lets store owners create scheduled discount campaigns, import sale prices by SKU, clean up managed discounts safely, and run cart 2+1 (cheapest free) rules by category.
This is for catalogs that change prices on tens, hundreds, or thousands of products. Catalog campaigns write sale prices on products. Cart rules apply only in the cart and checkout.
Best for
Fashion and apparel drops
Electronics catalogs
Seasonal campaigns
Black Friday and Cyber Monday
Clearance and end-of-season sales
Category 2+1 free promotions in the cart
What it does
Writes percentage or fixed sale prices onto matching WooCommerce products
Targets product categories and brands
Excludes individual products or tags
Schedules campaign start and end dates
Imports regular prices and sale prices from Excel or CSV by SKU
Applies rules in batches, with an admin progress screen
Marks plugin-managed sale prices with its own metadata
Cleans up ineligible or expired prices the plugin applied
Syncs an optional sale category
Provides WP-CLI commands for apply, cleanup, and repair
Works with High-Performance Order Storage (HPOS)
Cart discount rules: 2+1 free — every 3 products from a category, the cheapest unit is free
WooCommerce must be installed and active.
What it does not do
It does not create WooCommerce coupons
It does not replace a full B2B or dynamic pricing engine
It does not silently overwrite unrelated sale prices you set by hand
Cart 2+1 rules do not write _sale_price on products; they discount the cart total
Safe workflow
Test on staging first, with a catalog similar to production.
Create a campaign rule or import sale prices by SKU.
Apply in batches from the admin screen or WP-CLI.
The plugin writes _sale_price through the WooCommerce product API and stores metadata on products it manages.
When a campaign ends or a product is no longer eligible, run cleanup so only plugin-managed sale prices are removed.
WP-CLI examples
Apply every active campaign, or one rule:
wp hypemediasystem-sale-rules apply
wp hypemediasystem-sale-rules apply --discount-id=5
Preview or remove plugin-managed sale prices:
wp hypemediasystem-sale-rules cleanup --dry-run
wp hypemediasystem-sale-rules cleanup --all
Repair products that have an active schedule but the wrong sale price:
wp hypemediasystem-sale-rules repair_all --batch=100
