{"id":38173,"date":"2023-03-14T13:12:44","date_gmt":"2023-03-14T13:12:44","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=38173"},"modified":"2023-07-28T13:51:20","modified_gmt":"2023-07-28T13:51:20","slug":"how-to-add-sale-and-best-seller-badges-to-woocommerce-products","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-add-sale-and-best-seller-badges-to-woocommerce-products\/","title":{"rendered":"How to Add Sale and Best Seller Badges to WooCommerce Products"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"adding-the-heading-widget\"><strong>Adding the Heading Widget<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>Navigate to the <strong><em>JetEngine &gt; Listings<\/em><\/strong> tab and open the listing template with applied dynamic tags (here, <em>Products_listing_items<\/em>). Open the listing template and drag and drop the <strong>Heading<\/strong> widget where needed to place a badge.&nbsp;<\/p>\n\n\n\n<p>If you want to put it at the top of the item, add the <strong>Inner Section<\/strong> widget previously.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/adding-heading-widget-1x.png\" alt=\"adding heading widget\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"creating-the-sale-badge\"><strong>Creating the Sale Badge<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>Add the text to the badge (here, <em>Sale!<\/em>) to the <strong>Title<\/strong> field and select the <strong>span<\/strong> option as an <strong>HTML tag<\/strong> of the badge.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/heading-widget-settings-2x.png\" alt=\"heading widget settings\">\n\n\n\n<p>Navigate to the<strong> Advanced<\/strong> settings of the widget.<\/p>\n\n\n\n<p>Unroll the <strong>Dynamic Visibility<\/strong> settings and move the <strong>Enable<\/strong> toggle.<\/p>\n\n\n\n<p>Select the <strong>Show element if condition met<\/strong> option from the <strong>Visibility condition type<\/strong> drop-down menu.&nbsp;<\/p>\n\n\n\n<p>Select the <strong>Exist<\/strong> option from the <strong>Conditions<\/strong> drop-down menu.<\/p>\n\n\n\n<p>Press the <strong>Dynamic Tag<\/strong> and select the <strong>WooCommerce Product Field<\/strong> option from the <strong>Field<\/strong> drop-down menu. Thus the <strong>Setting <\/strong>field turns on: select the <strong>Plain Sale Price<\/strong> option from the drop-down menu.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/dynamic-visibility-settings-of-heading-widget-2x.png\" alt=\"dynamic visibility settings of heading widget\">\n\n\n\n<p>Apply the custom style settings to the badge.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/style-settings-of-heading-widget-1x.png\" alt=\"style settings of heading widget\">\n\n\n\n<p>Press the \u201c<strong>Update<\/strong>\u201d button to save changes.<\/p>\n\n\n\n<p>Update the page with the applied <strong>Listing Grid<\/strong> widget.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/front-end-of-badges-applied-1x.png\" alt=\"frontend of badges applied\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"adding-the-best-seller-badge\"><strong>Adding the Best Seller Badge<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>To add another badge (i.e., the <em>Best Seller<\/em>), duplicate the <strong>Heading<\/strong> widget: click the right button of your mouse on the widget and select the <strong>Duplicate<\/strong> option.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/duplication-of-widget-2x.png\" alt=\"duplication of widgets\">\n\n\n\n<p>Edit the following settings to the duplicated <strong>Heading<\/strong> widget.<\/p>\n\n\n\n<ul>\n<li>type the text you need into the <strong>Title<\/strong> field (here, <em>Best Seller<\/em>);<\/li>\n\n\n\n<li>apply the stylish options to the widget appearance;<\/li>\n\n\n\n<li>unroll the <strong>Dynamic Visibility<\/strong> settings of the <strong>Advanced <\/strong>setting tab and type the condition for classifying the <em>WooCommerce<\/em> product as a bestseller. Select the <strong>Greater than<\/strong> option from the <strong>Condition<\/strong> settings for the best seller badge and type the number of sales in the <strong>Value<\/strong> field (here, five).<\/li>\n<\/ul>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/greater-than-condition-settings-1x.png\" alt=\"greater than condition settings\">\n\n\n\n<p>Press the \u201c<strong>Update<\/strong>\u201d button to save changes. Update the page with the applied <strong>Listing Grid<\/strong> widget. The page on the front end looks as follows:<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/front-end-of-woocommerce-badges-1x.png\" alt=\"front end of woocommerce badges\">\n<\/div><\/div>\n\n\n\n<p>That&#8217;s all about adding badges to <em>WooCommerce<\/em> products.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial details how to add badges with texts to WooCommerce Product listings and apply Dynamic Visibility conditions for their displaying refer to product options. It uses the dynamic tags of the JetEngine tools to get WooCommerce data.<\/p>\n","protected":false},"author":12,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[565,393,405],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Add Sale and Best Seller Badges to WooCommerce Products- Help Center<\/title>\n<meta name=\"description\" content=\"Read how to add badges with texts to WooCommerce Product listings and apply Dynamic Visibility conditions to display them using the JetEngine plugin for the Elementor and Gutenberg.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-add-sale-and-best-seller-badges-to-woocommerce-products\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add Sale and Best Seller Badges to WooCommerce Products- Help Center\" \/>\n<meta property=\"og:description\" content=\"Read how to add badges with texts to WooCommerce Product listings and apply Dynamic Visibility conditions to display them using the JetEngine plugin for the Elementor and Gutenberg.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-add-sale-and-best-seller-badges-to-woocommerce-products\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-28T13:51:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/adding-heading-widget-1x.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-add-sale-and-best-seller-badges-to-woocommerce-products\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-add-sale-and-best-seller-badges-to-woocommerce-products\/\",\"name\":\"How to Add Sale and Best Seller Badges to WooCommerce Products- Help Center\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2023-03-14T13:12:44+00:00\",\"dateModified\":\"2023-07-28T13:51:20+00:00\",\"description\":\"Read how to add badges with texts to WooCommerce Product listings and apply Dynamic Visibility conditions to display them using the JetEngine plugin for the Elementor and Gutenberg.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-add-sale-and-best-seller-badges-to-woocommerce-products\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-add-sale-and-best-seller-badges-to-woocommerce-products\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-add-sale-and-best-seller-badges-to-woocommerce-products\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Add Sale and Best Seller Badges to WooCommerce Products\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"name\":\"Help Center\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\",\"name\":\"Help Center\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"contentUrl\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"caption\":\"Help Center\"},\"image\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Add Sale and Best Seller Badges to WooCommerce Products- Help Center","description":"Read how to add badges with texts to WooCommerce Product listings and apply Dynamic Visibility conditions to display them using the JetEngine plugin for the Elementor and Gutenberg.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-add-sale-and-best-seller-badges-to-woocommerce-products\/","og_locale":"en_US","og_type":"article","og_title":"How to Add Sale and Best Seller Badges to WooCommerce Products- Help Center","og_description":"Read how to add badges with texts to WooCommerce Product listings and apply Dynamic Visibility conditions to display them using the JetEngine plugin for the Elementor and Gutenberg.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-add-sale-and-best-seller-badges-to-woocommerce-products\/","og_site_name":"Help Center","article_modified_time":"2023-07-28T13:51:20+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/adding-heading-widget-1x.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-add-sale-and-best-seller-badges-to-woocommerce-products\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-add-sale-and-best-seller-badges-to-woocommerce-products\/","name":"How to Add Sale and Best Seller Badges to WooCommerce Products- Help Center","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2023-03-14T13:12:44+00:00","dateModified":"2023-07-28T13:51:20+00:00","description":"Read how to add badges with texts to WooCommerce Product listings and apply Dynamic Visibility conditions to display them using the JetEngine plugin for the Elementor and Gutenberg.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-add-sale-and-best-seller-badges-to-woocommerce-products\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-add-sale-and-best-seller-badges-to-woocommerce-products\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-add-sale-and-best-seller-badges-to-woocommerce-products\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/crocoblock.com\/knowledge-base\/articles\/"},{"@type":"ListItem","position":3,"name":"How to Add Sale and Best Seller Badges to WooCommerce Products"}]},{"@type":"WebSite","@id":"https:\/\/crocoblock.com\/knowledge-base\/#website","url":"https:\/\/crocoblock.com\/knowledge-base\/","name":"Help Center","description":"","publisher":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization","name":"Help Center","url":"https:\/\/crocoblock.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","contentUrl":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","caption":"Help Center"},"image":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article\/38173"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/12"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=38173"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=38173"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=38173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}