=== SPP Sticky Added to Cart Notice ===
Contributors: simpliplugin
Tags: woocommerce, cart, sticky cart, floating cart, checkout
Requires at least: 5.6
Tested up to: 7.0
Requires PHP: 7.2
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Displays a persistent floating notice that summarizes the WooCommerce cart value and item count, with immediate links to the cart and checkout.

== Description ==

**SPP Sticky Added to Cart Notice** adds a persistent, always-visible floating widget to your WooCommerce store. As shoppers browse, the floater summarizes their cart value and item count and gives them immediate one-tap access to the cart and checkout pages.

The floater updates automatically whenever a product is added to the cart (using WooCommerce's AJAX cart fragments), so the total and item count stay accurate without a page reload. An optional "Added to cart" confirmation flash provides instant feedback.

= Key features =

* Persistent floating cart summary shown across the storefront.
* Live cart value (subtotal) and item count that update on AJAX add-to-cart.
* Immediate "View cart" and "Checkout" access links.
* Optional "Added to cart" confirmation flash.
* Four positions: bottom-right, bottom-left, full-width bottom bar, full-width top bar.
* Fully customizable colors, title, and button labels.
* Option to hide the floater automatically when the cart is empty.
* Mobile responsive and accessibility friendly (ARIA live region, reduced-motion support).
* Lightweight, translation ready, and HPOS compatible.

= Requirements =

* WooCommerce 4.0 or newer.

== Installation ==

1. Upload the `spp-sticky-added-to-cart-notice` folder to the `/wp-content/plugins/` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the "Plugins" screen in WordPress.
3. Go to **WooCommerce > Sticky Cart Notice** to configure the floater.

== Frequently Asked Questions ==

= Does this require WooCommerce? =

Yes. The plugin uses the WooCommerce cart and will display an admin notice if WooCommerce is not active.

= Will the total update without reloading the page? =

Yes. The floater is registered as a WooCommerce cart fragment, so it refreshes automatically whenever a product is added to the cart via AJAX.

= Can I change the colors and labels? =

Yes. Go to **WooCommerce > Sticky Cart Notice** to change colors, the title, the button labels, the position, and visibility options.

= Can I hide the floater on specific pages? =

Yes. Developers can use the `spp_sacn_should_display` filter to control where the floater appears.

== Screenshots ==

1. The sticky cart floater displayed on the storefront.
2. The plugin settings screen under WooCommerce.

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
