Sale & Stock Badges puts badges on your WooCommerce products. Some appear on their own from each product’s current state ( Sale , New , Low stock , Bestseller , and a few others), and you can also set one manual badge per product using a store-wide label and colour. The badges are drawn with CSS and
PricingFree downloadThe WordPress.org download is free. Pro versions, add-ons or external services may cost extra.
CompatibilityRequires WordPress 6.5 and PHP 8.1.
SourceWordPress plugins · Dec 6, 2026
01 / Source details
Aboutthistool.
Sale & Stock Badges puts badges on your WooCommerce products. Some appear on their own from each product’s current state ( Sale , New , Low stock , Bestseller , and a few others), and you can also set one manual badge per product using a store-wide label and colour.
The badges are drawn with CSS and sit over the product image, so they add no JavaScript and don’t shift the layout when the page loads. They show on the single product page and on shop, category and tag listings.
The code is open and lives on GitHub if you want to read it, file a bug or send a patch.
Configuration lives under a top-level Sale & Stock Badges admin menu: a global on/off toggle, placement controls, per-rule toggles with custom labels, thresholds, an appearance section (shape, uppercase, per-context caps) and the manual badge label and colour. Settings are sanitised and clamped on save.
Free-shipping detection by product shipping class.
Placement controls: single product page and/or shop and category listings, including Product Collection blocks and the [products] shortcode on any page.
Appearance controls: pill or square shape, top left or top right corner (mirrored in right-to-left languages), uppercase, and a per-context badge cap.
Brand colour for Accent badges (Bestseller and an Accent manual badge), with the label text switching between white and dark to stay readable.
[marks_badges] shortcode to place badges anywhere.
A single manual badge (label + colour) shown per product via meta.
CSS-only rendering: no JavaScript, no layout shift.
Global on/off toggle and per-rule toggles.
Translation ready (POT included) and clean uninstall.
HPOS and cart/checkout blocks compatible.
The [marks_badges] shortcode
Use [marks_badges] to drop a product’s badges into any page, post or widget. With no attributes it uses the current product (inside a loop or on a single product page). Pass id to target a specific product and context ( single or loop ) to pick the render style:
[marks_badges id="123" context="loop"]
Reporting a security issue: email hello@wppoland.com, and under our coordinated disclosure policy we confirm within two business days, assess within five, and patch a critical issue within seven days of confirming it.
Marks Pro
Marks Pro is a separate paid plugin that extends Marks.
Included in Marks:
Automatic badges
Low-stock threshold
Manual badge
CSS-only, no JavaScript
Listing and product page
Marks Pro adds:
Scheduled campaign badges
Conditional rules
Image badges
A/B label sets
The free edition is not a trial and its features stay available without a time limit.
Marks Pro – plogins.com/plogins-sale-stock-badges-pro/
Compare editions and pricing – plogins.com/plogins-sale-stock-badges-pro/pricing/
PRO documentation – plogins.com/plogins-sale-stock-badges-pro/docs/
External Services
Sale & Stock Badges does not connect to any external services. Badges are computed and drawn entirely on your own server from WooCommerce data already in your database (price, stock, sales, product dates and shipping class), and the badge CSS is served from the plugin’s own assets.
The plugin stores its configuration in two WordPress options ( marks_settings and marks_db_version ) and reads per-product post meta ( _marks_manual_text and _marks_manual_style ) for the manual badge. No visitor or store data is sent anywhere, and the plugin does not call home, load remote scripts or fonts, or send email.
Translations
Sale & Stock Badges is fully translatable and ships the plogins-sale-stock-badges.pot template. Translations are delivered by WordPress.org language packs from translate.wordpress.org, which is where Polish, German and Spanish are being contributed; the package itself carries no compiled translation files.
Privacy
Marks stores its settings in your WordPress database and reads optional per-product badge meta; it stores no visitor data, sets no cookies and sends no data off-site. When an admin dismisses the PRO notice, the plugin stores that choice as the marks_pro_banner_dismissed user meta; deleting the plugin removes it together with the plugin options. The per-product badge meta ( _marks_manual_text , _marks_manual_style , _marks_secondary_text ) is your own store content and stays in the database. The free plugin only reads it; you set it by hand, or with the PRO product box.
Full details: plogins.com/plogins-sale-stock-badges/privacy/
See it in action
Screenshots & previews.
Automatic badges on a shop listing.The Sale & Stock Badges settings screen.Badge labels filled from the {stock} and {discount_percent} tokens: "Only 3 left" and "-25%" in the shop loop.Sale and Bestseller badges on a single product page photo.
02 / Source details
Gettingstarted.
01Upload the plugin to /wp-content/plugins/marks , or install via Plugins > Add New.
02Activate it. WooCommerce must be active.
03Go to the Sale & Stock Badges menu, enable badges, and choose which automatic badges to show.
03 / Source details
Frequently asked questions.
Does it require WooCommerce?
Yes.
When does the “New” badge show?
On products created within the newness window (30 days by default).
When does the “Low stock” badge show?
On stock-managed products whose remaining quantity is at or below the configured low-stock threshold.
How do I add a manual badge to a single product?
Set the manual badge label and colour on the Sale & Stock Badges settings screen, then set the product meta _marks_manual_text (and optionally _marks_manual_style ) on the products that should display it.
Does this plugin work on WordPress Multisite?
Yes. This plugin is compatible with WordPress Multisite. Network activate it or activate it on individual sites; each site keeps its own settings and data.
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