Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/beltoftandersen/beltoft-smart-discounts/archive/refs/heads/main.zipPowerful dynamic discount rules for WooCommerce — percentage, fixed, bulk/quantity tiers, and cart-total discounts. No coupons needed.
Key Features
- Percentage Discounts — Apply a percentage off to all products, specific products, or specific categories
- Fixed Amount Discounts — Subtract a fixed dollar amount from product prices
- Storewide Sales — Use Percentage Discount + All Products for a full-store sale
- Category Targeting — Target any discount type to specific product categories via the "Applies To" selector
- Bulk / Quantity Tiers — Offer volume pricing (e.g. buy 5+ get 10% off, buy 10+ get 20% off)
- Cart Total Discounts — Automatically discount the cart when the subtotal reaches a threshold
- Scheduling — Set start and end dates for time-limited promotions
- Usage Limits — Control total and per-customer usage limits
- Priority & Stacking — Choose best-only, first-match, or stack-all behavior
- Sale Badges — Customizable "SALE" or "X% OFF" badges on discounted products
- Savings Display — Show "You saved" totals in cart and checkout
- Shortcode — Display active deals anywhere with
[bsdisc_active_deals] - Dashboard — View active rules, monthly savings, and top-performing rules
- HPOS Compatible — Fully compatible with WooCommerce High-Performance Order Storage
- Extensible — Filterable "Applies To" selector allows Pro or custom extensions to add targeting options
How It Works
- Go to WooCommerce > Discounts in your admin
- Create a discount rule (choose type, value, products/categories)
- Optionally set schedule, usage limits, and priority
- Activate the rule — discounts apply automatically on the storefront
Installation
- Upload the
beltoft-smart-discountsfolder to/wp-content/plugins/ - Activate the plugin through the "Plugins" menu in WordPress
- Go to WooCommerce > Discounts to create your first discount rule
Requirements
- WordPress 6.2 or higher
- WooCommerce 8.0 or higher
- PHP 7.4 or higher
Pro Version
Unlock advanced features with Beltoft Smart Discounts Pro:
- BOGO — Buy One Get One free or discounted
- Bundle Discounts — Buy A + B + C together for X% off
- User Role Discounts — Different pricing for wholesale, VIP, etc.
- First-Order Discounts — Automatic discount for new customers
- Brand Targeting — Target discounts to specific WooCommerce Brands
- URL Discounts — Shareable discount links
- Spending Goal Progress Bar — "Add $X more to get Y% off!"
- Countdown Timers — Urgency timers on product and cart pages
- Analytics Dashboard — Per-rule performance metrics
- CSV Import/Export — Bulk manage discount rules
- Weekly Email Reports — Automated summary of discount performance
Frequently Asked Questions
Do customers need to enter a coupon code?
No. All discounts apply automatically based on your rules. Cart-total discounts use virtual coupons internally but customers never need to enter a code.
Can I run multiple discounts at the same time?
Yes. Use the Stacking Behavior setting to control whether the best discount wins, all discounts stack, or only the first match applies. Individual rules can also be marked as "exclusive".
Does this work with variable products?
Yes. Discounts apply to both simple and variable products, including individual variations.
Can I schedule discounts?
Yes. Each rule has optional start and end dates. The rule only applies during the scheduled period.
How do I target specific categories?
When creating a Percentage or Fixed discount rule, set the "Applies To" dropdown to "Specific Categories" and select the categories you want to target.
Changelog
2.0.1
- Tested with WordPress 7.0.
2.0.0
- Complete rebrand to Beltoft Smart Discounts for WooCommerce
- Updated all prefixes, text domain, and namespaces for WordPress.org compliance
- Shortcodes renamed:
[bsdisc_active_deals],[bsdisc_sale_badge],[bsdisc_savings_display]
1.0.0
- Initial release
- Percentage and fixed discount types with flexible targeting
- Bulk/quantity tier pricing
- Cart-total discount tiers
- Scheduling, usage limits, priority and stacking controls
- Customizable sale badges and savings display
- Admin dashboard with stats
- HPOS compatibility
License
GPL-2.0-or-later