=== YITH WooCommerce Badge Management ===

Contributors: yithemes
Tags: badges, badge, woocommerce, products, yith
Requires at least: 6.8
Tested up to: 7.0
Stable tag: 3.24.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

YITH WooCommerce Badge Management allows you to create and manage custom badges for products.

== Description == 

Product badges are a great tool to increase sales in your e-commerce, as you can highlight key products (new, popular, featured, etc.) or product details. You can even use badges to tap into powerful psychological triggers such as scarcity, social proof, and urgency to boost sales.

The big e-commerce stores use badges to highlight discounts and promotions (it’s the typical badges showing the discount percentage that you can find on most online stores!) and also to quickly inform users with visual tools: for example, if you sell cosmetics online, you can use the badges to add a label like “Cruelty-free”; if you sell food, you can create badges to highlight vegan or gluten-free products; if you sell clothes, you can create badges that let you quickly spot “plus-size” or “maternity clothes” products and so on. The badge builder gives you unlimited possibilities, as it allows you to create unlimited badges for your products.

= YITH WooCommerce Badge Management features =

= FREE VERSION: =
* Create unlimited badges using the advanced builder
* Create simple textual badges, with or without background
* Create image badges and choose from 9 different images
* Set the badge size
* Set the padding for the textual badges
* Set the badges border radius
* Set the badge position (top, bottom, center) and alignment (left, right, center)
* Hide or replace the default WooCommerce “on sale” badge
* Assign badges to products

= NEED MORE? CHECK THE PREMIUM VERSION FEATURES! =
* Choose to flip/mirror the badge text horizontally, vertically or both
* Additional set of 32 advanced badges images (Black Friday, 3x2, 2x1, Bogo, Christmas Sales, etc.)
* Upload a custom image to use as a badge
* Create CSS badges with customizable colors, text and 100% responsive
* Create advanced badges for on-sale products to automatically show the % discount and the saving
* Set the badge opacity
* Set the badge 3D rotation
* Set the badge margin
* Set the badge position in px, in % or using the drag&drop
* Automatically hide the default “on sale” badge on products where a badge is assigned
* Automatically assign a badge to all products
* Show multiple badges on the products
* Assign a specific badge to recent products
* Assign a specific badge to “on-sale” products
* Assign a specific badge to featured products
* Assign a specific badge to low-stock products
* Assign a specific badge to in-stock products
* Assign a specific badge to back-order products
* Assign a badge to products of specific categories
* Assign a badge to products with specific tags
* Set a badge for any configured shipping class
* Hide the badge on single product page
* Schedule badges and choose when to show/hide them (ex: schedule badges for Black Friday and show them only for this day)
* Hide the badge in sidebar products
* Enable the shop manager to edit badge settings
* Edit badges through Quick Edit
* Scale or hide badges in mobile devices
* 100% WPML compatible: it’s possible to set up a badge for each language
* Integration with YITH Dynamic Pricing & Discounts: automatically show badges for each discount and promotion rule

[Check the Live Demo of the Premium Version >](https://plugins.yithemes.com/yith-woocommerce-badge-management/)

== Installation ==

1. Unzip the downloaded zip file.
2. Upload the plugin folder into the `wp-content/plugins/` directory of your WordPress site.
3. Activate `YITH WooCommerce Badge Management` from Plugins page

YITH WooCommerce Badge Management will add:

* a new submenu called "Badge Management" under "YITH" menu, where you are able to manage badges and configure all the plugin settings.

== Frequently Asked Questions ==

= How can I report security bugs? =
You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. [Report a security vulnerability.](https://patchstack.com/database/vdp/yith-woocommerce-badges-management)

== Screenshots ==

1. Frontend: Shop page
2. Frontend: Single product page
3. Admin: Badges list
4. Admin: Pop-up menu where you can choose the type of badge to create
5. Admin: Text badge editing page
6. Admin: Image badge editing page
7. Admin: Badge metabox in product editing page
8. Admin: General settings

== Changelog ==

= 3.24.0 – Released on 07 April 2026 =

* New: support for WordPress 7.0
* New: support for WooCommerce 10.7

= 3.23.0 – Released on 04 March 2026 =

* New: support for WooCommerce 10.6

= 3.22.0 – Released on 26 January 2026 =

* New: support for WooCommerce 10.5
* Update: YITH plugin framework

= 3.21.0 – Released on 04 December 2025 =

* New: support for WordPress 6.9
* New: support for WooCommerce 10.4
* Update: YITH plugin framework

= 3.20.0 – Released on 15 October 2025 =

* New: support for WooCommerce 10.3
* Update: YITH plugin framework

= 3.19.0 – Released on 11 September 2025 =

* New: support for WooCommerce 10.2
* Update: YITH plugin framework

= 3.18.0 – Released on 22 August 2025 =

* New: support for WooCommerce 10.1
* Update: YITH plugin framework

= 3.17.0 – Released on 10 July 2025 =

* New: support for WooCommerce 10.0
* Update: YITH plugin framework

= 3.16.0 – Released on 10 June 2025 =

* New: support for WooCommerce 9.9
* Update: YITH plugin framework

= 3.15.0 – Released on 31 March 2025 =

* New: support for WordPress 6.8
* New: support for WooCommerce 9.8

= 3.14.0 – Released on 27 February 2025 =

* New: support for WooCommerce 9.7

= 3.13.0 – Released on 31 January 2025 =

* New: support for WooCommerce 9.6
* Update: YITH plugin framework

= 3.12.0 – Released on 16 December 2024 =

* New: support for WordPress 6.7
* New: support for WooCommerce 9.5
* Update: YITH plugin framework

= 3.11.0 – Released on 11 September 2024 =

* New: support for WooCommerce 9.3
* Update: YITH plugin framework

= 3.10.0 – Released on 07 August 2024 =

* New: support for WooCommerce 9.2
* Update: YITH plugin framework
* Fix: PHP 8.3 compatibility issue

= 3.9.0 – Released on 11 July 2024 =

* New: support for WordPress 6.6
* New: support for WooCommerce 9.1
* Update: YITH plugin framework

= 3.8.0 - Released on 25 June 2024 =

* New: support for WooCommerce 9.0
* Update: YITH plugin framework

= 3.7.0 - Released on 22 May 2024 =

* New: support for WooCommerce 8.9
* Update: YITH plugin framework

= 3.6.0 - Released on 11 April 2024 =

* New: support for WooCommerce 8.8
* Update: YITH plugin framework

= 3.5.0 - Released on 26 March 2024 =

* New: support for WordPress 6.5
* New: support for WooCommerce 8.7
* Update: YITH plugin framework

= 3.4.0 - Released on 08 February 2024 =

* New: support for WooCommerce 8.6
* Update: YITH plugin framework

= 3.3.0 - Released on 16 January 2024 =

* New: support for WooCommerce 8.5

= 3.2.0 - Released on 19 December 2023 =

* New: support for WooCommerce 8.4
* Update: YITH plugin framework

= 3.1.0 - Released on 20 November 2023 =

* New: support for WordPress 6.4
* New: support for WooCommerce 8.3
* Update: YITH plugin framework
* Fix: prevent to show stock_quantity placeholder if the product does not have stock

= 3.0.0 - Released on 31 October 2023 =

* New: admin panel UI
* Update: YITH plugin framework
* Update: language files

= 2.22.0 - Released on 03 October 2023 =

* New: support for WooCommerce 8.2
* Update: YITH plugin framework

= 2.21.0 - Released on 14 September 2023 =

* New: support for WooCommerce 8.1
* Update: YITH plugin framework

= 2.20.0 - Released on 18 August 2023 =

* New: support for WordPress 6.3
* New: support for WooCommerce 8.0
* New: support to WooCommerce blockified templates
* Update: YITH plugin framework

= 2.19.0 - Released on 14 July 2023 =

* New: support for WooCommerce 7.9
* Update: YITH plugin framework
* Fix: error if badge does not exists

= 2.18.0 - Released on 9 June 2023 =

* New: support for WooCommerce 7.8
* Update: YITH plugin framework
* Update: language files

= 2.17.0 - Released on 16 May 2023 =

* New: support for WooCommerce 7.7
* New: support for WooCommerce HPOS feature
* Update: YITH plugin framework
* Update: language files

= 2.16.0 - Released on 18 April 2023 =

* New: support for WooCommerce 7.6
* New: support for PHP 8.1
* Update: YITH plugin framework
* Update: language files

= 2.15.0 - Released on 21 March 2023 =

* New: support for WordPress 6.2
* New: support for WooCommerce 7.5
* Update: YITH plugin framework
* Update: language files

= 2.14.0 - Released on 17 February 2023 =

* New: support for WooCommerce 7.4
* Update: YITH plugin framework
* Update: language files

= 2.13.0 - Released on 16 January 2023 =

* New: support for WooCommerce 7.3
* Update: YITH plugin framework
* Update: language files

= 2.12.0 - Released on 16 December 2022 =

* New: support for WooCommerce 7.2
* Update: YITH plugin framework
* Update: language files

= 2.11.0 - Released on 21 November 2022 =

* New: support for WordPress 6.1
* New: support for WooCommerce 7.1
* Update: YITH plugin framework
* Update: language files

= 2.10.0 - Released on 19 October 2022 =

* New: support for WooCommerce 7.0
* Update: YITH plugin framework
* Update: language files

= 2.9.0 - Released on 20 September 2022 =

* New: support for WooCommerce 6.9
* Update: YITH plugin framework
* Update: language files

= 2.8.0 - Released on 16 August 2022 =

* New: support for WooCommerce 6.8
* Update: YITH plugin framework
* Update: language files

= 2.7.0 - Released on 19 July 2022 =

* New: support for WooCommerce 6.7
* Update: YITH plugin framework
* Update: language files

= 2.6.0 - Released on 22 June 2022 =

* New: support for WooCommerce 6.6
* Update: YITH plugin framework
* Update: language files

= 2.5.0 - Released on 18 May 2022 =

* New: support for WordPress 6.0
* New: support for WooCommerce 6.5
* Update: YITH plugin framework
* Update: language files

= 2.4.0 - Released on 11 April 2022 =

* New: support for WooCommerce 6.4
* Update: YITH plugin framework
* Update: language files

= 2.3.0 - Released on 9 March 2022 =

* New: support for WooCommerce 6.3
* Update: YITH plugin framework
* Update: language files

= 2.2.0 - Released on 31 January 2022 =

* New: support for WordPress 5.9
* New: support for WooCommerce 6.2
* Update: YITH plugin framework
* Update: language files
* Tweak: style improvements for the badge selection on product editing page

= 2.1.0 - Released on 17 January 2022 =

* New: support for WooCommerce 6.1
* Update: YITH plugin framework
* Update: language files

= 2.0.3 - Released on 28 December 2021 =

* Tweak: edit badge HTML content in text badge type using the text Editor tab
* Tweak: allow clearing badge selection in product metabox

= 2.0.2 - Released on 24 December 2021 =

* Fix: update product badge options before using them

= 2.0.1 - Released on 23 December 2021 =

* Fix: check unique titles just for badge and badge rules

= 2.0.0 - Released on 22 December 2021 =

* New: Badge editing panel style, with new UI/UX
* New: badge text-editor to enter text in badge text type
* New: badge positioning fields and behaviours
* New: badge selector for image badge type
* New: badge padding and border radius options
* New: support for WooCommerce 6.0
* Tweak: badge settings in product editing page style improved
* Tweak: General Settings style and UX improved
* Update: YITH plugin framework
* Update: language files
* Dev: new object classes to handle badge
* Dev: new yith_wcbm_badge_text_editor_font_size_min filter to choose the minimum font size used in the badge editing text editor
* Dev: new yith_wcbm_badge_text_editor_font_size_max filter to choose the maximum font size used in the badge editing text editor
* Dev: new yith_wcbm_badge_classes to edit badge classes array

= 1.7.0 - Released on 07 November 2021 =

* New: support for WooCommerce 5.9
* Update: YITH plugin framework
* Update: language files

= 1.6.0 - Released on 07 October 2021 =

* New: support for WooCommerce 5.8
* Update: YITH plugin framework
* Update: language files

= 1.5.1 - Released on 27 September 2021 =

* Update: YITH plugin framework
* Update: language files
* Fix: debug info feature removed for all logged in users

= 1.5.0 - Released on 13 September 2021 =

* New: support for WooCommerce 5.7
* Update: YITH plugin framework
* Update: language files

= 1.4.15 - Released on 28 July 2021 =

* New: support for WooCommerce 5.6
* Update: YITH plugin framework
* Update: language files

= 1.4.14 - Released on 29 June 2021 =

* New: support for WordPress 5.8
* New: support for WooCommerce 5.5
* Update: YITH plugin framework
* Update: language files

= 1.4.13 - Released on 4 June 2021 =

* New: support for WooCommerce 5.4
* Update: YITH plugin framework
* Update: language files

= 1.4.12 - Released on 11 May 2021 =

* New: support for WooCommerce 5.3
* Update: YITH plugin framework
* Update: language files

= 1.4.11 - Released on 14 April 2021 =

* New: support for WooCommerce 5.2
* Update: YITH plugin framework
* Update: language files

= 1.4.10 - Released on 7 March 2021 =

* New: support for WordPress 5.7
* New: support for WooCommerce 5.1
* Update: YITH plugin framework
* Update: language files

= 1.4.9 - Released on 5 February 2021 =

* New: support for WooCommerce 5.0
* Update: YITH plugin framework
* Update: language files
* Fix: badge settings layout on mobile

= 1.4.8 - Released on 12 Jan 2021 =

* New: support for WooCommerce 4.9
* Update: plugin framework
* Update: language files

= 1.4.7 - Released on 04 Dec 2020 =

* New: support for WordPress 5.6
* New: support for WooCommerce 4.8
* Update: plugin framework
* Update: language files

= 1.4.6 - Released on 06 Nov 2020 =

* New: support for WooCommerce 4.7
* Update: plugin framework
* Update: language files

= 1.4.5 - Released on 12 Oct 2020 =

* New: support for WooCommerce 4.6
* Update: plugin framework
* Update: language files

= 1.4.4 - Released on 17 Sep 2020 =

* New: support for WooCommerce 4.5
* Update: plugin framework
* Update: language files

= 1.4.3 - Released on 06 Jul 2020 =

* New: support for WooCommerce 4.3
* Update: plugin framework
* Update: language files

= 1.4.2 - Released on 21 May 2020 =

* New: support for WooCommerce 4.2
* Update: plugin framework
* Update: language files

= 1.4.1 - Released on 24 April 2020 =

* New: support for WooCommerce 4.1
* Update: plugin framework
* Tweak: prevent issues when hiding sale badges

= 1.4.0 - Released on 9 March 2020 =

* New: support for YITH Proteo theme
* New: compatibility with third party themes
* Update: plugin framework
* Fix: badge font-family

= 1.3.25 - Released on 28 February 2020 =

* New: support for WordPress 5.4
* New: support for WooCommerce 4.0
* Update: plugin framework

= 1.3.24 - Released on 23 December 2019 =

* New: support for WooCommerce 3.9
* New: added 'yith-wcbm-product-has-badges' CSS class to product with badges
* Update: plugin framework

= 1.3.23 - Released on 29 November 2019 =

* Update: plugin framework

= 1.3.22 - Released on 05 November 2019 =

* Update: plugin framework

= 1.3.21 - Released on 30 October 2019 =

* Update: plugin framework

= 1.3.20 - Released on 28 October 2019 =

* New: support for WordPress 5.3
* New: support for WooCommerce 3.8
* New: panel style
* Update: plugin framework

= 1.3.19 - Released on 1 August 2019 =

* New: support to WooCommerce 3.7
* Update: plugin framework
* Update: language files

= 1.3.18 - Released on 13 June 2019 =

* Update: plugin framework

= 1.3.17 - Released on 10 June 2019 =

* New: support to WordPress 5.2
* Update: plugin framework

= 1.3.16 - Released on 23 April 2019 =
* Update: plugin framework

= 1.3.15 - Released on 9 April 2019 =
* New: support to WooCommerce 3.6
* Update: plugin framework

= 1.3.14 - Released on 4 February 2019 =

* New: support to WooCommerce 3.5.4
* Update: plugin framework

= 1.3.13 - Released on 5 December 2018 =

* New: support to WordPress 5.0
* Update: plugin framework
* Update: language files

= 1.3.12 - Released on 23 October 2018 =

* Update: plugin framework

= 1.3.11 - Released on 9 October 2018 =

* New: support to WooCommerce 3.5.x
* New: support to WordPress 4.9.8
* Fix: hidden badges in YITH WooCommerce Added to Cart Popup
* Fix: hidden badges in Orders on AJAX call
* Update: plugin framework

= 1.3.10 - Released on 2 July 2018 =

* New: support to WooCommerce 3.4.3
* New: support to WordPress 4.9.6
* Update: plugin framework

= 1.3.9 - Released: Mar 23, 2018 =

* Fix: minor bug

= 1.3.8 - Released: Mar 22, 2018 =

* Update: Plugin Framework
* Fix: issue in WooCommerce gallery

= 1.3.7 - Released: Feb 08, 2018 =

* New: support to WooCommerce 3.3.1
* New: support to WordPress 4.9.4
* Update: Plugin Framework
* Fix: issues in combination with Yoast SEO plugin
* Fix: enqueue styles and scripts only where needed
* Dev: added yith_wcbm_container_image_and_badge_extra_classes filter

= 1.3.6 - Released: Oct 12, 2017 =

* New: support to WooCommerce 3.2.0

= 1.3.5 - Released: Aug 04, 2017 =

* Fix: use woocommerce_single_product_image_thumbnail_html
* Dev: added yith_wcbm_get_badge filter

= 1.3.4 - Released: May 09, 2017 =

* Fix: badge saving
* Fix: hidden badges in feeds
* Tweak: removed badges in wishlist table of YITH WooCommerce Wishlist

= 1.3.3 - Released: Apr 11, 2017 =

* New: support to WooCommerce 3.0.1
* Fix: post thumbnail issue

= 1.3.2 - Released: Apr 05, 2017 =

* New: support to WooCommerce 3.0.0
* Fix: badge saving

= 1.3.1 - Released: Mar 31, 2017 =

* New: support to WooCommerce 3.0.0-RC2
* Fix: removed inline badge styles

= 1.3.0 - Released: Mar 10, 2017 =

* New: support to WooCommerce 2.7.0-RC1
* New: support to Wordpress 4.7.3

= 1.2.13 - Released: Jan 27, 2017 =

* Fix: badge style issue

= 1.2.12 - Released: Dec 23, 2016 =

* New: duplicate badges
* Fix: removed badge permalink

= 1.2.11 - Released: Oct 26, 2016 =

* Fix: added missing files
* Fix: hidden badges in Storefront Sticky Add to Cart

= 1.2.10 - Released: Sep 23, 2016 =

* New: support to WordPress 4.6.1
* Fix: badges in YITH WooCommerce Recently Viewed Products emails hidden because causing graphical issues
* Fix: badges in YITH WooCommerce Questions and Answers emails hidden because causing graphical issues
* Fix: issues in combination with Storefront Sticky Add to Cart
* Fix: badge styles W3C

= 1.2.9 - Released: Jul 08, 2016 =

* New: support to WordPress 4.5.3
* New: support to WooCommerce 2.6.2
* New: support to ajax loading of product thumbnails
* New: Italian language

= 1.2.8 - Released: Apr 29, 2016 =

* New: support to WordPress 4.5.1
* New: support to WooCommerce 2.5.5
* New: support to Flatsome
* New: support to YITH WooCommerce Wishlist
* New: support to YITH WooCommerce Frequently Bought Together
* New: support to YITH WooCommerce Save for Later
* New: support to YITH WooCoomerce Ajax Search
* New: support to YITH WooCommerce Product Bundles
* Tweak: prevent badges from showing in WooCommerce emails

= 1.2.7 - Released: Jan 22, 2016 =

* New: support to WordPress 4.4.1
* New: support to WooCommerce 2.5
* Tweak: hidden badges in WooCommerce mini-cart
* Tweak: fixed minor bug

= 1.2.6 - Released: Dec 21, 2015 =

* Tweak: fixed minor bug

= 1.2.5 - Released: Dec 18, 2015 =

* New: support to WordPress 4.4
* New: support to WooCommerce 2.4.12
* New: possibility to show/hide badges in sidebars
* New: possibility to show/hide WooCommerce default "On Sale" badge when the product has another badge.

= 1.2.3 - Released: Dec 01, 2015 =

* Tweak: fixed minor bug

= 1.2.2 - Released: Nov 09, 2015 =

* New: Compatibility with more themes

= 1.2.1 - Released: Oct 28, 2015 =

* Fix: minor bug

= 1.1.9 - Released: Aug 21, 2015 =

* New: Support to WordPress 4.3
* Fix: removed badges in cart and checkout
* Fix: minor bug

= 1.1.7 - Released: Aug 14, 2015 =

* New: Support to WooCommerce 2.4.4

= 1.1.6 - Released: Aug 12, 2015 =

* New: Support to WordPress 4.2.4
* New: Support to WooCommerce 2.4.2
* Fix: WPML deprecated functions

= 1.1.5 - Released: Jul 24, 2015 =

* New: WPML Compatibility
* New: Compatibility with more themes
* Fix: Bug with widget sidebar on header

= 1.1.4 - Released: Jul 10, 2015 =

* New: Support to WooCommerce shortcodes
* Fix: Compatibility with more themes

= 1.1.3 - Released: Jul 03, 2015 =

* Fix: badge display in widget top related product

= 1.1.2 - Released: Jun 19, 2015 =

* Fix: Wrong admin css handle

= 1.1.1 - Released: May 29, 2015 =

* New: Support to WooCommce 2.3.9
* Update: Default language file
* Update: Plugin framework
* Fix: Can't make a badge issue

= 1.1.0 - Released: May 08, 2015 =

* New: Support to WordPress 4.2.2
* New: Support to WooCommerce 2.3.8
* Update: Default language file
* Fix: Duplicate product image in shop loop
* Fix: Minor bugs

= 1.0.0 - Released: Mar 25, 2015 =

* Initial release


== Suggestions ==

If you have suggestions about how to improve YITH WooCommerce Badge Management, you can [write us](mailto:plugins@yithemes.com "Your Inspiration Themes") so we can bundle them into YITH WooCommerce Badge Management.

== Translators ==

= Available Languages =
* English
* Italian
* Spanish
* Dutch

== Upgrade notice ==

= 1.7.0 =

* New: support for WooCommerce 5.9
* Update: YITH plugin framework
* Update: language files