Skip to content
InnoCodia
  • Home
  • Resources
    • Blog
    • Documentation
  • Plugins
    • Better Badge
  • About
  • My Account
  • Contact
Get Better Badge Pro
Get Better Badge Pro
InnoCodia
  • Home
  • Resources
    • Blog
    • Documentation
  • Plugins
    • Better Badge
  • About
  • My Account
  • Contact

Getting Started

1
  • How to install Better Badge Plugin?

Custom Badge

2
  • How to make custom animation badge by Better Badge plugin?
  • How to create custom badge by using Better Badge?

Image Badge

1
  • How to create image badge by using Better Badge?

HTML Badge

1
  • How to create Custom HTML badge by using Better Badge?

Filter

2
  • How to create dynamic low stock badge?
  • How to create filter in Better Badge?

Settings

1
  • How to hide WC sale badge and show custom badges?
View Categories
  • Home
  • Docs
  • Filter
  • How to create dynamic low stock badge?

How to create dynamic low stock badge?

1 min read

By using Better Badge, you can create an unlimited number of possible combination filters to apply badges. By using a filter, you can combine product properties like attribute, price, Stock or WooCommerce Tax, or shipping class.

How to create filter based on stock quantity? #

  1. Better Badge and click on the Filter tab.
  2. Then write a meaningful title for your filter.
  3. Then click on Add New Conditions
  4. Select any of the filters you want from the dropdown. Here, we select Stock Quantity.
  5. Then select a comparison operator like equal or not equal.
  6. After that, select the value with which you want to compare. Here we set the threshold value to 10 and select compare operator lessthen.
  7. Finally, just save the filter.

How to show dynamic stock quantity on badge? #

To apply filter in products follow the steps.

  1. Simply click on Create New Badge button and type your badge name.
  2. Then click Advnace Filter button for select created filter.
  3. After click Advance Filter, you’ll see all the created filter list like dropdown. Select a filter from dorpdown.

Now set place holder for show dynamic stock quantity. Here we use {{stock_quantity}} placehloder. Before placeholder we put Only and after placeholder we put Left. So that value visible like Only 12 Left. And then save the badge.

Now see the dynamic placeholder sotck quantity badge in frontend. Here we have a product with 6 stock quantity. And the badge is showing Only 6 Left.

Updated on February 15, 2026

What are your Feelings

  • Happy
  • Normal
  • Sad
How to create filter in Better Badge?

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Table of Contents
  • How to create filter based on stock quantity?
  • How to show dynamic stock quantity on badge?
  • My Account
  • Plugins
  • Better Badge
  • Blog
  • Contact
  • About
Facebook

© 2026 InnoCodia. Powered by InnoCodia.