=== Advanced Product Labels for WooCommerce ===
Plugin Name: Advanced Product Labels for WooCommerce
Contributors: dholovnia, berocket
Donate link: https://berocket.com/woocommerce-advanced-product-labels/?utm_source=wordpress_org&utm_medium=donate&utm_campaign=products_label
Tags: labels, badges, mark, product labels, woocommerce labels
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 3.3.3.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Promote exclusive discounts, new products or free shipping. Create labels easily and quickly!

== Description ==

Creating labels has come really easy and fast with the Advanced Product Labels plugin. Promote your free products, show “Free Shipping” or other special attributes of products. By using conditions you can add each label to specific products in your shop.

= Features: =
&#9989; Custom labels on products
&#9989; Labels for products by specific conditions
&#9989; Labels by: product name, product category, sale status, stock status, bestsellers position, price, total sales count
&#9989; Labels custom text and discount percentage type
&#9989; Labels custom background and text colors
&#9989; Custom label position
&#9989; Multiple labels for one product
&#9989; CSS templates
&#9989; Custom image template
&#9989; Better position for labels
&#9989; Font size for labels
&#9989; Font family for labels
&#9989; Dimensions(px|em|%) for the Height, Width, Font size, Line height, Padding and Margin
&#9989; z-index for labels


= Additional Features in Paid Plugin: =
&#9989; 30 CSS templates
&#9989; 12 Advanced templates
&#9989; 14 Image templates
&#9989; Label size multiplier for scaling complex labels
&#9989; Addon Advanced Content: links for labels
&#9989; Opacity for labels
&#9989; In-title label position
&#9989; Labels for each product
&#9989; Shortcodes can be used in the label content
&#9989; Tooltip can have an image inside
&#9989; Label by: product age, stock quantity, sale price
&#9989; Custom image and time left for discount type of label
&#9989; Custom label border and font size
&#9989; Gradient and Shadow
&#9989; Size Multiplier
&#9989; Discount Timers
&#9989; In-title label
&#9989; Labels can be rotated from -90deg to 90deg
&#9989; Labels can be added to products with specific attribute values


= Plugin Links: =
[Paid Plugin](https://berocket.com/woocommerce-advanced-product-labels/?utm_source=wordpress_org&utm_medium=plugin_links&utm_campaign=products_label)
[Demo](https://woocommerce-product-labels.berocket.com/shop/?utm_source=wordpress_org&utm_medium=plugin_links&utm_campaign=products_label)
[Docs](https://docs.berocket.com/plugin/woocommerce-advanced-product-labels/?utm_source=wordpress_org&utm_medium=plugin_links&utm_campaign=products_label)


= &#127852; Wanna try admin side? =
[Admin Demo](https://berocket.com/woocommerce-advanced-product-labels/?utm_source=wordpress_org&utm_medium=admin_demo&utm_campaign=products_label#try-admin) - get access to this plugin's admin and try it from the inside. Change things and watch how they work.

= Premium plugin video =
[youtube https://youtu.be/PCinv1oPwx4]
*Video for the free plugin is not ready yet, but we are working on it!*

= Compatibility with WooCommerce plugins =
Advanced Product Labels for WooCommerce has been tested and compatibility is certain with the following WooCommerce plugins that you can add to your site:

&#128312; [**Advanced AJAX Product Filters**](https://wordpress.org/plugins/woocommerce-ajax-filters/)
&#128312; [**Load More Products for WooCommerce**](https://wordpress.org/plugins/load-more-products-for-woocommerce/)
&#128312; [**Brands for WooCommerce**](https://wordpress.org/plugins/brands-for-woocommerce/)
&#128312; [**Grid/List View for WooCommerce**](https://wordpress.org/plugins/gridlist-view-for-woocommerce/)
&#128312; [**Min and Max Quantity for WooCommerce**](https://wordpress.org/plugins/minmax-quantity-for-woocommerce/)

== Installation ==
Important: First of all, you have to download and activate WooCommerce plugin, because without it Advanced Product Labels for WooCommerce cannot work.

1. Unzip the downloaded .zip file.
2. Upload the Advanced Product Labels for WooCommerce folder into the `wp-content/plugins/` directory of your WordPress site.
3. Activate `Advanced Product Labels for WooCommerce` from Plugins page.

= Configuration =
Advanced Product Labels for WooCommerce will add a new sub-menu item called "Product Labels" in "WooCommerce" menu. There you will be able to access plugin settings page.


== Screenshots ==

1. Label Templates Front-End 1/6
2. Label Templates Front-End 2/6
3. Label Templates Front-End 3/6
4. Label Templates Front-End 4/6
5. Label Templates Front-End 5/6
6. Label Templates Front-End 6/6
7. Label Templates Admin
8. Label Before & After Text
9. Label Tooltip Settings
10. Label Tooltip Front-End 1/2
11. Label Tooltip Front-End 2/2
12. Label Attribute for Content Type
13. Label Background Image with Text
14. Label Custom CSS
15. Label Positioning
16. Label Styles


== Frequently Asked Questions ==

= Is it compatible with all WordPress themes? =
Since there are so many themes, compatibility with all of them is barely possible. In general, though, if the theme is developed according to WordPress and WooCommerce guidelines, BeRocket plugins are compatible with it.


= How can I get support if my WooCommerce plugin is not working? =
If you have problems with our plugins or something is not working as it should, first follow this preliminary steps:

* Test the plugin with a WordPress default theme, to make sure the error is not caused by the theme you are currently using.
* Deactivate all plugins you are using and check if the problem is still occurring.
* Make sure your plugin version, your theme version and your WordPress and WooCommerce versions (if required) are updated and the problem you are experiencing has not already been solved in a later plugin update.

If none of the previous listed actions helps you solve the problem, then, submit a ticket in the forum and describe your problem accurately, specify WordPress and WooCommerce versions you are using and any other information that might help us solve your problem as quickly as possible. Thanks!


= How can I get more features for my WooCommerce plugin? =
You can get more features with the premium version of Advanced Product Labels for WooCommerce, available on [BeRocket page](https://berocket.com/woocommerce-advanced-product-labels/?utm_source=wordpress_org&utm_medium=faq&utm_campaign=products_label). Here you can read more about the premium features of the plugin and make it give it its best shot!


= How can I try the full-featured plugin? =
You can try this plugin's admin side [here](https://berocket.com/woocommerce-advanced-product-labels/?utm_source=wordpress_org&utm_medium=faq&utm_campaign=products_label#try-admin). Configure plugin the way you need to check the results.




---

== Screenshots ==
1. General settings
2. New label

---

== Changelog ==

= 3.3.3.1 =
* Fix - RTL styles
* Fix - JavaScript initialization for some AJAX update
* Fix - PHP error on price calculation
* Fix - Some admin JavaScript errors

= 3.3.3 =
* Enhancement - Add-on Image Bottom Position
* Enhancement - Add-on Selector Compatibility
* Enhancement - Some settings styles
* Fix - Version display

= 1.2.9.3 =
* Enhancement - Compatibility version: WooCommerce 10.3
* Fix - New plugin framework

= 1.2.9.2 =
* Enhancement - Compatibility version: WooCommerce 10.0
* Fix - Products save errors in some cases
* Fix - High CPU load on customer device with some specific label setup

= 1.2.9.1 =
* Enhancement - Compatibility version: Wordpress 6.8 and WooCommerce 9.8
* Enhancement - New plugin framework 
* Fix - RTL styles for labels
* Fix - Caching for labels depend on conditions

= 1.2.9 =
* Enhancement - Compatibility version: WooCommerce 9.5
* Fix - Change CDN links for elements

= 1.2.8 =
* Enhancement - Compatibility version: Wordpress 6.7 and WooCommerce 9.4
* Fix - Translation init errors with WordPress 6.7
* Fix - Cache for some conditions
* Fix - Divi module compatibility

= 1.2.7 =
* Enhancement - Compatibility version: WooCommerce 9.3
* Enhancement - WooCommerce requirements
* Fix - Plugin update to premium PHP error

= 1.2.6 =
* Enhancement - Compatibility version: Wordpress 6.6 and WooCommerce 9.1
* Fix - Option save for products
* Fix - Updater errors on some site
* Fix - New framework version

= 1.2.5.3 =
* Enhancement - Compatibility version: Wordpress 6.4 and WooCommerce 8.4
* Fix - Information about discount labels
* Fix - New framework version

= 1.2.5.2 =
* Fix - Compatibility with product preview
* Fix - Update term meta table

= 1.2.5.1 =
* Enhancement - WooCommerce High-Performance Order Storage support enable
* Enhancement - New Divi Module to display label
* Fix - AJAX load for other plugins
* Fix - Fatal errors with some page builders

= 1.2.5 =
* Enhancement - New Divi Module to display label
* Fix - Fatal errors with some page builders

= 1.2.4.1 =
* Fix - SECURITY ISSUE! Some admin AJAX functionality can be called with any logged in users.

= 1.2.4 =
* Enhancement - Compatibility version: Wordpress 6.1 and WooCommerce 7.1
* Fix - Some plugin links to match new BeRocket Site

= 1.2.3.9 =
* Enhancement - Compatibility version: WooCommerce 7.0
* Enhancement - Remove some PHP 8.1 notices
* Fix - Regenerate additional tables if it was removed

= 1.2.3.8 =
* Enhancement - Compatibility version: WordPress 6.0 and WooCommerce 6.7
* Fix - Product variation with labels

= 1.2.3.7 =
* Enhancement - Compatibility version: WooCommerce 6.2
* Fix - XSS Vulnerability for admin area
* Fix - JavaScript files load on admin pages where not needed
* Fix - Label styles do not work on some pages with WPML

= 1.2.3.6 =
* Fix - XSS Vulnerability

= 1.2.3.5 =
* Enhancement - Compatibility version: WordPress 5.9 and WooCommerce 6.1
* Enhancement - Move all label styles to footer
* Enhancement - Additional hooks for label styles

= 1.2.3.4 =
* Fix - Elementor Pro Related Products some styles. It still has some issue with functionality.

= 1.2.3.3 =
* Enhancement - Compatibility version: WooCommerce 5.9
* Enhancement - Additional option for Shop page for better compatibility with some themes
* Fix - Elementor Pro Related Products

= 1.2.3.2 =
* Enhancement - Compatibility version: WooCommerce 5.7
* Fix - Text color on some themes

= 1.2.3.1 =
* Enhancement - Compatibility version: WooCommerce 5.6

= 1.2.3 =
* Enhancement - Compatibility version: WordPress 5.8 and WooCommerce 5.5

= 1.2.2.5 =
* Enhancement - Sorting for labels in admin area
* Fix - Template default style

= 1.2.2.4 =
* Enhancement - Compatibility version: WooCommerce 5.4
* Enhancement - Add tutorial tab

= 1.2.2.3 =
* Fix - Labels from trash displayed on frontend
* Fix - Labels order on product edit page

= 1.2.2.2 =
* Enhancement - Compatibility version: WooCommerce 5.3
* Fix - Template style on different browser

= 1.2.2.1 =
* HOTFIX - Preview do not displayed

= 1.2.2 =
* Enhancement - Compatibility version: WooCommerce 5.2
* Fix - Price and discount with currency exchange plugins
* Fix - Price and discount with tax or without tax
* Fix - Not same style with disabled Better position

= 1.2.1 =
* Fix - SECURITY ISSUE! Sanitize HTML tags for all settings. Custom JavaScript can be changed only by admin(Super admin for multisite).
* Fix - Labels for variations
* Fix - New premium version link

= 1.2.0.6 =
* Enhancement - Compatibility version: WordPress 5.7 and WooCommerce 5.1

= 1.2.0.5 =
* Enhancement - Animation for variations label
* Fix - Variations labels replace incorrect labels on the single product page

= 1.2.0.4 =
* Enhancement - Compatibility version: WooCommerce 5.0
* Fix - Labels not displayed for variations
* Fix - Incorrect place of Labels for variations
* Fix - Compatibility with other BeRocket plugins

= 1.2.0.3 =
* Fix - Issue with product edit page

= 1.2.0.2 =
* Enhancement - Compatibility version: PHP 8 and WooCommerce 4.9
* Fix - Position center is not working
* Fix - No google fonts after AJAX loading

= 1.2.0.1 =
* Fix - Issue with product edit page

= 1.2 =
* Enhancement - New add-on: Labels for Variations. Display label only for selected variations
* Enhancement - Images for background for more templates
* Fix - Use default theme font by default
* Fix - Attributes label issue
* Fix - Other issues

= 1.1.19 =
* Fix - Labels Backorder stock status did not worked correctly. When condition was In Stock products with status On Backorder were shown.
* Fix - % sale_p% discount for variable products was not correctly defined for very small and very big discounts.
* Fix - default values on change template
* Fix - labels and explanation texts
* Fix - Other small fixes

= 1.1.18 =
* Enhancement - Move JavaScript and CSS tab into single tab Javascript/CSS
* Fix - Sometimes displayed activation message for free version of plugin
* Fix - Other small fixes

= 1.1.17.1 =
* Hot-fix for title

= 1.1.17 =
* Enhancement - Dimensions for size values
* Enhancement - Font Family from google fonts
* Fix - Empty value in padding do not work
* Fix - Empty value in margin do not work
* Fix - Empty value in line-height do not work

= 1.1.16.5 =
* Enhancement - Compatibility version: Wordpress 5.4.1 and WooCommerce 4.1

= 1.1.16.4 =
* Enhancement - Compatibility version: Wordpress 5.4 and WooCommerce 4.0

= 1.1.16.3 =
* Enhancement - Compatibility version: Wordpress 5.3 and WooCommerce 3.8

= 1.1.16.2 =
* Enhancement - Optimization to display labels. Remove some blocks if not needed
* Enhancement - Single product labels is now deprecated
* Fix - Save labels on product edit page

= 1.1.16.1 =
* Fix - WPML new sorting incompatibility

= 1.1.16 =
* Enhancement - Possibility to enable/disable Lables
* Enhancement - Sorting for Labels
* Fix - Save settings on some sites

= 1.1.15 =
* Enhancement - Added CSS templates
* Enhancement - New Custom Image template
* Enhancement - Text before and text after field for all content types
* Enhancement - Font size for text in label
* Enhancement - Better position for labels
* Enhancement - z-index for labels
* Fix - Label options hide/show

= 1.1.14.1 =
* Enhancement - Optimization for labels search
* Fix - Links to BeRocket
* Fix - Compatibility with other BeRocket plugins

= 1.1.14 =
* Enhancement - Compatibility with other BeRocket plugins
* Enhancement - Code Security

= 1.1.13 =
* Enhancement - Additional hooks for displaing labels (can cause errors, but provide more compatibility with themes)
* Enhancement - Update BeRocket plugin framework 2.1
* Fix - Fatal error with disabled WooCommerce

= 1.1.12 =
* Fix - Stock Status text on label
* Fix - Issue with duplicated labels
* Fix - Conditions work
* Fix - Font Awesome 5 on some theme
* Fix - PHP notices

= 1.1.11 =
* Fix - WooCommerce image gallery
* Fix - Subscribe
* Fix - Feature request send

= 1.1.10 =
* Enhancement - Options to select hook where labels will be displayed
* Enhancement - Feature request box
* Enhancement - Feedback box

= 1.1.9 =
* Fix - Support link
* Fix - Restore some information, that was removed in previous version

= 1.1.8 =
* Fix - Custom CSS for elements
* Fix - Tooltip
* Fix - Styles for labels

= 1.1.6 =
* Fix - Add product categories condition, that was removed by mistake
* Fix - Product age condition less and more
* Fix - Product post uses incorrect

= 1.1.5 =
* Upgrade - better plugin menu items location
* Upgrade - Tooltips for labels
* Upgrade - Options to hide label on some devices
* Upgrade - Price label
* Upgrade - Border radius can use "px", "em", "%"
* Fix - Compatibility with product preview

= 1.1.4 =
* Fix - get product post function

= 1.1.3 =
* Upgrade - WordPress 4.9 compatibility

= 1.1.2 =
* Upgrade - more useful subscribe
* Fix - updater fix

= 1.1.1 =
* Upgrade - New settings style
* Upgrade - More easier way upgrade to Advanced version
* Upgrade - Description for label settings
* Upgrade - Labels for each product
* Upgrade - More styles for labels

= 1.0.9 =
* Fix - premium plugin link fix
* Upgrade - recent woocommerce version support
* Upgrade - Better advertisement
* Fix/Upgrade - preparing plugin for framework
* Other changes and fixes

= 1.0.8 =
* Upgrade - Option to subscribe
* Upgrade - Better advertisement

= 1.0.7 =
* Fix - Label limitation
* Fix - WooCommerce 3.0.1 issues
* Fix - Label padding/margin
* Fix - Better WooCommerce 3 compatibility
* Fix - Premium plugin link on settings page

= 1.0.6 =
* Compatibility with WooCommerce 3.0.0
* Better compatibility with WPML

= 1.0.5 =
* Label added to other plugins
* Small fixes

= 1.0.4 =
* Product, Product category and Stock status conditions doesn't work with latest versions of WooCommerce
* Bestsellers condition displayed product ID before label
* Discount type of labels displayed text when product doesn't have discount and if text is selected for text type
* Conditions does not saved correctly after editing

= 1.0.3 =
* Compatibility with latest version of WooCommerce
* WPML support
* Small fixes

= 1.0.2 =
* Better support for PHP 5.2

= 1.0.1 =
* First public version
