View Product Page

Badge rules for products

How to create a product badge rule

Go to the tab Badge rules, click on Add badge rule and select the rule type Products badge.

Create products badge rules

Now you can start configuring the options to create your rule to automatically apply badges to your products.

How to create a badge rule

  • Rule name: give a name to the rule you are creating to identify it among the others;
  • Active rule: choose whether the rule will be enabled or disabled. This can be changed in the Badge rules list;
  • Assign a badge to: select the products to which the rule will apply: all products, only recent products, on-sale, featured, in-stock, out-of-stock or low-stock products, back-order products;
  • Exclude products: enable if you want to exclude one or more products from this rule;
  • Excluded products: add the products you want to be excluded from the badge rule;

Badge rule options

  • Badge to assign: select the badge that will be assigned to products of this rule;
  • Schedule rule from: define the start and end date to show the badge.

    Recent products badge

To show the badges on recent products only, select Only recent products and enter the number of days to be taken into account to apply the badge. E.g. by inserting the value 5 in Assign badge to product newer than the badge will apply only to products published in the last 5 days.

Badges on recent productsRecent product

Low stock products badge

To show the badges only on products with low stock, select Low stock products and enter the quantity to be taken into account to apply the badge. E.g. by inserting the value 3 in Low stock quantity the badge will apply only to products with a stock equal to 3 or lower.

Low-stock product badgesLow stock product

Users

When creating the rule, you will be able to decide the users and/or user roles to whom the badges will be visible. Through the option Show badge to choose whether the badge will be shown to all users or specific users only. Add users and/or user roles in the dedicated fields as shown below.

Users

Assign badges manually

To assign a badge to a specific product of the shop, go to its editing page and add one or more badges you have created from the metabox “Product Badge”.

Assign badge from product edit page

You can also schedule when the badge will show by specifying the start and end date.

Schedule badge

You can also assign and remove the badge(s) from the product quick edit as shown below.

Badges in quick edit

In case you want to hide the badge on the product detail page, enable the option Hide badges in single product pages that you find in the plugin General settings.

 

Badge rules for categories

How to create a category badge rule

Go to the tab Badge rules, click on Add badge rule and select the rule type Category badge.

Category badge rules

Now you can start configuring the options to create your rule to automatically apply badges to your product categories.

Category badge rule options

  • Rule name: give a name to the rule you are creating to identify it among the others;
  • Active rule: choose whether the rule will be enabled or disabled. This can be changed in the Badge rules list;
  • Categories badges: through this option, you can create as many category rules as you want by defining the category name in the field In product of and choosing the badge to show on products belonging to that category in the field Show. To add a new rule, just click on the button Add rule.

Category badge rule options

  • Exclude products: enable if you want to exclude one or more products from this rule;
  • Excluded products: add the products you want to be excluded from the badge rule;
  • Schedule rule from: define the start and end date to show the badge.

Users

When creating the rule, you will be able to decide the users and/or user roles to whom the badges will be visible. Through the option Show badge to choose whether the badge will be shown to all users or specific users only. Add users and/or user roles in the dedicated fields as shown below.

Users

Category badge sample

Category badges on frontend

Badge rules for tags

Go to the tab Badge rules, click on Add badge rule and select the rule type Tag badge.

Create tag badge rules

Now you can start configuring the options to create your rule to automatically apply badges to your product tags.

Tag badge rule options

  • Rule name: give a name to the rule you are creating to identify it among the others;
  • Active rule: choose whether the rule will be enabled or disabled. This can be changed in the Badge rules list;
  • Categories badges: through this option, you can create as many tag rules as you want by defining the tag name in the field In product of and choosing the badge to show on products belonging to that tag in the field Show. To add a new rule, just click on the button Add rule.

Tag rule options

  • Exclude products: enable if you want to exclude one or more products from this rule;
  • Excluded products: add the products you want to be excluded from the badge rule;
  • Schedule rule from: define the start and end date to show the badge.

Users

When creating the rule, you will be able to decide the users and/or user roles to whom the badges will be visible. Through the option Show badge to choose whether the badge will be shown to all users or specific users only. Add users and/or user roles in the dedicated fields as shown below.

Users

Tag badge sample

Tag badges on frontend

Badge rules for shipping classes

Go to the tab Badge rules, click on Add badge rule and select the rule type Shipping class.

Create shipping class badge rules

Now you can start configuring the options to create your rule to automatically apply badges to products based on their shipping class.

Create shipping class rule

 

  • Rule name: give a name to the rule you are creating to identify it among the others;
  • Active rule: choose whether the rule will be enabled or disabled. This can be changed in the Badge rules list;
  • Shipping class badges: through this option, you can create as many rules as you want by defining the shipping class name in the field In product of and choosing the badge to show on products with that shipping class in the field Show. To add a new rule, just click on the button Add rule.

Shipping class rule options

  • Exclude products: enable if you want to exclude one or more products from this rule;
  • Excluded products: add the products you want to be excluded from the badge rule;
  • Schedule rule from: define the start and end date to show the badge.

Users

When creating the rule, you will be able to decide the users and/or user roles to whom the badges will be visible. Through the option Show badge to choose whether the badge will be shown to all users or specific users only. Add users and/or user roles in the dedicated fields as shown below.

Users

Shipping class badge sample

 

Shipping class badges on frontend