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

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

內容簡介

Sale & Stock Badges for WooCommerce 是一款專為 WooCommerce 設計的外掛,能為產品添加各種徽章,如促銷、新品、庫存不足等,提升產品的可見性與吸引力。

【主要功能】
• 自動徽章:促銷、新品、庫存不足等
• 自訂標籤:每個自動徽章可設定自訂文字
• 佈局控制:可設定徽章顯示位置
• 外觀控制:形狀、字母大小寫等選項
• 短碼功能:[marks_badges] 可在任意頁面使用
• 無需 JavaScript:僅使用 CSS 渲染徽章

外掛標籤

開發者團隊

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

① 下載 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"]

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.

文章
Filter
Apply Filters
Mastodon