=== Sidebar Category Tabs for WooCommerce ===

Contributors: WPaladin
Donate link: https://wsct.lovestoblog.com/donate/
Tags: woocommerce, product categories, sidebar navigation, ajax, mobile-friendly
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 1.2.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Interactive product category tabs in a sidebar for WooCommerce with mobile-friendly, scrollable tabs and AJAX loading.

== Description ==

Sidebar Category Tabs for WooCommerce is an interactive product tab solution designed specifically for WooCommerce stores. It features mobile-friendly, scrollable tabs with flick gestures to showcase product categories and enhance user interaction. [Live Demo](https://wsct.lovestoblog.com/)

**Key Features:**

* **Sidebar Navigation:** Displays WooCommerce product categories as tabs in a sidebar.
* **Quantity Controls:** Easily adjust product quantities with + and - buttons before adding to cart.
* **Customizable Design:** Add custom CSS for styling to match your theme.
* **AJAX Loading:** Dynamically load products without refreshing the page for a smooth user experience.
* **Support types of product:** Supports simple, variable product types.
* **Mobile-Friendly:** Scrollable tabs with flick gestures for excellent mobile usability.

= Shortcode Usage =

Use the following shortcode to display the category tabs:

`[wsct_woocommerce_sidebar_category_tabs]`

**Shortcode Attributes:**

* **card_height:** (Optional) Sets the height of the product cards in pixels. Default is `400px`.
* **default_category:** (Optional) Specifies the default category to display when the tabs load. Use the category ID. Default is the first category.

Example:
`[wsct_woocommerce_sidebar_category_tabs card_height="500" default_category="12"]`

== Installation ==

1. Download the plugin or clone the repository.
2. Upload the plugin folder to the `wp-content/plugins/` directory.
3. Activate the plugin through the WordPress admin panel under **Plugins**.
4. Add products to WooCommerce and organize them into categories.
5. Use the `[wsct_woocommerce_sidebar_category_tabs]` shortcode to display the tabs on a page.
6. Customize the tabs through the WordPress admin panel.

== Frequently Asked Questions ==

= What are the requirements for this plugin? =

This plugin requires WordPress 5.0 or higher and WooCommerce plugin installed and activated.

= How do I add products to display in the tabs? =

Add products to WooCommerce and organize them into categories. You can learn how to add products and manage categories in the [WooCommerce documentation](https://woocommerce.com/document/managing-products/).

= Can I customize the appearance of the tabs? =

Yes, you can customize the design by adding custom CSS through the WordPress customizer or your theme's CSS files.

== Screenshots ==

1. Sidebar category tabs display
2. Sidebar category tabs display numbers pagination
3. Settings panel

== Changelog ==

= 1.0.0 =
* Initial release with core features:
  * Sidebar navigation displaying WooCommerce product categories as tabs
  * Customizable design with support for custom CSS
  * AJAX loading for dynamic product display without page refresh
  * Mobile-friendly, scrollable tabs with flick gestures

= 1.1.0 =
* 1.1.0 release with features:
  * Added support for variable product type
  * Button style CSS fixes

= 1.2.0 =
* 1.2.0 release with features:
  * Added product quantity controls with + and - buttons
  * Quantity selector allows customers to set custom quantity before adding to cart
  * Minimum quantity validation (default: 1)
  * Improved user experience for bulk purchasing

== Upgrade Notice ==

= 1.0.0 =
Initial release of Sidebar Category Tabs for WooCommerce.
