{"id":69,"date":"2018-01-05T15:34:41","date_gmt":"2018-01-05T15:34:41","guid":{"rendered":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management-new\/?p=69"},"modified":"2024-01-09T12:08:04","modified_gmt":"2024-01-09T12:08:04","slug":"text-badge","status":"publish","type":"post","link":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/premium-version-settings\/text-badge\/","title":{"rendered":"Text badge"},"content":{"rendered":"\n<p>This type of badge is entirely formed of a text label, for which you can customize colors, size, width, height, position, and more.<\/p>\n\n\n\n<p>To create your text badge, start by entering a name to identify it (<em><strong>N.B.<\/strong> <strong>this is a required field<\/strong><\/em>) then select <em>Text<\/em> from the dropdown in <strong>Badge type<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/5.create-new-badge.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1444\" height=\"722\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/5.create-new-badge.jpg\" alt=\"Create new badge\" class=\"wp-image-809\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/5.create-new-badge.jpg 1444w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/5.create-new-badge-300x150.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/5.create-new-badge-1024x512.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/5.create-new-badge-768x384.jpg 768w\" sizes=\"auto, (max-width: 1444px) 100vw, 1444px\" \/><\/a><\/figure>\n\n\n\n<p>Now you can start setting all the available options through the <strong>built-in editor:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/6.create-badge-options.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1900\" height=\"791\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/6.create-badge-options.jpg\" alt=\"Text options\" class=\"wp-image-810\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/6.create-badge-options.jpg 1900w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/6.create-badge-options-300x125.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/6.create-badge-options-1024x426.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/6.create-badge-options-768x320.jpg 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/6.create-badge-options-1536x639.jpg 1536w\" sizes=\"auto, (max-width: 1900px) 100vw, 1900px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Text: <\/strong>here, you can customize the text style (font, size, color, alignment, etc.);<\/li>\n\n\n\n<li><strong>Background color:&nbsp;<\/strong>choose the color of the text background;<\/li>\n\n\n\n<li><strong>Size (px):&nbsp;<\/strong>select height and width of the badge;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/7.create-badge-option.jpg\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1040\" height=\"900\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/7.create-badge-option.jpg\" alt=\"New text badge options\" class=\"wp-image-811\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/7.create-badge-option.jpg 1040w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/7.create-badge-option-300x260.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/7.create-badge-option-1024x886.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/7.create-badge-option-768x665.jpg 768w\" sizes=\"auto, (max-width: 1040px) 100vw, 1040px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Padding:<\/strong> set the badge content padding (<em>top, right, bottom, left<\/em>) in px or %;<\/li>\n\n\n\n<li><strong>Border radius:&nbsp;<\/strong>set the badge border radius (<em>top-left, top-right, bottom-right, bottom-left) <\/em>in px or %;<\/li>\n\n\n\n<li><strong>Opacity (%):&nbsp;<\/strong>set the percentage of opacity for the badge. <em>Min. 0 = transparent; max 100 = solid color;<\/em><\/li>\n\n\n\n<li><strong>Rotation: <\/strong>With the rotation option, you can rotate the image like a 3D object. You can rotate it using the three main axes X, Y, and Z. You can either choose to use numbers or the slider as shown in the image below.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/40.badge-rotation-example.jpg\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1456\" height=\"900\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/40.badge-rotation-example.jpg\" alt=\"\" class=\"wp-image-861\" style=\"aspect-ratio:1.6177777777777778;width:690px;height:auto\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/40.badge-rotation-example.jpg 1456w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/40.badge-rotation-example-300x185.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/40.badge-rotation-example-1024x633.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/40.badge-rotation-example-768x475.jpg 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/40.badge-rotation-example-825x510.jpg 825w\" sizes=\"auto, (max-width: 1456px) 100vw, 1456px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Flip\/Mirror text:&nbsp;<\/strong>enable if you want to apply a mirror effect on the text. If enabled, you can choose how to flip it through the option <strong>Flip orientation<\/strong>;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/41.flip-text-option-example.jpg\" data-rel=\"lightbox-image-4\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1900\" height=\"784\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/41.flip-text-option-example.jpg\" alt=\"Flip option example\" class=\"wp-image-862\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/41.flip-text-option-example.jpg 1900w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/41.flip-text-option-example-300x124.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/41.flip-text-option-example-1024x423.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/41.flip-text-option-example-768x317.jpg 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/41.flip-text-option-example-1536x634.jpg 1536w\" sizes=\"auto, (max-width: 1900px) 100vw, 1900px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Badge position<\/h4>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/9.badge-px-position-settings.jpg\" data-rel=\"lightbox-image-5\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1504\" height=\"900\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/9.badge-px-position-settings.jpg\" alt=\"Badge position in px\" class=\"wp-image-814\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/9.badge-px-position-settings.jpg 1504w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/9.badge-px-position-settings-300x180.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/9.badge-px-position-settings-1024x613.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/9.badge-px-position-settings-768x460.jpg 768w\" sizes=\"auto, (max-width: 1504px) 100vw, 1504px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Set position: <\/strong>choose how to set the badge position in the product image from <em>in px or % and&nbsp;<\/em><em>fixed. <\/em>By selecting <em>in px or %,&nbsp;<\/em>you will have the following options:\n<ul class=\"wp-block-list\">\n<li><strong>Anchor Point:&nbsp;<\/strong>select the anchor point for the badge (<em>top left, top right, bottom, left, bottom right<\/em>). E.g. in the image above, we have selected <em>bottom right;<\/em><\/li>\n\n\n\n<li><strong>Position:&nbsp;<\/strong>based on the selected anchor point, the position will automatically show two options <em>(in this case bottom and right) <\/em>and their values. Adjust them according to your needs in px or %;<\/li>\n\n\n\n<li><strong>Margin:&nbsp;<\/strong>based on the selected anchor point, the margin will automatically show two options <em>(in this case bottom and right) <\/em>and their values. Adjust them according to your needs in px or %.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/10.badge-fixed-position-settings.jpg\" data-rel=\"lightbox-image-6\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1538\" height=\"900\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/10.badge-fixed-position-settings.jpg\" alt=\"Badge fixed position\" class=\"wp-image-815\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/10.badge-fixed-position-settings.jpg 1538w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/10.badge-fixed-position-settings-300x176.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/10.badge-fixed-position-settings-1024x599.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/10.badge-fixed-position-settings-768x449.jpg 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/10.badge-fixed-position-settings-1536x899.jpg 1536w\" sizes=\"auto, (max-width: 1538px) 100vw, 1538px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Set position: <\/strong>choose how to set the badge position in the product image from <em>in px or % and&nbsp;<\/em><em>fixed. <\/em>By selecting <em>fixed, <\/em>you will have the following options:\n<ul class=\"wp-block-list\">\n<li><strong>Position: <\/strong>choose the badge position from&nbsp;<em>top, middle <\/em>or<em> bottom.&nbsp;<\/em>E.g. in the image above, we have selected&nbsp;<em>bottom;<\/em><\/li>\n\n\n\n<li><strong>Alignment: <\/strong>choose the badge alignment from&nbsp;<em>left, center <\/em>or <em>right.&nbsp;<\/em>E.g. in the image above, we have selected <em>right;<\/em><\/li>\n\n\n\n<li><strong>Margin:&nbsp;<\/strong>based on the previous selections, the margin will automatically show two options <em>(in this case bottom and right) <\/em>and their values. Adjust them according to your needs in px or %.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Scale on mobile: <\/strong>insert the value to scale the badge on mobile devices. Default value: 1.<\/li>\n<\/ul>\n\n\n\n<p><strong>Preview<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/11.badge-preview.jpg\" data-rel=\"lightbox-image-7\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1573\" height=\"900\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/11.badge-preview.jpg\" alt=\"Text badge preview\" class=\"wp-image-816\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/11.badge-preview.jpg 1573w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/11.badge-preview-300x172.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/11.badge-preview-1024x586.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/11.badge-preview-768x439.jpg 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/11.badge-preview-1536x879.jpg 1536w\" sizes=\"auto, (max-width: 1573px) 100vw, 1573px\" \/><\/a><\/figure>\n\n\n\n<p>Any of the above option settings will reflect in the <strong>preview<\/strong> box on the right so you will be able to see in real-time the badge you are creating and apply any necessary adjustments. <\/p>\n\n\n\n<p>To move the badge above the product image, you can use drag and drop. When applying this action, the position will be automatically set to <em>in px or %<\/em> and the values will update based on where you&#8217;re moving the badge.<\/p>\n\n\n\n<p><em>Text badge on frontend<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/12.badge-frontend-example.jpg\" data-rel=\"lightbox-image-8\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1900\" height=\"861\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/12.badge-frontend-example.jpg\" alt=\"Text badge frontend example\" class=\"wp-image-817\" style=\"aspect-ratio:2.2067363530778166;width:691px;height:auto\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/12.badge-frontend-example.jpg 1900w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/12.badge-frontend-example-300x136.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/12.badge-frontend-example-1024x464.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/12.badge-frontend-example-768x348.jpg 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/12.badge-frontend-example-1536x696.jpg 1536w\" sizes=\"auto, (max-width: 1900px) 100vw, 1900px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Placeholders<\/h4>\n\n\n\n<p>When using the built-in editor, you can add dynamic content to show on the badge through the available placeholders that you can find by clicking on the link under the editor.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2024\/01\/placeholders-1.jpg\" data-rel=\"lightbox-image-9\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1438\" height=\"790\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2024\/01\/placeholders-1.jpg\" alt=\"Placeholders\" class=\"wp-image-1168\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2024\/01\/placeholders-1.jpg 1438w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2024\/01\/placeholders-1-300x165.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2024\/01\/placeholders-1-1024x563.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2024\/01\/placeholders-1-768x422.jpg 768w\" sizes=\"auto, (max-width: 1438px) 100vw, 1438px\" \/><\/a><\/figure>\n\n\n\n<p>In the modal, you will be able to copy placeholders for simple and variable products.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Simple products<\/h4>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2024\/01\/simple-products.jpg\" data-rel=\"lightbox-image-10\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1022\" height=\"950\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2024\/01\/simple-products.jpg\" alt=\"Simple product placeholders\" class=\"wp-image-1169\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2024\/01\/simple-products.jpg 1022w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2024\/01\/simple-products-300x279.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2024\/01\/simple-products-768x714.jpg 768w\" sizes=\"auto, (max-width: 1022px) 100vw, 1022px\" \/><\/a><\/figure>\n\n\n\n<p>The available placeholders are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>{{regular_price}}<\/strong>&nbsp;\u2013 this shows the product regular price;<\/li>\n\n\n\n<li><strong>{{sale_price}}\u00a0<\/strong>\u2013 this shows the product on-sale price;<\/li>\n\n\n\n<li><strong>{{stock_quantity}}<\/strong>&nbsp;\u2013 this shows the product stock. For products with stock management disabled, the badge won\u2019t show;<\/li>\n\n\n\n<li><strong>{{saved_amount}}<\/strong>&nbsp;\u2013 this shows the amount saved by customers;<\/li>\n\n\n\n<li><strong>{{saved_percentage}}<\/strong>&nbsp;\u2013 this shows the percentage saved by customers.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/01\/stock-placeholder.jpg\" data-rel=\"lightbox-image-11\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1991\" height=\"1094\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/01\/stock-placeholder.jpg\" alt=\"Stock placeholder example\" class=\"wp-image-784\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/01\/stock-placeholder.jpg 1991w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/01\/stock-placeholder-300x165.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/01\/stock-placeholder-1024x563.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/01\/stock-placeholder-768x422.jpg 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/01\/stock-placeholder-1536x844.jpg 1536w\" sizes=\"auto, (max-width: 1991px) 100vw, 1991px\" \/><\/a><figcaption class=\"wp-element-caption\">Stock quantity placeholder<\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Variable products<\/h4>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2018\/01\/variable-products-1.jpg\" data-rel=\"lightbox-image-12\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1294\" height=\"1046\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2018\/01\/variable-products-1.jpg\" alt=\"Variable product placeholders\" class=\"wp-image-1171\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2018\/01\/variable-products-1.jpg 1294w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2018\/01\/variable-products-1-300x243.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2018\/01\/variable-products-1-1024x828.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2018\/01\/variable-products-1-768x621.jpg 768w\" sizes=\"auto, (max-width: 1294px) 100vw, 1294px\" \/><\/a><\/figure>\n\n\n\n<p>The available placeholders are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>{{min_regular_price}}<\/strong> &#8211; this shows the minimum regular price of product variations;<\/li>\n\n\n\n<li><strong>{{min_sale_price}}<\/strong> &#8211; this shows the minimum on-sale price of product variations;<\/li>\n\n\n\n<li><strong>{{min_stock_quantity}}<\/strong> &#8211; this shows the minimum stock quantity of product variations. For products with stock management disabled, the badge won\u2019t show;<\/li>\n\n\n\n<li><strong>{{min_saved_amount}}<\/strong> &#8211; this shows the minimum amount saved by customers;<\/li>\n\n\n\n<li><strong>{{min_saved_percentage}}<\/strong> &#8211; this shows the minimum percentage saved by customers.<\/li>\n<\/ul>\n\n\n\n<p class=\"has-docs-light-blue-background-color has-background\"><strong>Please note:<\/strong> by default, the placeholders show the minimum value. If you want to show the maximum value, just replace <em>min<\/em> with <em><strong>max<\/strong><\/em>. For example, <em><strong>{{max_sale_price}}<\/strong><\/em>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This type of badge is entirely formed of a text label, for which you can customize colors, size, width, height, position, and more. To create your text badge, start by entering a name to identify it (N.B. this is a required field) then select Text from the dropdown in Badge type. Now you can start &hellip; <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/premium-version-settings\/text-badge\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Text badge<\/span><\/a><\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-69","post","type-post","status-publish","format-standard","hentry","category-premium-version-settings"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>YITH Badge Management: Text badge<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/premium-version-settings\/text-badge\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"YITH Badge Management: Text badge\" \/>\n<meta property=\"og:description\" content=\"This type of badge is entirely formed of a text label, for which you can customize colors, size, width, height, position, and more. To create your text badge, start by entering a name to identify it (N.B. this is a required field) then select Text from the dropdown in Badge type. Now you can start &hellip; Continue reading Text badge\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/premium-version-settings\/text-badge\/\" \/>\n<meta property=\"og:site_name\" content=\"YITH WooCommerce Badge Management\" \/>\n<meta property=\"article:published_time\" content=\"2018-01-05T15:34:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-09T12:08:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/5.create-new-badge.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/premium-version-settings\/text-badge\/\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/premium-version-settings\/text-badge\/\",\"name\":\"YITH Badge Management: Text badge\",\"isPartOf\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/premium-version-settings\/text-badge\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/premium-version-settings\/text-badge\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/5.create-new-badge.jpg\",\"datePublished\":\"2018-01-05T15:34:41+00:00\",\"dateModified\":\"2024-01-09T12:08:04+00:00\",\"author\":{\"@id\":\"\"},\"breadcrumb\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/premium-version-settings\/text-badge\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/premium-version-settings\/text-badge\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/premium-version-settings\/text-badge\/#primaryimage\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/5.create-new-badge.jpg\",\"contentUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/5.create-new-badge.jpg\",\"width\":1444,\"height\":722},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/premium-version-settings\/text-badge\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Text badge\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/#website\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/\",\"name\":\"YITH WooCommerce Badge Management\",\"description\":\"Plugin documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/author\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"YITH Badge Management: Text badge","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:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/premium-version-settings\/text-badge\/","og_locale":"en_US","og_type":"article","og_title":"YITH Badge Management: Text badge","og_description":"This type of badge is entirely formed of a text label, for which you can customize colors, size, width, height, position, and more. To create your text badge, start by entering a name to identify it (N.B. this is a required field) then select Text from the dropdown in Badge type. Now you can start &hellip; Continue reading Text badge","og_url":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/premium-version-settings\/text-badge\/","og_site_name":"YITH WooCommerce Badge Management","article_published_time":"2018-01-05T15:34:41+00:00","article_modified_time":"2024-01-09T12:08:04+00:00","og_image":[{"url":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/5.create-new-badge.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/premium-version-settings\/text-badge\/","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/premium-version-settings\/text-badge\/","name":"YITH Badge Management: Text badge","isPartOf":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/premium-version-settings\/text-badge\/#primaryimage"},"image":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/premium-version-settings\/text-badge\/#primaryimage"},"thumbnailUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/5.create-new-badge.jpg","datePublished":"2018-01-05T15:34:41+00:00","dateModified":"2024-01-09T12:08:04+00:00","author":{"@id":""},"breadcrumb":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/premium-version-settings\/text-badge\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/premium-version-settings\/text-badge\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/premium-version-settings\/text-badge\/#primaryimage","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/5.create-new-badge.jpg","contentUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-content\/uploads\/sites\/271\/2023\/10\/5.create-new-badge.jpg","width":1444,"height":722},{"@type":"BreadcrumbList","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/premium-version-settings\/text-badge\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/"},{"@type":"ListItem","position":2,"name":"Text badge"}]},{"@type":"WebSite","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/#website","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/","name":"YITH WooCommerce Badge Management","description":"Plugin documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/author\/"}]}},"_links":{"self":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-json\/wp\/v2\/posts\/69","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-json\/wp\/v2\/comments?post=69"}],"version-history":[{"count":33,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-json\/wp\/v2\/posts\/69\/revisions"}],"predecessor-version":[{"id":1172,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-json\/wp\/v2\/posts\/69\/revisions\/1172"}],"wp:attachment":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-json\/wp\/v2\/media?parent=69"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-json\/wp\/v2\/categories?post=69"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-badge-management\/wp-json\/wp\/v2\/tags?post=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}