=== CVEW Cart Variation Editor for WooCommerce ===
Contributors: hemantjangir
Plugin URI:
Tags: woocommerce, variation switch, cart edit, product variation, ajax cart
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
Requires Plugins: woocommerce
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Allow customers to change product variations directly from the WooCommerce cart page without removing items.

== Description ==

**CVEW Cart Variation Editor for WooCommerce** enhances the WooCommerce shopping experience by allowing customers to modify selected product variations directly within the cart.

By default, WooCommerce requires users to return to the product page to change variations. This plugin removes that friction and provides a seamless way to update variations instantly from the cart.

This small UX improvement can significantly reduce cart abandonment and improve conversion rates.

### 🚀 Key Features

- Change product variations directly from the cart page
- No need to remove and re-add products
- AJAX-based update for smooth user experience
- Works with all standard WooCommerce variable products
- Lightweight and fast – no unnecessary scripts
- Clean UI integrated into the cart table
- Mobile responsive layout
- No configuration required – works out of the box

### ⚠️ Cart Page Compatibility

This plugin currently works with the **classic WooCommerce cart shortcode** (`[woocommerce_cart]`).

It does **not support the new WooCommerce Cart Block** introduced by WooCommerce Blocks.  
If you are using the Cart Block and do not see the variation editing functionality, switch back to the classic shortcode-based cart page.

### 💡 Why Use This Plugin?

- Improve user experience during checkout
- Reduce cart abandonment rate
- Save customer time and effort
- Increase conversion rates and sales

### 🛠️ How It Works

1. Customer adds a variable product to cart
2. On the cart page, an **"Edit"** option appears
3. Customer selects new variation options
4. Clicks **Update**
5. Cart updates instantly without page reload

### 🔌 Compatibility

- WooCommerce 3.0+
- WordPress 6.0+
- Compatible with most WooCommerce themes
- Works with AJAX-enabled carts
- Supports classic WooCommerce cart shortcode page

### 🧩 Developer Friendly

- Built with WordPress coding standards
- Uses proper hooks, filters, and AJAX endpoints
- Easily extendable and customizable
- Clean and modular code structure

== Installation ==

1. Make sure WooCommerce is installed and activated
2. Upload the plugin folder to `/wp-content/plugins/`
3. Activate the plugin from the **Plugins** screen
4. Ensure your cart page uses the classic shortcode:
   `[woocommerce_cart]`
5. Go to the cart page and start editing variations

== Frequently Asked Questions ==

= Does this work with all products? =
This plugin works with **variable products** only.

= Does it work with WooCommerce Cart Block? =
No. Currently, the plugin supports only the classic shortcode-based cart page.

= Does it require configuration? =
No, it works automatically after activation.

= Will it slow down my website? =
No, the plugin is lightweight and only loads assets on the cart page.

= Is it compatible with custom themes? =
Yes, it works with most WooCommerce-compatible themes.

= Can I customize it? =
Yes, developers can extend functionality using hooks and filters.

== Screenshots ==
1. Edit option on cart page.
2. Product update popup/interface.

== Changelog ==

= 1.0.1 =
* Compatibility check with latest version of wordpress 7.0
= 1.0.0 =
* Initial release
* Allow variation updates directly from cart
* AJAX-based variation switching
* Supports classic WooCommerce cart shortcode
* Mobile responsive UI

== Upgrade Notice ==

= 1.0.0 =
Initial stable release of the plugin.