plugin-icon

Sale & Stock Badges for WooCommerce

CSS-only product badges for WooCommerce: Sale, New, Low stock, Bestseller and a manual badge. No JavaScript, no layout shift.
Sürüm
1.0.9
Son güncellenme
Jul 17, 2026
Sale & Stock Badges for WooCommerce

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.

Documentation and links

Features

  • Automatic badges: Sale, New, Low stock, Bestseller, Discount percent, Free shipping, Out of stock.
  • Custom label text for every automatic badge.
  • Configurable thresholds: newness window, low-stock level, bestseller sales.
  • Free-shipping detection by product shipping class.
  • Placement controls: single product page and/or shop and category listings.
  • Appearance controls: pill or square shape, uppercase, and a per-context badge cap.
  • [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"]

Sale & Stock Badges PRO

The free edition ships the core CSS badges (Sale, New, Low stock, Bestseller, manual). Sale & Stock Badges PRO adds campaign and rules-based badging:

  • Scheduled and targeted badges – campaign badges with custom colours, a start/end window and targeting by product, category or tag
  • Conditional display rules – store-wide rules that badge a product by category, price threshold or low stock
  • Image badges – show a certification or brand logo (PNG/SVG) on a product
  • A/B label sets – rotate competing badge labels with sticky cookies and per-variant impression counts

Everything in the free edition stays free and open. Sale & Stock Badges PRO starts at 19 EUR per year (PLN shown at checkout).

Compare editions and pricing: plogins.com/plogins-marks-pro/pricing

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 includes Polish, German and Spanish translations for the plugin interface. The text domain is plogins-sale-stock-badges, so WordPress.org language packs can also override or extend these bundled translations.

Ücretsiz(ücretli paketlerde)
Kurulum işlemini tamamlayarak, WordPress.com'un Hizmet Şartları ile Üçüncü Taraf Eklenti Şartlarını kabul etmiş olursunuz.
Test edilen son sürüm
WordPress 7.0.2
Bu eklenti, sitenizde kullanılmak üzere indirilebilir.