=== Royal Progress Bar for WooCommerce ===
Contributors: eh6142302
Tags: woocommerce, free shipping, progress bar, shipping bar, conversion
Requires at least: 5.8
Tested up to: 7.1
Stable tag: 1.1.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

A lightweight progress bar that shows customers how close they are to unlocking free shipping on your WooCommerce store.

== Description ==

**Royal Progress Bar for WooCommerce** displays a beautiful glassmorphism progress bar across your store to encourage customers to add more items to their cart and unlock free shipping.

= Key Features =

* **Auto-Detect Threshold** — Automatically reads your WooCommerce shipping zones to find the free shipping minimum.
* **Manual Threshold** — Set any custom amount as the free shipping goal.
* **Customizable Colors** — Choose gradient start and end colors to match your brand.
* **Multiple Placements** — Automatically displays on the Product page, Cart page, and Checkout page.
* **WooCommerce Blocks Support** — Compatible with the new block-based Cart and Checkout.
* **Real-Time Updates** — Progress bar animates when cart contents change.
* **Toast Notifications** — Celebrates when the customer reaches the free shipping goal.
* **Lightweight** — No bloat, no unnecessary features. Just a fast, clean progress bar.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`, or install the .zip file via the WordPress dashboard.
2. Activate the plugin through the 'Plugins' menu.
3. Navigate to **WooCommerce > Free Shipping Bar** to configure threshold and colors.

== Frequently Asked Questions ==

= Does it auto-detect my free shipping threshold? =
Yes. When "Auto-detect" is enabled, the plugin reads your WooCommerce shipping zones to find the free shipping minimum amount automatically.

= Can I set a manual threshold? =
Yes. Disable auto-detect and enter any amount you want as the free shipping goal.

= Where does the progress bar appear? =
The bar appears automatically on three pages:
1. **Product Page** — Above the Add to Cart button.
2. **Cart Page** — Inside the cart summary, before the total.
3. **Checkout Page** — Inside the order summary, before the total.

= Does it work with WooCommerce Blocks? =
Yes. The plugin is fully compatible with the block-based Cart and Checkout pages.

= Can I customize the bar colors? =
Yes. You can set custom gradient start and end colors from the settings page.

== Screenshots ==

1. Admin settings panel with threshold and color customization.
2. Progress bar displayed above the Add to Cart button on a product page.
3. Progress bar inside the cart summary before the order total.

== Changelog ==

= 1.1.0 =
* Improved: Streamlined settings — threshold and colors only.
* Improved: Hardcoded optimized placements for maximum conversion.
* Improved: Assets load only on relevant WooCommerce pages.
* Improved: WooCommerce Blocks compatibility.
* Added: HPOS compatibility declaration.
* Added: uninstall.php for clean removal.

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.1.0 =
Streamlined release with optimized placements, WooCommerce Blocks support, and HPOS compatibility.
