=== Quick Chat Redirect for WooCommerce ===
Contributors: umutsevimcan
Tags: woocommerce, chat, catalog, order, redirect
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 1.2.2
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Turn your WooCommerce store into a catalog. Redirect "Add to Cart" buttons to various chat apps with a pre-filled message.

== Description ==

**Quick Chat Redirect for WooCommerce** allows you to use WooCommerce as a catalog and accept orders via external chat services. It replaces the standard "Add to Cart" and "Buy Now" buttons with a customizable action button.

When a customer clicks the button, they are redirected to your chat service with a pre-filled message including the product name and link. 

**Key Features:**
*   **Redirect to Chat:** Send customers directly to your preferred communication channel.
*   **Customizable Button:** Change text, color, border radius, and icon.
*   **Dynamic Message:** Use placeholders like `{product_name}`, `{product_price}`, `{product_url}`, `{sku}`, and `{variation_image}`.
*   **Category Routing:** Route different product categories to different sales representatives (phone numbers).
*   **Catalog Mode:** Option to hide prices and remove the add-to-cart functionality completely ("Ask for Price" mode).
*   **Variation Support:** Automatically detects selected variation (color/size) and includes its specific image and details in the message.
*   **Theme Inheritance:** Option to inherit your active theme's button styles for a seamless look.

== Installation ==

1.  Upload the plugin files to the `/wp-content/plugins/quick-chat-redirect-woo` directory, or install the plugin through the WordPress plugins screen directly.
2.  Activate the plugin through the 'Plugins' screen in WordPress.
3.  Use the **Settings->Quick Chat Redirect** screen to configure your contact number and button design.

== Frequently Asked Questions ==

= Can I use different numbers for different categories? =
Yes! Go to the "Advanced" tab in the settings. You can map Category IDs to specific contact numbers.

= Does it work with variable products? =
Yes. The plugin detects the selected variation and updates the message link and image accordingly.

= Can I hide the price? =
Yes. In the "Advanced" tab, you can select "Hide Price Only" or "Hide Price & Add to Cart Button" modes.

== Screenshots ==

1.  **General Settings** - Set your contact number and message template.
2.  **Design Settings** - Customize the button colors and style.
3.  **Advanced Settings** - Configure category routing and price visibility modes.

== Changelog ==

= 1.2.2 =
*   Updated internal prefixes to `wcqcr_` to meet WordPress.org naming conventions.
*   Fixed inline style enqueueing issue in admin panel.
*   Added `Requires Plugins` header.

= 1.2.1 =
*   Renamed main plugin file to `quick-chat-redirect-woo.php` content to match the new slug.
*   Fixed text domain mismatch errors.

= 1.2.0 =
*   Updated plugin name to "Quick Chat Redirect for WooCommerce".
*   Renamed internal classes and functions to comply with trademark policies.
*   Security improvements (Nonce verification).

= 1.0.0 =
*   Initial release.
*   Added General, Design, and Advanced tabs.
*   Implemented variation image support.
*   Added Theme Inheritance mode.
