Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/riasat-420/wc-product-badges/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
WC Product Badges allows store owners to easily create, customize, and display dynamic WooCommerce product badges anywhere using shortcodes and WooCommerce template action hooks.
📌 Features
- Full Styling Engine: Customize colors, typography, background gradients, glassmorphism, border radius, pill/circle/rectangle shapes, box/text shadows, hover effects, and entrance animations.
- 20+ Condition Rules: Automatically display badges for sale items, featured products, stock levels (low stock, limited stock), new arrivals, best sellers, categories, tags, price ranges, SKUs, and custom attributes.
- Shortcode Support: Use
[wc_badge id="slug"]or[wc_badges product_id="123"]anywhere — Elementor, Gutenberg, Classic Editor, or custom PHP templates. - HPOS Compatible: Fully declared compatibility with WooCommerce High-Performance Order Storage (
custom_order_tables). - No Page Builder Locks: Lightweight vanilla CSS and JS with zero framework bloat.
👤 Author & Support
- Author: Muhammad Riasat Ali
- Website / Portfolio: riasat.vercel.app
- WhatsApp Support: wa.me/+923498088939
🚀 Installation & Usage
- Download or clone this repository.
- Upload the
wc-product-badgesdirectory to/wp-content/plugins/. - Activate the plugin through the Plugins menu in WordPress.
- Access Product Badges in your WordPress Admin sidebar menu.