=== Simple Free Shipping Bar for WooCommerce ===
Contributors: ocmalabs
Tags: woocommerce, free shipping, notification bar, marketing, sales
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Increase your Average Order Value (AOV) by displaying a sticky notification bar that motivates customers to add more products to reach free shipping.

== Description ==

**Simple Free Shipping Bar** is a lightweight, high-performance plugin designed to boost your WooCommerce store sales. It displays a responsive, sticky notification bar showing customers exactly how much more they need to spend to get free shipping.

It uses a "FOMO" (Fear Of Missing Out) strategy to encourage users to add that one extra item to the cart, effectively increasing your Average Order Value.

This plugin is built with performance in mind. It uses zero dependencies on the frontend (besides jQuery) and supports modern Block Themes and the new WooCommerce Store API.

<h3>Key Features (Free Version)</h3>

* **Dynamic Progress:** Automatically calculates the remaining amount based on the cart subtotal.
* **Sticky Position:** Choose to show the bar at the Top or Bottom of the screen.
* **Placement Flexibility:** Use Automatic mode (Sticky) or place it manually anywhere using the `[simple_free_shipping_bar]` shortcode.
* **Fully Customizable:** Change background colors, text colors, and font sizes to match your brand.
* **Smart Messages:** Configure different messages for:
    * Empty Cart ("Free shipping for orders over $50")
    * In Progress ("Buy $15 more to get free shipping!")
    * Goal Achieved ("You've got free shipping!")
* **AJAX & Store API Support:** Updates instantly when a product is added via AJAX or Blocks, without reloading the page.
* **Mobile Responsive:** Optimized for all screen sizes.

<h3>Pro Features (Optional Upgrade)</h3>

Unlock the full power of the bar with the [Pro Add-on](https://ocmalabs.com):

* **Geolocation Targeting:** Show the bar only to customers from specific countries (e.g., Free shipping only for US & UK).
* **Scheduling:** Plan your campaigns in advance (e.g., "Black Friday" bar starts automatically on a specific date).
* **Premium Support:** Direct access to the development team.

== Installation ==

1.  Upload the plugin files to the `/wp-content/plugins/simple-free-shipping-bar-ocma` directory, or install the plugin through the WordPress plugins screen directly.
2.  Activate the plugin through the 'Plugins' screen in WordPress.
3.  Go to **Settings > Free Shipping Bar** to configure your threshold and colors.
4.  Done! The bar will appear on your shop automatically.

== Frequently Asked Questions ==

= Does it work with the new Cart & Checkout Blocks? =
Yes! We have implemented support for the `wc/store/cart` data store, so the bar updates even if you use the modern Block-based checkout.

= Can I hide the bar on mobile? =
The bar is responsive by default. If you need to hide it, you can add custom CSS, but we recommend keeping it visible to maximize conversions.

= How do I set different amounts for different zones? =
The Free version supports a single global threshold. For Geolocation targeting and zone-based logic, please check the Pro version.

== Screenshots ==

1.  **General Settings:** Easily configure the shipping goal, messages, and colors.
2.  **Frontend Demo:** The bar showing the progress towards free shipping.
3.  **Success Message:** The notification when the customer reaches the goal.

== Changelog ==

= 1.0.0 =
* Initial release.
* Added support for WooCommerce AJAX fragments.
* Added support for Block Themes (Store API).

== Upgrade Notice ==

= 1.0.0 =
Initial release. Ready to boost your sales!