Learn how to create labels/badges with product shipping data.
In this article, we will learn how to create labels/badges with product shipping data. Such a label can be very useful for store users - you can display information about shipping cost, available shipping methods, shipping class (type), and product shipping parameters (weight, length, width, height).
Examples:
Label with shipping class inside
Label with "Free shipping" text
Label with "Heavy package" text
Label with product dimensions
Below we will cover how to create such a label with the help of label display conditions and text variables.
Label with shipping class inside
First, let's create a label that will display the current product's shipping class name.
Stock Status - equal to - In Stock
to show it for all In Stock products.
Display conditions for label with shipping class
{SHIPPING_CLASS}
Label text option for label with shipping class
Product label that is based on shipping class
Now let's create a product badge that will display based on the current product's shipping class.
Example: show a label with the text "Free shipping" for products that have the Free Shipping
class.
Product Shipping Class - equal to - Free Shipping
Display conditions for label that is based on shipping class
Free shipping
Label text option for label that is based on shipping class
Product label that is based on product shipping parameters
Next, let's create a product badge that will display based on the current product's shipping parameters.
Example: show a label with the text "Heavy package" for products whose weight is greater than 20 units.
Product Shipping Parameters - weight - greater or equal to - 20
You can change these values as needed - set a different shipping parameter or value.
Display conditions for label that is based on shipping parameters
Heavy package
Label text option for label that is based on shipping parameters
Label with shipping parameters inside
Finally, let's create a badge that will display parameters like product length, width and height inside the label.
Stock Status - equal to - In Stock
to show it for all In Stock products.
Display conditions for label with shipping parameters inside
{LENGTH}X{WIDTH}X{HEIGHT}
Label text option for label with shipping parameters inside
You can use variables like {SHIPPING_CLASS}
, {LENGTH}
, {WIDTH}
, {HEIGHT}
, {WEIGHT}
, and any custom text variables provided by the plugin.
Under the badge options, you can set custom styles and animations. Choose colors, fonts, positions, and entrance/exit effects to match your store’s design.
Yes, you can add multiple display conditions (e.g., stock status, shipping class, weight) and choose whether all or any conditions must be met to display the label. This allows for highly flexible badge logic.
Absolutely — use the custom links option to make your labels clickable, directing users to product pages, shipping info, or promotional content.