[WordPress] 外掛分享: Sale & Stock Badges for WooCommerce

首頁外掛目錄 › Sale & Stock Badges for WooCommerce
WordPress 外掛 Sale & Stock Badges for WooCommerce 的封面圖片
全新外掛
安裝啟用
★★★★★
5/5 分(1 則評價)
剛更新
最後更新
問題解決
WordPress 6.5+ PHP 8.1+ v1.0.20 上架:2026-07-16

內容簡介

Sale & Stock Badges for WooCommerce 外掛為您的 WooCommerce 產品添加徽章,顯示產品的當前狀態(如促銷、新品、低庫存等),並可自訂每個產品的手動徽章,提升產品的可見性與銷售機會。

【主要功能】
• 自動徽章顯示:促銷、新品、低庫存等
• 自訂徽章文字與顏色
• 配置顯示位置:單一產品頁面及商店列表
• CSS 渲染:無 JavaScript,無版面移動
• 支援 [marks_badges] 短碼於任意頁面使用
• 兼容 HPOS 和購物車/結帳區塊

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.20) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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

Documentation – plogins.com/plogins-marks/docs
Plugin page – plogins.com/plogins-marks
Source code – github.com/wppoland/plogins-marks
Bug reports and feature requests – GitHub issues

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"]

Reporting a security issue: email [email protected], 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.
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, billed in EUR.
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.

延伸相關外掛

文章
Filter
Mastodon