Description
ShopBadger – Discount Banner for WooCommerce automatically overlays a customizable deal banner on your WooCommerce product cards and single product pages, using discount data from the “Discount Rules for WooCommerce” plugin by Flycart (free version or PRO).
Key features
- Automatically detects active discounts from Discount Rules for WooCommerce (free and PRO)
- Customizable banner background color, text color, font size, and position
- Optional prefix text or emoji before the discount label
- Works with AJAX-loaded and infinite-scroll product grids via a MutationObserver
- Configurable CSS selectors so the banner can adapt to different themes and page builders
- Lightweight: assets are only enqueued on the frontend, and banner data is fetched via a nonce-protected AJAX request
Requirements
- WooCommerce (active)
- Discount Rules for WooCommerce by Flycart (free or PRO) — used as the data source for active discounts
This plugin does not modify prices or discount rules. It only reads existing discount information and displays a visual banner.
Installation
- Make sure WooCommerce and Discount Rules for WooCommerce (Flycart) are installed and active.
- Upload the plugin files to the
/wp-content/plugins/shopbadger-discount-bannerdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the “Plugins” screen in WordPress.
- Go to WooCommerce ShopBadger Banner to configure the banner appearance and CSS selectors.
FAQ
-
Does this plugin create discounts?
-
No. ShopBadger only displays a banner for discounts that are already configured in Discount Rules for WooCommerce by Flycart. It does not calculate or apply discounts itself.
-
Different themes and page builders use different markup for product cards. Use the “CSS Selectors (Advanced)” section under WooCommerce ShopBadger Banner to set the correct selectors for your theme.
-
Is PRO required?
-
No, the free version of Discount Rules for WooCommerce is fully supported. The PRO package is also supported when installed alongside the free core plugin.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“ShopBadger – Discount Banner for WooCommerce” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “ShopBadger – Discount Banner for WooCommerce” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release.
1.1.0
- Added single product page support
- Added circle and star badge shapes with auto-fit text
- Added HEX color picker and live settings preview
- Redesigned settings panel
