=== WC Weight Meter ===
Contributors: SOTFSDAPPS
Tags: WooCommerce, WC weight meter, cart weight, customizable, progress bar
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.2.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
WC requires at least: 4.0
WC tested up to: 8.0

A WooCommerce weight meter plugin that allows customers to view the total weight of their cart in real-time with a customizable progress bar.

== Description ==

WC Weight Meter is a WooCommerce plugin that tracks the total weight of items in the cart and displays it in a progress bar. The plugin includes customizable settings such as weight limit, unit of measurement (lbs/kg), and bar color.

== Features ==

* Real-time weight tracking for WooCommerce carts.
* Customizable weight unit (lbs or kg).
* Adjustable weight limit.
* Progress bar updates dynamically.
* Admin settings page for customization.

== Installation ==

1. Upload the `wc-weight-meter` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Go to **Settings > Weight Meter** to configure the plugin.

== Frequently Asked Questions ==

= Can I customize the weight limit? =
Yes, you can set a custom weight limit in the plugin settings.

= Does the plugin support both lbs and kg? =
Yes, you can choose between lbs and kg in the settings.

= Will the progress bar update automatically? =
Yes, it updates dynamically as items are added or removed from the cart.

== Changelog ==

= 1.1 =
* Added admin settings page for unit selection and weight limit.
* Fixed weight conversion between lbs and kg.
* Improved sanitization for `register_setting()`.
* Fixed undefined unit and weight limit display in the progress bar.

= 1.2.1 =
* Fixed an asyncronous error due to sanitization updates for wordpress verison 6.8
* Added fucntionality for wordpress version 6.8
