Recommended Free Tools
You can add WooCommerce product badges with an admin extension, custom PHP for the built-in sale badge, or CSS for visual styling. For a no-code badge with rules for selected products, categories, or campaigns, use the official Product Badges extension: create a badge under Products > Badges, then set its content and display conditions.
Choose the right way to add a badge
| Method | Best for | What it controls | Trade-off |
|---|---|---|---|
| Official Product Badges extension | Store owners who want an admin interface | Badge types, display conditions, scheduling, and placement | Requires installing an extension; current pricing is not stated in the product documentation. |
| Product Badges and Labels extension | Promotions using images, dynamic price text, or countdowns | Global rules, customer-role targeting, date windows, and pricing tags | Offers more configuration options; current pricing is not stated in the product documentation. |
| PHP filters | Developers changing the built-in sale badge text or markup | Sale-badge wording or HTML | Requires PHP knowledge and theme-compatibility checks. WooCommerce cautions that custom actions and filters require advanced WooCommerce and PHP knowledge (WooCommerce customization documentation). |
| CSS | Changing a badge’s appearance | Size, color, and position | CSS does not provide reliable assignment rules for choosing which products receive a badge. |
The official WooCommerce Product Badges extension is the more direct choice for rules-based badges managed in the dashboard. Product Badges and Labels is another option when you need its dynamic pricing tags or customer-role targeting. For either extension, check its current listing for availability and terms before installing.
Create a badge with the Product Badges extension
- Install and activate the official Product Badges extension.
- In the dashboard, go to Products > Badges and choose Add New.
- Choose a badge format. Product Badges supports text, images, countdown badges, and code or HTML. Set the content and, where available, options such as color, size, padding, border radius, and position. WooCommerce notes that custom HTML and CSS can be used for unique badges (Product Badges documentation).
- Configure the products or conditions that should display the badge, then save it.
- Check a matching product on the storefront to confirm the badge’s placement and appearance.
Target only selected products or campaigns
Badge conditions determine where a badge appears. Depending on the extension, you can target all products or narrow the rule using conditions such as:
- Specific products or product categories
- Sale status, featured status, product type, or price
- Stock status or quantity, shipping class, product tags, or total sales
Product Badges and Labels also supports date-based scheduling and customer-role targeting. Use a schedule for a promotion with a defined start and end, or a role condition when a badge should be visible only to a particular customer group. Available conditions depend on the extension and its configuration; consult the relevant Product Badges documentation or the Product Badges and Labels listing for details.
Quick wins for a faster PC:
Scan for outdated or missing drivers - takes under a minuteDriver Scan →Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →#1 Best Overall
- BRIGHT AND COLORFUL: With 16 vibrant colors(3"x2"), our rainbow name tags are sure to make people happy. Use them to organize and identify items and stay on top of your game!
- HIGH-QUALITY PRINTING: Our name tags are printed on high-quality, non-toxic paper and ink. They are waterproof, odorless and eco-friendly, and you can write on them with a marker pen.
- EASY TO USE: Unlike roll labels, our name tags come in sheets and are easy to peel from the backing. Stick them where you need them and remove without leaving residue. Great for clothes and surfaces.
- VERSATILE: Our name tags are not just for name tagging! They can be used for labeling backpacks, school books, school supplies, mailing labels, birthday labels, baby bottle labels, and more. Perfect for parties, conferences and events.
- GREAT VALUE: With 400 pieces in total (25 sheets x 16 colors), you get a lot of name tag labels for your money. Plus, our friendly customer service is available 24 hours to ensure your peace of mind. Our product picture will look bigger in order to emphasize the product features, please refer to the actual size for your purchase. If you are confused about the size, you can consult our customer service before purchasing.
Use the featured-product condition
To mark a product as featured, open Products > All Products and select the star in the Featured column for that product. Then use a featured-product condition in the badge extension, if supported, to show the badge on featured items (WooCommerce product management documentation).
Use dynamic promotional text and images
Product Badges and Labels supports predefined promotional images, uploaded images, and dynamic pricing tags including {percentage}, {discount}, {price}, {saleprice}, and {delprice} (Product Badges and Labels). These tags let a badge reflect product pricing rather than requiring the same discount figure to be typed into every label. Verify the rendered text on a product page, especially if your store displays prices differently by currency, tax setting, or customer location.
Rank #2
- No need to worry about name tag stickers curling or falling off with these flexible name badges designed to move with clothing
- Perfect for both personal and professional use, these self-adhesive rectangular labels are great to use as name tags for meetings, trade show badges, storage organization labels, classroom tags, and more
- Easily personalize name labels by hand or print them on-site on your laser or inkjet printer
- Quickly create professional-quality sticker name tags with personal titles, company names, logos, and more using our Avery online design software and hundreds of available Avery templates
- Save time before your event with the unique peel-away design that allows you to separate each name tag from the printed sheet with the label backing still intact until ready to use
Change the built-in sale badge with PHP
WooCommerce’s On-Sale Badge block displays a Sale badge only for products that are on sale (On-Sale Badge block documentation). If you only need to change its wording in a block-based display, WooCommerce documents the woocommerce_sale_badge_text filter. Its callback receives the sale text and a WC_Product.
Classic theme output can be changed with the woocommerce_sale_flash filter, which lets a developer replace the sale-badge HTML (WooCommerce customization documentation). The filter route changes WooCommerce’s sale badge; it is not a substitute for an extension’s product/category assignment interface. Add code through a maintained child theme or an appropriate code-management method, and test it with your active theme and product templates.
Free tools Windows power users keep installed
One-click scans. No signup required.
Rank #3
- Visitor stickers are made with durable adhesive that will adhere to any surface, offering a reliable way to keep visitors identified.
- Name badges have a large space to write a visitor's name, making it easy to quickly fill out and get them ready for use.
- Name tag stickers have a white and blue color scheme that gives them a professional look and will help visitors feel welcome and comfortable.
- Visitor badges measure 3 1/2 x 2 1/4 inches, and are small and compact, making them easy to store and transport.
- Name tag stickers for clothes are in a pack of 100 enough for a large gathering of visitors or multiple uses over time.
Style badges and fix display problems
For badges created by Product Badges, CSS can target the wcpb-product-badges-badge class or a badge-specific class documented by the extension (Product Badges documentation). Use CSS for presentation changes such as typography, color, and spacing; keep product selection and campaign logic in the extension’s display rules.
Quick Recap
Best Value
- Personalize name badge labels by hand or print your custom stickers on the 4" x 6" sheets with your laser or inkjet printer
- Quickly create professional-quality name tag stickers with personal titles, company names, logos, and more using our Avery online design software and hundreds of available Avery templates
- Perfect for both personal and professional use, these self-adhesive rectangle labels are great to use as name tags for meetings, trade show badges, storage organization labels, classroom tags, and more
- Name badge stickers stick firmly to most fabrics without curling or falling off, yet removes cleanly and easily
- Distribute name tags quickly and easily at your next event with this pack of 100 customizable adhesive name badges
Rank #4
- √DETAILS - 2x3 inch | Fluorescent Green Visitor Badge Stickers | 300 Stickers on a Roll.
- √DESIGN - The bright color helps to easily identify visitors. Emple room to write the visitor's name and date they are visiting.
- √WIDE APPLICATION - These guest pass stickers will help facilitate a better social environment at your hospital, conference,group, meeting, trip, school, or business
- √EASY TO USE - Just tear the sticker off the roll, slickly peel and stick for secure placement onto the surfaces
- √HIGH QUALITY - Quality strong permanent self adhesive stickers,stick well on plastic cards and clothings
- Badge does not appear: Confirm the product meets the configured conditions, the badge is saved and enabled, and any schedule or customer-role rule applies to your test account.
- Badge is misplaced or overlaps the product image: Check whether the theme or another plugin changes product-image markup or hooks, then enable the extension’s relevant compatibility setting if available.
- Changes are not visible: Clear applicable page, object, and browser caches, then reload the product page.
- Custom code causes a problem: Disable the change or restore the previous code, then test with the active theme and other product-display extensions before reapplying it.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




