=== Lite Shipping Counter & Notice ===
Contributors: lruizcode, bubuku
Author URI: https://www.bubuku.com/
Tags: woocommerce, free shipping, cart, checkout, notification bar
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Stable tag: 1.0.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Lightweight notice for WooCommerce that shows how much is left to unlock free shipping.

== Description ==

Lite Shipping Counter & Notice displays a simple message in Cart and/or Checkout telling customers how much they need to add to qualify for free shipping.

**Features:**

* Toggle enable/disable globally
* Custom message text with %%amount%% placeholder
* Show on Cart and/or Checkout pages
* Optional built-in styling or disable for custom CSS
* Background & text color customization
* Rounded corners option
* Ultra lightweight on classic Cart/Checkout pages
* Modern React-based settings page
* HPOS compatible
* Multilingual Compatibility: WPML, Polylang, TranslatePress, qTranslate-X, Weglot, WordPress locale (fallback)

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' screen.
3. Go to WooCommerce → Free Shipping Notice to configure.
4. Make sure you have a Free Shipping method configured with a minimum amount.

== Frequently Asked Questions ==

= Does it add scripts or styles to the frontend? =

On classic Cart/Checkout pages, no extra frontend stylesheet is loaded; the notice uses minimal inline styles when built-in styling is enabled. On WooCommerce Cart/Checkout Blocks, a small block integration script is loaded only on the relevant block page. If you disable built-in styling, the notice keeps the `lscn-notice` CSS class for custom styling.

= What placeholder can I use in the message? =

Use `%%amount%%` to display the remaining amount with currency formatting.

= Why is the notice not showing? =

The notice only appears when:
1. The plugin is enabled
2. You have a Free Shipping method with a minimum order amount configured
3. The cart total is below the free shipping threshold
4. You're on the Cart or Checkout page (depending on settings)

== Screenshots ==

1. Settings page with all options.
2. Notice example on Cart page.
3. Notice example on Checkout page.

== SUPPORT ==

**Need help or have a suggestion?**
Please use the [official WordPress.org Support Forum](https://wordpress.org/support/plugin/lite-shipping-counter-notice/) for any issues related to the plugin.

**Official Website**
For additional information or to get in touch with the development team, please visit our [official website](https://www.bubuku.com/).

**Like the plugin?**
Please [leave a 5-star review](https://wordpress.org/support/plugin/lite-shipping-counter-notice/reviews/?filter=5) and help others discover Bubuku Media Library.

== ABOUT BUBUKU_CODE ==

We develop custom solutions for WordPress focused on performance, accessibility, and maintainable code. Our work includes plugins, themes, and integrations designed to improve the daily workflow of marketing and content teams.

== Changelog ==

= 1.0.5 =
* Hotfix: include compiled frontend assets (assets/build/) that were missing from the 1.0.4 release package.

= 1.0.4 =
* Improved build and release packaging process for production-ready distributions.
* Source maps are excluded from production ZIP files (assets/build/*.map).
* Minor hardening and WordPress.org compliance fixes for plugin checks.

= 1.0.3 =
* Requires PHP 8.0 or higher (raised from 7.4).
* Improved settings page UX and visual design: location pill selector, color pickers, border radius picker, and consistent card layout.
* Added live preview of the notice in the settings page — reflects current text, colors, and border radius in real time.
* Fixed free shipping notice not showing in WooCommerce Blocks (Cart and Checkout).
* Fixed multilingual settings mismatch between admin and frontend when using a single language.
* Added WPML filter fallbacks for language detection in REST API context.
* Settings storage migrated automatically to per-language option keys on first admin load.

= 1.0.2 =
* Added assets/build/ folder.

= 1.0.1 =
* Updated screenshots.

= 1.0.0 =
* Initial release.
