BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
Mr. J Dev Smart Discount Rules icon
Maintained Tested up to 6.9.10 #3 in auto apply

Mr. J Dev Smart Discount Rules

Create advanced auto-apply discount rules beyond default WooCommerce coupons — with role, category, and day-of-week conditions.

Active installs<10New
Downloads · 30d54▲ +3.8% vs prev. 30d
Rating—0 reviews
Health score42/100Fair
All-time downloads245Since May 2026
Support resolved—No recent threads
RequiresWP 5.8PHP 7.4+
Downloads · 7d11• 0% week over week
Our verdict

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 & support

Daily downloads

134Jul 14Aug 27Oct 11
Yesterday0
Daily average (1y)2
Peak day30May 19, 2026
Last 12 months247

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 today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
auto apply >100 3,120 Best auto apply plugins →
buy x get y #58 122 Best buy x get y plugins →
discount >100 2,976 Best discount plugins →
pricing rules >100 1,793 Best pricing rules plugins →
woocommerce >100 10,000 Best woocommerce plugins →

About Mr. J Dev Smart Discount Rules

From the official readme · v1.0.0

Description

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):

  1. 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]

  2. Prices are sorted cheapest-first:
    → [150, 200, 200, 800]

  3. The number of complete qualifying groups is calculated:
    group size = Buy + Get = 3 + 1 = 4
    total items = 4 → floor(4 ÷ 4) = 1 group qualifies

  4. For each group, the cheapest Get items 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

  1. Upload the mr-j-dev-smart-discount-rules folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to WooCommerce → Discount Rules to create rules.

Changelog

1.0.0

  • Initial release.

Full changelog on WordPress.org →

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.

Active installs badge Rating badge Health score badge

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
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.