Mr. J Dev Smart Discount Rules
Create advanced auto-apply discount rules beyond default WooCommerce coupons — with role, category, and day-of-week conditions.
Use with caution
Mr. J Dev Smart Discount Rules works, but test it on a staging site before relying on it in 2026. Was last updated 5 months ago, and scores 42/100 on our health check.
- Small user base (<10 active installs)
- Very few reviews so far
- Only tested up to WordPress 6.9 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Mr. J Dev Smart Discount Ru… stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| auto apply | >100 |
| buy x get y | #58 |
| discount | >100 |
| pricing rules | >100 |
| woocommerce | >100 |
About Mr. J Dev Smart Discount Rules
From the official readme · v1.0.0Description
Mr. J Dev Smart Discount Rules gives you a flexible, priority-based discount engine on top of WooCommerce. Rules are evaluated automatically at cart/checkout — no coupon code needed.
Discount Types:
- Percentage — e.g. “10% off the entire cart”
- Fixed Amount — e.g. “₹100 off cart”
- Buy X Get Y — e.g. “Buy 2, get 1 free” (cheapest eligible items are discounted)
Conditions (can be combined):
- Minimum cart spend
- User role (customer, wholesale, subscriber, etc.)
- Product category slug present in cart
- Day(s) of the week (time-based deals like weekend sales)
Rule Control:
- Priority system — only the highest-priority matching rule fires (no stacking)
- Enable / disable rules without deleting them
- Delete rules permanently
The discount appears as a cart fee line item with the rule name as its label, keeping the cart transparent to customers.
Usage Examples
Weekend 15% sale for all users:
- Type: Percentage | Value: 15
- Conditions → Days: Saturday, Sunday
₹500 spend → ₹50 off for Wholesale customers:
- Type: Fixed | Value: 50
- Min Spend: 500 | Conditions → Role: wholesale_customer
Buy 2 T-shirts, get 1 free (cheapest):
- Type: Buy X Get Y | Buy: 2 | Get: 1
- Conditions → Category: t-shirts
How Buy X Get Y Works
The Buy X Get Y rule uses a group-based algorithm that always gives the cheapest qualifying items for free.
Algorithm (step by step):
-
All items in the cart are flattened into individual unit prices.
e.g. Cart: 2× T-shirt @ ₹200, 1× Jeans @ ₹800, 1× Cap @ ₹150
→ unit prices: [200, 200, 800, 150] -
Prices are sorted cheapest-first:
→ [150, 200, 200, 800] -
The number of complete qualifying groups is calculated:
group size = Buy + Get = 3 + 1 = 4
total items = 4 → floor(4 ÷ 4) = 1 group qualifies -
For each group, the cheapest
Getitems are free:
→ ₹150 (cap) is free → discount applied = −₹150
The discount is added as a negative cart fee line item labelled with the rule name, keeping the breakdown transparent to customers.
Why cheapest-first?
This prevents customers from gaming the rule by adding one cheap item to get an expensive item free. The cheapest item always fills the free slot.
Only complete groups qualify:
With Buy 2 Get 1 and 5 items in the cart:
→ floor(5 ÷ 3) = 1 complete group → 1 item free (the cheapest)
The leftover 2 items do not form a group and get no discount.
Configuration examples:
- Buy 1 Get 1 Free → Buy: 1, Get: 1
- Buy 2 Get 1 Free → Buy: 2, Get: 1
- Buy 3 Get 2 Free → Buy: 3, Get: 2
- Buy 4 Get 1 Free (BOGO4)→ Buy: 4, Get: 1
Combine with a Product Category condition to restrict the rule to specific product lines (e.g. only T-shirts, only Electronics).
Installation
- Upload the
mr-j-dev-smart-discount-rulesfolder to/wp-content/plugins/. - Activate the plugin through the Plugins menu in WordPress.
- Go to WooCommerce → Discount Rules to create rules.
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.
Best Mr. J Dev Smart Discount Rules alternatives
All auto apply plugins →FAQ
Mr. J Dev Smart Discount Rules: quick answers
Straight answers, pulled from live WordPress.org data.
Live data from WordPress.org · checked Oct 12, 2026
Is Mr. J Dev Smart Discount Rules free?
Yes. Mr. J Dev Smart Discount Rules is free to download and use from the official WordPress.org plugin directory.
Is Mr. J Dev Smart Discount Rules safe to use in 2026?
Mr. J Dev Smart Discount Rules works, but test it on a staging site before relying on it in 2026. Was last updated 5 months ago, and scores 42/100 on our health check.
How many websites use Mr. J Dev Smart Discount Rules?
Mr. J Dev Smart Discount Rules is active on <10 WordPress websites and has been downloaded 245 times since it launched in May 2026. It was downloaded 54 times in the last 30 days.
Does Mr. J Dev Smart Discount Rules work with WordPress 7.1?
Mr. J Dev Smart Discount Rules is officially tested up to WordPress 6.9.10, while the latest release is 7.1.3. It may still work, but try it on a staging site first.
What PHP version does Mr. J Dev Smart Discount Rules need?
Mr. J Dev Smart Discount Rules requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Mr. J Dev Smart Discount Rules last updated?
The latest version, 1.0.0, was released on May 19, 2026 (5 months ago).
Who makes Mr. J Dev Smart Discount Rules?
Mr. J Dev Smart Discount Rules is developed and maintained by Mr. J.
What are the best alternatives to Mr. J Dev Smart Discount Rules?
The most popular alternatives to Mr. J Dev Smart Discount Rules are Auto Coupons for WooCommerce (3K+ installs), Promo & Referral URLs Gener… (10+ installs) and Milardovich Extra Coupon Fe… (<10 installs).
Powered by PageForge
Want thousands of pages that rank like these? Build them in an afternoon.
This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.
- CSV, Google Sheets & API data sources
- AI content, schema & internal links per page
- Works with Elementor, Gutenberg, Yoast & Rank Math
- Free on WordPress.org — no credit card