Linux 软件免费装
Banner图

Storzen Product Badge Rules for WooCommerce

开发者 devhasib
webtendhq
更新时间 2026年10月2日 11:59
PHP版本: 8.0 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce product labels woocommerce badges sale badge product badges

下载

详情介绍:

Product Badge Rules for WooCommerce adds smart product badges and labels to your online store, automatically. Instead of editing every product by hand or uploading static images, you create a badge once, pick a rule, and the plugin shows it on the right products by checking live WooCommerce data on every page load. Show a "Save 30%" sale badge with the real discount, a "New" label on fresh arrivals, an "Only 3 left" low stock badge, a "Sold Out" badge, a Featured label, or a Hot badge on your best sellers. Badges appear on your shop page, category pages and single product pages, and update themselves when prices, stock or sales change. Why store owners choose it Six built-in product badge rules Badge designer Built for speed More features For developers Pro version The free version shows one badge per product (the highest-priority match). A Pro version adds multi-badge stacking and more advanced options. Learn more

安装:

  1. Make sure WooCommerce is installed and active.
  2. Upload the plugin folder to /wp-content/plugins/, or install it from Plugins > Add New by searching for "Storzen Product Badge Rules".
  3. Activate the plugin through the Plugins menu in WordPress.
  4. Open the Badgify menu in your admin sidebar and go to All Badges to create or edit your badges.
  5. Visit your shop page to see the badges in action.
Requires WooCommerce 8.0 or higher.

屏幕截图:

  • Sale badge with the {pct} discount token on a single product page.
  • All Badges list: manage rule, position, priority, schedule and status.
  • Badge editor with live preview, colour pickers, shapes and an 8-point position grid.
  • Display settings: choose where badges appear and replace the default Sale flash.

升级注意事项:

1.0.0 Initial release.

常见问题:

How do I add a sale badge with the discount percentage in WooCommerce?

Create a badge with the On Sale rule and set the label to something like Save {pct}. The {pct} token is replaced with the real discount, for example "Save 30%".

How do I show a "low stock" or "only X left" badge?

Create a badge with the Low Stock rule and use a label such as Only {qty} left!. The badge appears when stock reaches your threshold, which you can set per badge or globally under Rule.

Can I show a "New" badge on recently added products?

Yes. Use the New Arrival rule and choose how many days a product counts as new. The default is 30 days.

Can I schedule a badge for a sale or holiday?

Yes. Each badge has optional Active From and Active Until dates. Outside that window the badge is hidden automatically.

Can I show multiple badges on one product?

In the free version, one badge (the highest-priority match) is shown per product. Multi-badge stacking is part of the Pro version.

Does it work with variable products?

Yes. Sale detection, stock levels and the other rules work with simple and variable products.

Will it slow down my store?

No. All active badges are loaded with one database query, cached, and evaluated in memory. There are no per-product queries on the front end and no front-end JavaScript.

Does it work with HPOS (High-Performance Order Storage)?

Yes. The plugin declares compatibility with WooCommerce HPOS.

Which themes does it work with?

Badges are added through the standard WooCommerce hooks woocommerce_before_shop_loop_item_title and woocommerce_before_single_product_summary, so it works with themes that use the default WooCommerce product loop and single product templates. Product layouts built entirely with block-based product collections may not fire these hooks.

I see two sale badges. How do I remove the default one?

Open Display and enable Replace WooCommerce Sale Flash. The default "Sale!" bubble is hidden whenever a sale badge from this plugin is shown.

Badges appear behind my product image. How do I fix it?

Increase Badge Z-Index under Display.

How do I customise the badge HTML?

Copy templates/badge.php from the plugin folder to your-theme/badgify/badge.php. The plugin uses your copy automatically.

What do the {pct} and {qty} tokens do?

{pct} becomes the discount percentage on On Sale badges, for example "30%". {qty} becomes the current stock quantity on Low Stock badges, for example "3".

更新日志:

1.0.0