=== Direct Chat Inquiry by XD ===
Contributors: muhammadalikhizar
Donate link: https://xpertdezineit.blogspot.com/
Tags: woocommerce, whatsapp, chat, inquiry, ecommerce
Author: Xpert Dezine IT
Author URI: https://facebook.com/xpertdezineit
Requires at least: 5.6
Tested up to: 6.8
Requires PHP: 7.2
Stable tag: 1.2.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add a WhatsApp inquiry button to your WooCommerce product pages with customizable options and shortcode support.

== Description ==

WA Inquiry for WooCommerce by XD adds a professional WhatsApp inquiry button to your WooCommerce product pages, allowing customers to quickly contact you about products. The plugin is fully customizable and works seamlessly with all WooCommerce themes.

**Key Features:**
- Add WhatsApp inquiry button to product pages
- Multiple button position options
- Customizable button text
- Shortcode support for placing button anywhere
- Mobile-friendly design
- WhatsApp number validation
- Compatible with WooCommerce HPOS (High-Performance Order Storage)

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/wa-inquiry-for-woocommerce` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Configure your WhatsApp number and button settings under: WooCommerce > Settings > WA Inquiry by XD
4. The button will automatically appear on product pages based on your settings

== Frequently Asked Questions ==

= What WhatsApp number format should I use? =
Enter your full WhatsApp number with country code but without any special characters. Example: 923001234567 (for Pakistan)

= Can I change the button position? =
Yes, you can choose from three positions: Before Add to Cart, After Add to Cart, or After Product Summary.

= Can I use shortcodes to place the button? =
Yes! Use [wa_inquiry_by_xd] in any post/page/widget. Options:
- [wa_inquiry_by_xd text="Custom Text"]
- [wa_inquiry_by_xd size="small"]

= Does this work with WhatsApp Business? =
Yes, the plugin works with both regular WhatsApp and WhatsApp Business numbers.

= Is this plugin translation ready? =
Yes, the plugin includes .pot file for translations in the languages folder.

== Screenshots ==
1. WhatsApp button on product page (after Add to Cart)
2. Plugin settings page in WordPress admin
3. Shortcode examples and usage

== Changelog ==

= 1.2.1 =
* Fixed compatibility issue with WooCommerce 7.0
* Improved mobile responsiveness
* Added sanitization for WhatsApp number input

= 1.2.0 =
* Added HPOS (High-Performance Order Storage) compatibility
* Improved admin interface
* Added new shortcode parameters

= 1.1.0 =
* Added shortcode support
* Fixed JavaScript conflicts
* Improved button styling

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.2.1 =
Recommended update for all users using WooCommerce 7.0 or later. Includes important compatibility fixes.

== Developer Notes ==

The plugin follows WordPress coding standards and includes hooks for customization:

**Filters:**
- `wc_wa_inquiry_button_html` - Filter the button HTML output
- `wc_wa_inquiry_whatsapp_url` - Filter the generated WhatsApp URL

**Actions:**
- `wc_wa_inquiry_before_button` - Action before button renders
- `wc_wa_inquiry_after_button` - Action after button renders

To contribute, please visit our [GitHub repository](https://github.com/xpertdezineit/wa-inquiry-for-woocommerce).

== License ==

WA Inquiry for WooCommerce by XD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or any later version.

== Support ==

For support, feature requests, or any questions:

- Email: muhammadalikhizar@gmail.com
- Facebook: https://facebook.com/xpertdezineit
- WordPress Support Forums

== Premium Support ==

Upgrade to premium for:
- 24/7 priority support
- Custom feature requests
- Faster response times

== Contributors ==

Developed with ❤️ by:
- Muhammad Ali Khizar (Lead Developer)
- Xpert Dezine IT (Contributor)

Follow us for more great plugins!