=== Free Shipping Badge ===

Contributors: desperadohouse
Donate Link: https://www.paypal.com/paypalme/CvijetinMaletich
Tags: free shipping badge, shipping, shipping badge, free shipping, limit price,
Version:           1.3
Requires at least: 5.2
Requires PHP:      7.2
Tested up to: 7.1.2
Stable tag: 1.3
License: GNU GPL V2. or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html

This plugin adds a free shipping badge to your woocommerce shop for products that price is higher of limit price that you declare.

== Description ==
With this plugin you can add a free shipping badge to your woocommerce shop for products that price is higher of limit price that you declare. 
It is easy to customize, you just need to enter your limit price and text that you want be shown on badge ("example (en): "FREE SHIPPING").


Available language :
English

To contribute in translating this plugin contact me : cvijetin.maletich@gmail.com


== Installation ==

1. Upload plugin to  "wp-content/plugins/" directory
2. Activate it in plugins section.

== Frequently Asked Questions ==

= How do i use the plugin? =
* Install and activate the plugin
* Go to Free Shipping Badge on your Wordpress Dashboard -> in field "Limit Price" insert your limit price.
* If price of product is higher of that "Free Shipping Badge" will be shown below product price, with text that you enter in field "Badge Text".

== Screenshots ==

1. Plugin Settings position on Wordpress Dashboard
2. Plugin Settings Page
3. Shop Page Looking
4. Single Product page Looking

== Changelog ==
= 1.3 =
* BADGE NOT SHOWING FIX: badge is now added through the woocommerce_get_price_html filter (fires on every price render) - it does not depend on the optional "price display suffix" setting in WooCommerce anymore
* LIMIT PRICE FIX: decimal comma values ("89,99" or "1.500,00") are now normalized correctly instead of being multiplied 100x on save
* NEW: Badge position settings - show badge below the product price or on the product image (top left / top right / bottom left / bottom right corner with adjustable offset)
* NEW: Badge look variants - solid, outline, soft and gradient with optional badge shadow (soft/medium/strong) and badge opacity
* NEW: Typography settings - badge font (12 built-in fonts), font size, font weight, font style, text transform and letter spacing
* NEW: Badge icon picker - 14 icons (truck, fast truck, box, gift, check, thumbs up, star, bolt, rocket, tag, percent, cart, plane...), icon color, icon size and icon position (left/right of the text)
* NEW: Border customization - border width, border line type (solid, dashed, dotted, double, none) and corner radius
* NEW: Responsive font sizes - separate font sizes for tablets (max. 768px) and mobile phones (max. 420px)
* NEW: Padding left and padding right options
* NEW: Live badge preview on the settings page - badge updates automatically while you are typing
* NEW: Diagnostics section in the admin - checks PHP version, WooCommerce status, stored limit price and badge build self-test
* NEW: Dashboard menu icon changed to an inline truck svg icon styled like default WordPress admin menu icons
* Shorter admin menu name: "Shipping Badge"
* Bundled icon font (Font Awesome Free 6.5.2) - icons now work on every theme without theme font dependency
* Settings are sanitized, smaller code fixes and stability improvements

= 1.2 =
* Added more customize options in admin section

== Upgrade Notice ==
= 1.3 =
Much more badge customization: position (below price or on product image corner), font, colors, border, radius, icon picker, shadows, opacity, gradient/outline/soft looks, responsive sizes and live preview. Badge rendering is now more reliable on all theme setups and limit price decimals are handled correctly.
