外掛說明
Lime Product Labels lets you attach eye-catching badges to your WooCommerce product images to highlight promotions, availability, and other key product attributes.
More WooCommerce plugins at limewoo.com.
Key features:
- Create unlimited product labels with custom text or images
- 8 built-in label shapes: badge, tag, chevron, circle, banner, corner, burst, shield
- Flexible targeting: all products, on sale, featured, new arrivals, out of stock, low stock, best sellers, top rated, on backorder, specific products, categories, tags, or brands
- Placement control: top-left or top-right on product pages and archive/shop pages
- Device visibility: show on desktop, mobile, or both
- User condition rules: show labels to specific users or user roles only
- Dynamic shortcodes in label names:
{sale_percent},{sale_amount},{stock_qty},{stock_status},{regular_price},{sale_price},{sku} - Manual styling: background color, text color, font size, corner radius, padding, and more; or let the plugin auto-match your theme
- Export and import labels as JSON for easy backups and site migrations
- Theme compatibility layer for Woostify and Botiga
- WooCommerce HPOS (Custom Order Tables) compatible
Source Code
The full source code, including all JavaScript source files, SCSS, and build configuration, is publicly available at:
https://github.com/Limewoo/lime-product-labels
To regenerate the compiled assets from source:
- Run
npm install(orbun install) to install dependencies. - Run
npm run build(orbun run build) to produce the files inbuild/.
The build uses @wordpress/scripts (webpack) with a custom webpack.config.js. Source files live in the src/ directory.
More Plugins
Find more WooCommerce plugins by Limewoo at limewoo.com.
螢幕擷圖







安裝方式
- Upload the plugin files to the
/wp-content/plugins/lime-product-labelsdirectory, or install the plugin through the WordPress Plugins screen directly. - Activate the plugin through the Plugins screen in WordPress.
- Make sure WooCommerce is installed and active.
- Go to Lime Labels in the WordPress admin menu to create your first label.
常見問題集
-
Does this plugin require WooCommerce?
-
Yes. Lime Product Labels requires WooCommerce to be installed and active.
-
Which PHP version is required?
-
PHP 8.0 or higher.
-
Can I use image labels instead of text?
-
Yes. When creating a label, set the label type to Image and upload a PNG, JPG, or SVG file (SVG requires a plugin such as Safe SVG to be installed).
-
Can I show different labels to different users?
-
Yes. Each label has an Advanced Settings section where you can restrict visibility to specific users or user roles (include or exclude).
-
Are label positions customizable?
-
You can place each label in the top-left or top-right corner of the product image, independently for the product page and archive pages.
-
Will this slow down my store?
-
No. Badge HTML is rendered server-side by PHP. Eligible labels per product are cached in versioned transients for up to 24 hours. The cache is automatically invalidated when labels or products change.
-
Can I export and import my label settings?
-
Yes. Go to Lime Labels Settings Export & Import to download all your labels as a JSON file or restore them from a backup.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.0.0
- Initial release.
