Product Badge Rules for WooCommerce is a lightweight WooCommerce badge plugin that adds smart, automatic product badges and labels to your shop. Instead of editing every product by hand, you create a badge once, choose a rule, and the plugin shows the right badge on the right product — on shop pages
PricingFree downloadThe WordPress.org download is free. Pro versions, add-ons or external services may cost extra.
CompatibilityRequires WordPress 6.3 and PHP 8.0.
SourceWordPress plugins · Dec 5, 2026
01 / Source details
Aboutthistool.
Product Badge Rules for WooCommerce is a lightweight WooCommerce badge plugin that adds smart, automatic product badges and labels to your shop. Instead of editing every product by hand, you create a badge once, choose a rule, and the plugin shows the right badge on the right product — on shop pages, category pages and single product pages.
Want a “Save 30%” sale badge , a “New” arrival label, an “Only 3 left!” low stock badge, a “Sold Out” badge, an “Ends in 2 days” countdown-style label, or a “Top Rated” trust badge? Each one is generated from live WooCommerce data — no coding, no image uploads, no per-product work.
📖 Documentation
Badges update themselves the moment your prices, stock, sale dates, ratings or sales numbers change. Set it once and forget it.
Features at a glance
One-click starter badges — add Sale, New, Low Stock, Sold Out, Pre-order, Top Rated and more in a single click
12 automatic badge rules — on sale, new arrival, featured, low stock, out of stock, hot seller, price range, product tag, on backorder, sale ending soon, big discount, top rated
Per-product override — hide the badge or set custom text on any product
Category targeting and exclusions — show or hide a badge by product category or tag
Badge designer — colours, four shapes, eight positions, live preview
Scheduling and priority — run badges for Black Friday or any campaign
Works with classic and block themes , simple and variable products, and HPOS
Fast by design — one cached query, pure CSS, no front-end JavaScript
Why use product badges in WooCommerce?
Badges help shoppers spot what matters while they browse: a real discount, a product that is nearly gone, a fresh arrival, or a proven favourite. Clear labels reduce hesitation, add honest urgency and make a product grid easier to scan — which can help lift click-through and add-to-cart rates.
Store owners who want to increase conversions without touching code
Agencies managing multiple WooCommerce stores
Marketers running seasonal promotions and flash sales
Developers who need a lightweight, hook-friendly badge system
Twelve automatic WooCommerce product badge rules
On Sale badge — fires automatically when WooCommerce marks a product on sale. Use the {pct} token to display the exact discount percentage, for example “Save 30%” or “30% OFF” . Works with simple and variable products.
New Arrival badge — labels products published within the last X days as “New” . You choose the window (default 30 days). Perfect for highlighting fresh stock without touching each product individually.
Featured badge — displays a badge on any product you have marked as featured inside WooCommerce. Great for curated collections and homepage hero sections.
Low Stock badge — appears when available stock reaches your threshold. Use the {qty} token to show the exact quantity, for example “Only 3 left!” . Creates genuine purchase urgency without exaggeration.
Out of Stock badge — clearly flags unavailable products with a “Sold Out” label or any custom text you choose, so shoppers know at a glance.
Hot Seller badge — badges your best-selling products based on total WooCommerce sales count. Set your own minimum (e.g. 50 sales) to control exactly which products qualify.
Price Range badge — show a badge on products inside a price range, for example “Under $20” for budget picks or “Premium” for products from $100 up. Leave the minimum or the maximum empty for “and above” or “up to”. Judged by the current price, so a product on sale uses its sale price; variable products use their lowest variation price.
Product Tag badge — show a badge on every product that carries one or more WooCommerce product tags, such as “Eco-friendly” , “Vegan” or “Gift idea” . Works like category targeting, but with tags.
Sale Ending Soon badge — creates real urgency by badging products whose scheduled sale ends within the next few days. Use the {days} token for “Ends in 2 days” . Works with the sale dates you already set in WooCommerce; sales without an end date are never badged.
Big Discount badge — only celebrate the deals that matter: show “Save 40%” on products discounted by at least the percentage you choose. Use the {pct} token for the exact figure. Variable products use their biggest variation discount.
Top Rated badge — highlight social proof automatically with “Top Rated” or “4.8 ★” on products with a high average rating and enough reviews (for example 4.5 stars with at least 3 reviews), so one lucky 5-star review never earns the badge. Tokens: {rating} and {reviews} .
On Backorder badge — flags products WooCommerce marks as on backorder. Ideal for “Pre-order” or “Ships in 2 weeks” labels so shoppers know before they add to cart.
Badge designer — full visual control
Every badge you create is fully customisable:
Label text with dynamic {pct} , {qty} , {days} , {rating} and {reviews} tokens
Background and text colour pickers — match any brand palette
Four shapes — rounded pill, square, circle, and ribbon
Eight positions on the product image — all four corners plus all four edge midpoints
Scheduling — optional start and end dates for Black Friday, Christmas, or any timed promotion
Priority order — control which badge wins when multiple rules match the same product
Live preview — see exactly how the badge looks while you are still configuring it
Per-product badge override — full control on a single product
Sometimes one product needs its own rule. Every product edit screen (and the product list Quick Edit panel) has a small Product Badge box with three choices:
Auto — the badge rules decide (default)
Hide badge on this product — no badge is shown, no matter which rules match
Custom text — show your own label, such as “Limited Edition” or “Handmade” . It keeps the colours and shape of the matching badge rule, or uses a neutral dark badge when no rule matches.
Category targeting — show badges on the products that matter
Restrict any badge to one or more product categories. Create a “Summer Sale” badge that only appears on products in your Summer collection, while the rest of your catalogue stays untouched. Leave all categories unchecked to show the badge across every product.
Exclusions — keep badges off what you do not want
Every badge also has an Exclusions section: tick product categories or tags that must never show the badge, even when the rule matches. Perfect for “Sale” badges that should skip gift cards, or “New” badges that should skip a clearance category. Exclusions always win over category targeting.
Live product match count
The badge list shows exactly how many published products each badge is currently active on — for example “12 products” . Click the number to refresh it instantly without reloading the page. Know at a glance whether your rule is working and how many products it covers.
Built for speed — zero performance impact
One database query loads all active badges per page
Two-layer cache — in-memory per request, plus a 12-hour WordPress transient
Pure CSS badges — zero front-end JavaScript, no render-blocking scripts
Conditional asset loading — styles load only on WooCommerce shop, category, tag, and single product pages
HPOS compatible — fully declared for WooCommerce High-Performance Order Storage
Powerful display controls
Replace the default WooCommerce “Sale!” flash — one toggle hides the built-in sale bubble on any product that shows a badge from this plugin, so products never show two badges at once. Works with classic and block themes.
Choose where badges appear — enable or disable badges on shop/archive pages and on single product pages independently
Admin product column — see at a glance in the WP Admin product list which products are currently showing a badge
Badge Z-index control — push badges above any theme image overlay with a single number field
Badge font size — set text size globally from 9 to 24 px
Starter badges — your first badge in one click
New to badges? Open All Badges and pick from eight ready-made starters: Sold Out , Pre-order , Sale Ending Soon , Low Stock , Sale Percentage , Hot Seller , Top Rated and New Arrival . One click creates the badge with sensible colours, position and priority, and you can edit everything afterwards. Need a variation of an existing badge? Duplicate it — the copy starts inactive, so your shop does not change until you switch it on.
Developer-friendly
Filter badgify_render_badge — conditionally hide a specific badge in code
Filter badgify_rule_map — map a rule type to your own rule class so the badge engine can evaluate it
Template override — copy templates/badge.php to your-theme/badgify/badge.php to change the badge HTML
GPL-2.0-or-later, namespaced PHP, no global function pollution
About Storzen
This plugin is part of the Storzen WooCommerce growth plugin ecosystem, focused on conversion optimisation, store engagement, and performance-first development.
Pro version
The free version displays one badge per product (highest-priority match). A Pro version unlocks multi-badge stacking so more than one badge can appear on the same product simultaneously.
Privacy Policy
This plugin does not collect, store, or transmit any personal data from your visitors. All badge logic runs on your own server using existing WooCommerce product data. No external connections are made.
Third Party Services
This plugin does not connect to any external or third-party services. All processing happens entirely on your own WordPress installation.
See it in action
Screenshots & previews.
WooCommerce product badges on the shop page — sale percentage, new arrival, low stock, hot seller, sale ending soon and sold out labels.Sale badge showing the live {pct} discount token on a single product page.All Badges list with the "Matched" column showing how many products each badge is currently active on.Badge editor with live preview, colour pickers, four shapes, eight position options, scheduling, category targeting, exclusions and twelve rule types.Product Badge box on the product edit screen — Auto, Hide badge, or Custom text.
02 / Source details
Gettingstarted.
01Make sure WooCommerce is installed and active.
02Go to Plugins > Add New in your WordPress admin and search for Storzen Product Badge Rules .
03Click Install Now , then Activate .
04Open the Product Badge Rules menu in your admin sidebar and go to All Badges .
05Click Add New Badge , choose a rule, customise the design, and save.
06Visit your shop page — your badge is live immediately.
Alternatively, download this zip and upload it via Plugins > Add New > Upload Plugin .
Requires WooCommerce 8.0 or higher.
03 / Source details
Frequently asked questions.
How do I create my first product badge quickly?
Go to Product Badge Rules > All Badges and click Add badge on one of the starter badges (for example Sale Percentage or New Arrival ). The badge is active immediately and appears on matching products. Open it with the edit icon to change the text, colours, shape or rule. Already have badges? Click Add from template to see the starters again.
Can I copy an existing badge?
Yes. Click the duplicate icon in the All Badges list. The copy is named “(copy)” and starts inactive so nothing changes on your shop until you review it and switch it on.
How do I add a WooCommerce sale badge that shows the discount percentage?
Create a badge, select the On Sale rule, and set the label to something like Save {pct} or {pct} OFF . The plugin replaces {pct} with the real discount rounded to the nearest whole percent — for example “Save 30%” . Works on simple and variable products.
How do I add a “New Arrival” badge to recently added WooCommerce products?
Create a badge, select the New Arrival rule, and enter how many days a product should count as new. The default is 30 days. Any product published within that window gets the badge automatically.
How do I show a “Only X left!” low stock badge in WooCommerce?
Create a badge with the Low Stock rule and a label like Only {qty} left! . Set the stock threshold — the badge appears on any product with that many or fewer units in stock. The {qty} token inserts the live quantity.
Can I show a product badge only on products in a specific category?
Yes. When creating or editing a badge, scroll to the Category Targeting section and tick the product categories you want. The badge only appears on products assigned to those categories. Leave all unchecked to show the badge store-wide.
How do I hide the badge on one specific product?
Edit the product and find the Product Badge box in the right-hand column (or use Quick Edit in the product list). Choose Hide badge on this product and update. You can switch back to Auto at any time.
Can I give one product its own custom badge text?
Yes. In the Product Badge box choose Custom text and type a short label (up to 30 characters), for example “Limited Edition”. If a badge rule also matches that product, the custom text uses that rule’s colours and position; otherwise a neutral dark badge is shown.
How do I add a “Pre-order” badge for products on backorder?
Create a badge, choose the On Backorder rule and set the label to Pre-order (or “Ships in 2 weeks”). It appears on every product whose stock status is “On backorder”.
How do I add an “Under $20” or “Premium” price badge?
Create a badge, choose the Price Range rule and enter a minimum and/or maximum price — for example Max 20 for “Under $20”, or Min 100 for “Premium”. The current price is used, so sale prices count, and variable products use their lowest variation price.
Can I show a badge on products with a certain tag?
Yes. Choose the Product Tag rule and tick one or more tags. The badge appears on every product that has at least one of them.
How do I show an “Ends in 2 days” badge for a limited-time sale?
Create a badge, choose the Sale Ending Soon rule, set how many days before the end it should appear (or leave it empty to use the global default of 3 days under Rule settings) and use a label such as Ends in {days} days . The product needs a sale end date, set in WooCommerce under Product data → General → Schedule . Sales without an end date never get this badge.
How do I show a badge only for big discounts, like 30% off or more?
Use the Big Discount rule and enter the minimum percentage. Combine it with the label Save {pct} . Products with smaller discounts keep their regular sale badge, or none.
How do I add a “Top Rated” badge?
Choose the Top Rated rule, then set the minimum average rating and the minimum number of reviews. Both must be met. Product reviews must be enabled in WooCommerce for ratings to exist.
Can I keep a badge off certain categories or tags?
Yes. In the badge editor, open Exclusions and tick the categories or tags that should never show this badge. Exclusions win over the rule and over category targeting.
Can I schedule a WooCommerce product badge for a sale or holiday?
Yes. Every badge has optional Active From and Active Until date fields. Outside that window the badge is hidden automatically — ideal for Black Friday, Christmas, or any timed campaign.
Will this plugin slow down my WooCommerce store?
No. All active badges are fetched in a single database query, cached for 12 hours, and evaluated in PHP memory. There is no JavaScript on the front end and no per-product queries during page rendering.
Does it work with variable products?
Yes. Sale detection, stock levels, and all other rules work correctly with both simple and variable products.
Can I show multiple badges on one product?
In the free version, only the badge with the highest priority (lowest priority number) is shown when more than one rule matches a product. Multi-badge stacking is a Pro feature.
How do I remove the default WooCommerce “Sale!” badge when my badge is showing?
Go to Product Badge Rules > Display , enable Replace WooCommerce Sale Flash , and save. The default sale bubble is hidden on every product that shows a badge from this plugin.
A badge appears behind my product image. How do I fix it?
Go to Product Badge Rules > Display and increase the Badge Z-Index value. A value of 99 or 999 usually solves it.
Can I customise the badge HTML markup?
Yes. Copy templates/badge.php from the plugin folder to your-theme/badgify/badge.php . The plugin uses your version automatically, giving you full control over the HTML structure.
Does it work with block themes and the Product Collection block?
Yes. Badges display on classic themes (tested with Storefront) and on block themes (tested with Twenty Twenty-Five), including the WooCommerce Product Collection block, shop and category pages, and single product pages.
Does it work with page builders such as Elementor or Divi?
Badges are added through the standard WooCommerce hooks woocommerce_before_shop_loop_item_title and woocommerce_before_single_product_summary . Builder widgets that render the product loop through those hooks will show badges; widgets that replace the loop with fully custom markup may not.
Is this a free WooCommerce badge plugin?
Yes. All twelve badge rules, the badge designer, per-product overrides, category targeting and exclusions are free. The only Pro feature is multi-badge stacking (more than one badge on the same product); nothing in the free version is time-limited or locked.
How do I add a “Sold Out” badge in WooCommerce?
Create a badge, choose the Out of Stock rule and set the label to Sold Out (or any text you like). Products that are not in stock get the badge automatically. For products that can still be ordered, use the On Backorder rule instead.
Is it compatible with WooCommerce HPOS (High-Performance Order Storage)?
Yes. The plugin explicitly declares compatibility with WooCommerce High-Performance Order Storage.
How do I create a “Hot Seller” badge for my best-selling products?
Create a badge with the Hot Seller rule and set the minimum total sales. Any product that has reached that many WooCommerce sales will receive the badge. The default minimum is 50 sales.
Does the plugin remove its data when deleted?
Yes. Deleting the plugin via the WordPress plugin screen drops the custom database table and deletes all plugin options and per-product badge overrides cleanly.
FinderPress Media Auditor helps site administrators scan for broken images, missing Media Library files, unreachable media URLs, and other media issues across WordPress content. Use it to audit images, video, audio, PDFs, featured images, and attachment files without sending scan data to an external
The Accepted Payment Methods plugin is a straightforward, lightweight solution that enhances your website by displaying visually appealing icons of the payment methods you accept. This plugin is ideal for a variety of websites, including e-commerce platforms, service-oriented websites, and informati