=== Vartable for WooCommerce ===
Contributors: sohaib38
Tags: woocommerce, product variations, variation table, product table, woocommerce table
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
WC requires at least: 5.0
WC tested up to: 9.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Display WooCommerce product variations in a beautiful, searchable and filterable table with advanced styling options.

== Description ==

**Vartable for WooCommerce** is a powerful WooCommerce plugin that replaces the default variation dropdown with a fully featured, professional-looking table. Customers can see all product variations at a glance, search and filter them, and add multiple items to the cart at once.

= Key Features =

**Table Display**
* Shows all product variations in a clean, responsive table
* Auto-displays on product pages or place anywhere with a shortcode
* Supports multiple tables per site with different settings each

**Columns (fully customizable)**
* Image, Name, Categories, Tags, Reviews, Stock, Price, Total, SKU, Size/Variation, Quantity, Buy Button

**Search & Filter**
* Live search bar — searches by name, SKU, price, size, stock status, categories
* Category filter dropdown — filter variations by product category
* Pagination — show 5, 10, 15, 20, 25 or 50 rows per page

**Styling & Templates**
* 6 pre-built color templates: Ocean Blue, Forest Green, Midnight Dark, Sunset Orange, Rose Blush, Minimal White
* Full color control: header, text, alternate rows, buttons, borders
* Alternate row background color + text color (fully customizable)
* Responsive design — works on desktop, tablet and mobile

**Cart & Buying**
* Add single variation to cart directly from the table
* Bulk Add to Cart — select multiple variations and add all at once
* Quantity input per row with min/max/step support
* Real-time total price calculation per row

**Stock & Notifications**
* Out-of-stock "Notify Me" button with email subscription
* Custom stock status icons (emoji supported)
* Low stock threshold setting
* Hide out-of-stock variations option
* Show/hide stock quantity

**Compare Feature**
* Variation comparison mode — select multiple variations and compare side by side
* Floating compare bar with drawer panel

**Advanced Settings**
* Choose table position on product page (before/after add to cart, before/after summary)
* Show table on all products, specific products, or exclude certain products
* Show/hide sale badge, images, stock quantity
* Multi-language support (English, Urdu, Arabic, Spanish, French, German, Chinese, Japanese, Portuguese, Russian, Hindi)

= Shortcode Usage =

Display the variation table anywhere using:

`[wcvtp_variations_table]`

On a specific product page:

`[wcvtp_variations_table id="123"]`

= Who Is This For? =

* WooCommerce store owners selling products with multiple variations (sizes, colors, etc.)
* Wholesale stores needing bulk ordering
* Fashion, apparel, sports, and electronics stores
* Anyone looking for a better variation display than the default WooCommerce dropdown

== Installation ==

1. Upload the `product-variation-table` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the **Plugins** menu in WordPress
3. Go to **Vartable for WooCommerce** in your WordPress admin menu
4. Click **Add New Table** to create your first variation table
5. Configure columns, styling, and settings as needed
6. The table will auto-display on your product pages, or use the shortcode `[wcvtp_variations_table]`

== Frequently Asked Questions ==

= Does this plugin require WooCommerce? =

Yes. WooCommerce must be installed and active for this plugin to work.

= Can I display the table on non-product pages? =

Yes! Use the shortcode `[wcvtp_variations_table id="YOUR_PRODUCT_ID"]` on any page, post or widget.

= Can I have different table styles for different products? =

Yes. You can create multiple tables with different settings and assign them to specific products using the product selection option.

= Does it work with variable products only? =

Yes. This plugin is designed specifically for WooCommerce variable products that have variations.

= Is it mobile friendly? =

Yes. The table is fully responsive and adjusts for desktop, tablet and mobile screens.

= Can customers add multiple variations to cart at once? =

Yes. Enable the "Bulk Add to Cart" option and customers can select quantities for multiple variations and add them all in one click.

= What columns can I show in the table? =

You can enable or disable: Image, Name, Categories, Tags, Reviews, Stock, Price, Total, SKU, Size/Variation, Quantity, and Buy Button.

= Can I change the colors of the table? =

Yes. Full color control is available — header background, header text, alternate row colors, button colors, border color. You can also choose from 6 pre-built templates.

= Does it support RTL languages? =

Yes. The plugin includes translation support and works with RTL languages including Urdu and Arabic.

= How does the Notify Me feature work? =

When a variation is out of stock, a "Notify Me" button appears. Customers can enter their email to be notified when the product is back in stock.

= Can customers compare variations? =

Yes. Enable the compare mode and customers can select multiple variations to view them side by side in a comparison drawer.

== Screenshots ==

1. Variation table displayed on a product page
2. Admin panel - Table settings
3. Admin panel - Styling tab with color options
4. Admin panel - Column management
5. Pre-built color templates

== Changelog ==

= 1.0.0 =
* Initial release
* Variable product variation table display
* 12 customizable columns
* Live search with full-text indexing
* Category filter dropdown
* Pagination support
* 6 pre-built color templates
* Full color customization (header, rows, buttons, borders)
* Alternate row text color control
* Bulk Add to Cart functionality
* Per-row quantity inputs with min/max/step
* Real-time total price per row
* Out-of-stock Notify Me button with email subscription
* Variation comparison mode
* Auto-display on product pages
* Shortcode support
* Multiple tables support
* Product selection (all / include / exclude)
* 11 language translations
* Mobile responsive layout
* Stock status icons (emoji)
* Sale badge support
* Low stock threshold
* Hide out-of-stock option
* Settings export/import
* Cache management

== Upgrade Notice ==

= 1.0.0 =
Initial release of Vartable for WooCommerce.