Chat on WhatsApp

Smart Product Badges & Labels for Magento 2

Turn every product into a conversion opportunity with automated, rule-based badges and labels.

Magento 2.4.6–2.4.8 PHP 8.1–8.4 Hyva + Luma Ready Free

Key Features:

  • Rule-Based Automatic Assignment
  • Visual Badge Builder
  • Animations & Effects
  • Scheduling & Campaigns

Additional Services

$0.00
In stock
SKU
panth-smart-badge
Links
Pay with Wise
Lifetime Updates Every Magento release
1-Year Free Support Email + WhatsApp
Adobe-Certified Magento 2 Developer
Free Forever No subscription, no upsell
What you get

Everything in the box

Built-in from day one. No add-ons, no upsell, no licence keys to renew.

Rule-Based Automatic Assignment

No manual tagging — badges are applied automatically based on live product data

Visual Badge Builder

Color picker — custom background, border, and text colors with gradient support

Animations & Effects

Pulse, shake, bounce, glow, flip, fade — pre-built CSS animations

Scheduling & Campaigns

Start/end dates — badges appear and disappear automatically on schedule

Page-Specific Positioning

Category/listing pages — top-left, top-right, bottom-left, bottom-right, center overlay

Admin Experience

Grid management — filter, sort, bulk-enable, duplicate, and export badge rules

Overview

Panth Smart Badge is a rule-based product badge extension for Magento 2 and Adobe Commerce that assigns sale, new, best-seller, and low-stock labels to products automatically.

Eight built-in badge types cover the most common merchandising scenarios: sale, new arrival, best-seller, low stock, free shipping, hot, featured, and custom attribute. A visual builder controls badge color, FontAwesome icon, gradient, animation, and position per page type — product listing, product detail, home, and cart all configure independently.

Rules accept product attributes, categories, customer groups, and date ranges, so a flash sale, a new collection launch, or a low-stock urgency campaign can be scheduled in advance and rolled out across thousands of SKUs without touching a single product record. The extension is compatible with Hyvä and Luma themes, MEQP-compliant, and built for Magento 2.4.4–2.4.9 on PHP 8.1–8.4.

Smart Badge optimizes merchandising workflows so the team can focus on campaign strategy rather than per-product tagging, and every badge rule respects store-view scope for multi-locale catalogs.

Best for:

  • Magento 2 merchants running weekly flash sales who need scheduled badge rotation without manual tagging.
  • Catalogs with thousands of SKUs where rule-based labeling is the only scalable approach.
  • Hyvä stores that want animated, gradient, FontAwesome-styled badges without theme edits.

What you get

Smart Badge bundles every product badge requirement for Magento 2 merchandising:

  • Eight built-in badge types: sale, new, best-seller, low stock, free shipping, hot, featured, custom.
  • Visual builder with custom color, FontAwesome icon, gradient, and animation controls.
  • Rules by attribute, category, customer group, and scheduled date range.
  • Per-page-type positioning across listing, detail, home, and cart surfaces.
  • Hyvä (Alpine.js) and Luma templates, MEQP-compliant on Magento 2.4.4–2.4.9.

Panth Smart Product Badges & Labels for Magento 2

Turn every product into a conversion opportunity with automated, rule-based badges and labels. Smart Badge for Magento 2 lets you promote sale items, new arrivals, best-sellers, low-stock products, and custom campaigns — without touching a single product manually.

Panth Smart Badge is a powerful Magento 2 product badge extension that assigns visual labels to products automatically based on flexible rules — sale status, new arrivals, best-sellers, low stock, custom attributes, categories, and more. Design eye-catching badges with a visual builder featuring custom colors, FontAwesome icons, animations, and gradients. Schedule badges to appear during promotions, target specific categories or individual products, and control positioning per page type (product listing, product detail, home, cart). Fully compatible with Hyva and Luma themes, MEQP compliant, and built for Magento 2.4.4 - 2.4.8 on PHP 8.1 - 8.4.

Whether you're running a flash sale, launching a new collection, highlighting bestsellers, or creating urgency around low-stock inventory, Smart Badge gives you the tools to drive conversions with zero manual product tagging.


The 8 Built-In Badge Types

Smart Badge ships with 8 pre-configured badge types that cover the most common merchandising scenarios. Each is fully customizable and can be enabled, disabled, restyled, or scheduled independently.

# Badge Type Trigger Rule Typical Use Case
1 Sale Product has a special price active Flash sales, clearance, seasonal discounts
2 New Arrival Product created within N days (configurable) Promote fresh inventory and collections
3 Best Seller Top N products by order quantity or revenue Social proof, highlight popular items
4 Low Stock Stock qty below configurable threshold Urgency, scarcity-driven conversions
5 Out of Stock Product is out of stock Transparent inventory communication
6 Hot Deal % discount exceeds configurable threshold Highlight high-value discounts
7 Free Shipping Product qualifies for free shipping Reduce cart abandonment
8 Custom / Featured Rule-based on any attribute, category, or SKU list Campaigns, brand spotlights, exclusives

Key Features

Rule-Based Automatic Assignment

  • No manual tagging — badges are applied automatically based on live product data
  • Multi-condition rules — combine price, stock, category, attribute, and date filters
  • Priority control — when multiple badges match, choose which ones display (and in what order)
  • Product/category targeting — include or exclude specific SKUs, categories, or attribute sets
  • Customer group targeting — show different badges to retail vs. wholesale customers

Visual Badge Builder

  • Color picker — custom background, border, and text colors with gradient support
  • Shape library — rectangle, rounded, pill, ribbon, corner, circle, diamond, and banner shapes
  • Size presets — small, medium, large, or custom pixel dimensions
  • FontAwesome 6 icons — hundreds of icons including fire, bolt, clock, star, heart, tag, gift
  • Live preview — see your badge rendered in real-time in the admin builder
  • CSS-free — no stylesheet editing required for standard designs

Animations & Effects

  • Pulse, shake, bounce, glow, flip, fade — pre-built CSS animations
  • Hover effects — scale, rotate, color-shift on mouseover
  • Shine/shimmer — animated gradient sweep for premium feel
  • Respects prefers-reduced-motion — accessible by default

Scheduling & Campaigns

  • Start/end dates — badges appear and disappear automatically on schedule
  • Timezone-aware — respects store timezone configuration
  • Recurring schedules — daily/weekly windows (e.g., "Weekend Sale" every Fri-Sun)
  • Store-view and website scoping — different badges per region/language

Page-Specific Positioning

  • Category/listing pages — top-left, top-right, bottom-left, bottom-right, center overlay
  • Product detail page — on main image, above title, beside SKU, next to price
  • Home page / widgets — show in featured product sliders and PageBuilder blocks
  • Cart & mini-cart — optional badges in cart line items
  • Search results — badges visible in autocomplete and results grids

Admin Experience

  • Grid management — filter, sort, bulk-enable, duplicate, and export badge rules
  • MEQP compliant — passes Adobe's Magento Extension Quality Program
  • Multi-store support — scope every badge to website / store view
  • Translation ready — all admin labels use Magento's __() translation function

How Badge Rules Work

Each badge in the admin grid is a rule — a combination of conditions that must be true for the badge to appear on a product.

Rule Components

  1. Trigger type — one of the 8 built-in types (Sale, New, Best Seller, etc.) or Custom
  2. Conditions — optional additional filters (category, attribute set, SKU list, price range, customer group)
  3. Schedule — optional start/end dates or recurring window
  4. Design — visual styling (color, shape, icon, animation, position)
  5. Priority — integer controlling display order when multiple badges match

Example: "Winter Clearance" Rule

  • Trigger: Sale (special price active)
  • Conditions: Category = "Winter Collection" AND Discount >= 40%
  • Schedule: 2026-01-01 00:00 — 2026-02-28 23:59
  • Design: Red pill shape, white text, snowflake icon, pulse animation
  • Position: Top-left on category page, beside price on PDP
  • Priority: 10 (highest)

Badge Positioning & Page Targeting

Smart Badge gives you independent control over where each badge appears across your storefront:

Page Type Available Positions
Category / Listing Top-Left, Top-Right, Bottom-Left, Bottom-Right, Center Overlay
Product Detail (PDP) On Main Image (9-point grid), Above Title, Beside SKU, Next to Price, Above Add to Cart
Home / Widgets Inside Product Slider / Featured Grid blocks
Cart / Mini-Cart Beside line item name (optional)
Search Autocomplete Inline with product thumbnail

Each badge rule can specify a different position per page type — e.g., a "Sale" badge might be top-right on listings but next-to-price on the PDP.


FontAwesome Icons & Animations

Smart Badge bundles FontAwesome 6 Free support with optional auto-loading. Choose from hundreds of icons including:

  • Urgency/Scarcity: fire, bolt, clock, hourglass-half, exclamation
  • Value: tag, percent, dollar-sign, gift, coins
  • Popularity: star, heart, crown, thumbs-up, trophy
  • Freshness: leaf, seedling, sparkles, certificate
  • Shipping: truck, shipping-fast, box

Built-In Animations

Animation Effect Best For
Pulse Gentle rhythmic scale Urgency badges (Low Stock, Hot Deal)
Shake Horizontal jitter Flash sales, limited-time
Bounce Vertical hop New arrivals
Glow Soft outer light Premium / Featured
Shine Diagonal gradient sweep Best Seller, Premium
Flip 3D rotation Reveal effect
Fade Opacity oscillation Subtle, non-distracting

All animations honor the prefers-reduced-motion media query for accessibility.


Scheduling Badges

Every badge rule supports time-based activation:

  • One-time window — set a specific start and end datetime (e.g., Black Friday 2026)
  • Recurring schedule — weekly windows (e.g., "Weekend Sale" every Fri 18:00 → Sun 23:59)
  • Evergreen — no schedule; badge is always active when trigger conditions are met
  • Timezone-aware — all times respect the store's configured timezone

The scheduler runs via Magento's cron, so ensure bin/magento cron:run is scheduled in your system crontab.


Hyva & Luma Theme Support

Smart Badge is one of the few Magento 2 badge extensions with first-class Hyva support:

  • Hyva — native Alpine.js components, Tailwind CSS classes, no jQuery, fully compatible with Hyva's checkout and PageBuilder
  • Luma — traditional RequireJS + Knockout components for classic storefronts
  • Theme detection — automatic via Panth\Core\Helper\Theme (no manual configuration)
  • Zero conflicts — badge markup is isolated and does not interfere with your theme's existing CSS

Performance

  • Indexed rules — badge-to-product assignments cached and indexed for O(1) lookups
  • Block caching — badge HTML is cached per product + store view + customer group
  • Lazy icon loading — FontAwesome loaded only on pages where badges render
  • Zero frontend JS overhead — pure CSS animations; no JavaScript required for display
  • MEQP compliant — passes Adobe's code quality standards

Typical performance impact: < 5ms added to category page render on a store with 10,000 products and 15 active badge rules.


Quick Links


Ready to boost conversions with smart product badges?


SEO Keywords: magento 2 product badges, sale badge, new arrival badge, product labels, smart badges, urgency badges, magento 2 label extension, best seller badge magento 2, low stock badge, out of stock badge magento, hot deal badge, free shipping badge, hyva product badges, luma product labels, magento 2 product label extension, rule-based badges magento, scheduled product badges, fontawesome magento badges, animated product labels, category badge magento 2, product detail page badge, magento 2 merchandising, conversion rate optimization magento, urgency marketing magento, scarcity badges, magento 2.4.8 badges, php 8.4 magento module, panth smart badge, panth infotech, mage2kishan, mage2sk, kishan savaliya magento, top rated plus magento freelancer, hire magento developer upwork, custom magento development, magento 2 hyva development

Compatibility

Requirement Versions Supported
Magento Open Source 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8
Adobe Commerce 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8
Adobe Commerce Cloud 2.4.4 — 2.4.8
PHP 8.1.x, 8.2.x, 8.3.x, 8.4.x
MySQL 8.0+
MariaDB 10.4+
Hyva Theme 1.0+ (native support)
Luma Theme Native support
Required Dependency Panth_Core (free)

Installation

Composer Installation (Recommended)

composer require mage2kishan/module-smart-badge
bin/magento module:enable Panth_Core Panth_SmartBadge
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush

Manual Installation via ZIP

  1. Download the latest release ZIP from Packagist or the Adobe Commerce Marketplace
  2. Extract to app/code/Panth/SmartBadge/ in your Magento installation
  3. Also install the free Panth_Core base module
  4. Run the same commands as above starting from bin/magento module:enable

Verify Installation

bin/magento module:status Panth_SmartBadge
# Expected output: Module is enabled

After installation, navigate to:

Admin → Panth Infotech → Smart Badge → Manage Badges

Configuration

Navigate to Stores → Configuration → Panth Extensions → Smart Badge to configure global settings:

Setting Default Description
Enable Smart Badge Yes Master toggle for the module
New Arrival Threshold (Days) 30 Products created within N days receive the "New" badge
Low Stock Threshold (Qty) 5 Stock qty below this value triggers the "Low Stock" badge
Best Seller Top N 20 Top N products by order qty receive "Best Seller"
Hot Deal Discount Threshold 30 Discounts above N% receive the "Hot Deal" badge
Maximum Badges per Product 3 Cap on simultaneous badges per product
Enable Animations Yes Globally enable/disable CSS animations
Load FontAwesome Auto Auto / Always / Never — skip if your theme already loads FA
Enable on Category Pages Yes Show badges on product listings
Enable on Product Pages Yes Show badges on PDP
Enable on Cart No Show badges in cart line items

More Information
Module Category Marketing
Best For All Sizes
FAQ

Frequently Asked Questions

Does Smart Badge slow down my category pages?

No. Badge lookups are indexed and cached per product + store view + customer group, and badge rendering is pure CSS. Typical overhead is under 5ms on listing pages.

Can I create my own custom badges?

Yes. Use the Custom / Featured badge type and define rules based on any product attribute, category, SKU list, or price condition.

Does it work with configurable and bundle products?

Yes. Badges apply at the parent-product level on listing pages and follow your theme's configurable/bundle display logic on the PDP.

Will badges appear in product sliders and PageBuilder?

Yes. Smart Badge integrates with Magento's native product list blocks, PageBuilder product widgets, and popular slider extensions including Panth Product Slider.

Can I schedule a badge for a specific campaign?

Yes. Each rule supports a start/end datetime or a recurring weekly window, all timezone-aware.

Does it work with Hyva themes?

Yes. Smart Badge ships native Hyva support — Alpine.js + Tailwind, no jQuery — detected automatically via Panth Core's theme helper.

Is the source code available?

Yes. The full source is on GitHub at github.com/mage2sk/module-smart-badge.

Does Smart Badge support multi-store and multi-language?

Yes. Every badge rule is scopable to website / store view, and all text fields are translatable via Magento's __() function.

What if my theme already loads FontAwesome?

Set Load FontAwesome to Never in configuration to skip loading it a second time.

Can I limit how many badges show per product?

Yes. The Maximum Badges per Product config (default 3) caps simultaneous badges. Rule priority determines which ones display when more match than allowed.


Does this replace Magento's native contact form?

Yes. When the module is enabled, the /contact URL is handled by Panth Advanced Contact Us and the stock Magento_Contact form is bypassed. Disable the module to revert to the native form — no data loss.

Can I add more than 3 custom tabs?

Yes. Both CMS block tabs and attribute tabs support unlimited entries. Add as many as your product requires.

Does Smart Badge slow down my category pages?

No. Badge lookups are indexed and cached per product + store view + customer group, and badge rendering is pure CSS. Typical overhead is under 5ms on listing pages.

Does this module override Magento's `cms/noroute/index` controller?

No. It uses Magento's standard layout update mechanism to replace the block under the content container. The controller itself is untouched.

What triggers a price drop alert?

Any reduction in the final displayed price for the store view where the customer subscribed — catalog regular price, special price, catalog price rule discount, tier pricing, or group pricing. The module compares the current final price against the baseline captured at subscription time.

Does this replace Magento's default product gallery?

Yes, on the product detail page. When the module is enabled, the default gallery.phtml is replaced with the Panth gallery (one template for Hyva, another for Luma — chosen automatically).

Does Panth Search Autocomplete work with Elasticsearch and OpenSearch?

Yes. The module is engine-agnostic — it uses whatever Magento is configured with (Elasticsearch 7, Elasticsearch 8, OpenSearch 1.x/2.x, or the MySQL fallback). No extra setup required.

Does Panth Advanced SEO replace Magento's native SEO features?

It enhances them. Magento's native meta fields still work — Panth Advanced SEO adds template-based defaults, tokens, hreflang groups, JSON-LD, SEO scoring, and dozens of other features Magento ships without.

Will this overwrite my custom image labels?

No. Merchant-authored labels (anything other than empty, the product name, Image, main product photo, or the raw filename) are preserved. Only Magento's default placeholders get upgraded to template output.

How is this different from Magento's native "file" custom option?

Native file custom options are tied to the cart quote item and don't persist cleanly as a first-class order record. Panth Order Attachments creates dedicated panth_quote_attachment and panth_order_attachment tables, linked to the sales order item, ensuring files remain accessible for the full order lifetime — including reorders, invoices, and RMAs.

Need this customised?

Talk to Kishan directly — written quote, scope and timeline within 24 hours. No sales call.

WhatsApp

Smart Product Badges & Labels for Magento 2

$0.00
Step up

Customers usually upgrade to