=== Social Chat - Click To Chat App Button ===
Contributors: quadlayers
Donate link: https://quadlayers.com/products/whatsapp-chat/
Tags: whatsapp, whatsapp business, whatsapp chat, woocommerce whatsapp, click to chat
Requires at least: 4.7
Requires PHP: 5.6
Tested up to: 7.0
Stable tag: 8.5.3
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
WC requires at least: 4.0
WC tested up to: 10.7

WhatsApp Chat🔥 allows you to enhance customer engagement! Integrate "WhatsApp" or "WhatsApp Business" with a single click.

== Description ==

[Premium](https://quadlayers.com/products/whatsapp-chat/) | [Demo](https://quadlayers.com/demo/whatsapp-chat/) | [Documentation](https://quadlayers.com/documentation/whatsapp-chat/) | [Discord](https://discord.com/invite/U3rs3rPPQ4)

WhatsApp Chat for WordPress allows your customers to click a button and open a conversation from your website directly to your "WhatsApp" or "WhatsApp Business" phone number. This plugin includes a Whatsapp button where you can include a pre-set message, which will be automatically be the first message in the conversation.

[youtube https://www.youtube.com/watch?v=TY4hEJjZL8Y]

== Formerly WhatsApp Chat ==
This plugin was formerly known as "WhatsApp Chat". WordPress forced us on August 8, 2019 to change the name of the plugin due to use of the "WhatsApp" word in the name. We apologize for the problems that the downtime may have caused to you.

== Why WhatsApp? ==
WhatsApp is these days, the most popular instant messaging application in the world. Is available in more than 100 countries and supporting more than 50 languages.
This means most of our users use WhatsApp as their main contact method, and they probably have been using it for years. Therefore, offering easy access from our website is a good way to convert those visitors into customers.
Generating leads is the key to every business success, and the Social Chat button can help you to increase your overall sales and reach this goal.

== WhatsApp Button ==
With the Social Chat button, your visitors will be allowed to send a message directly to your phone number. To start configuring it, you have to go to the button tab inside the Social Chat section that you can find in your admin dashboard.
Inside the button tab, you wil be able to switch between two different layouts, and to define if you want to include rounded edges, also the position where you want to show the WhatsApp button, the text to be displayed inside, the WhatsApp phone number and the default user message.

== Social Chat Box ==
Social Chat also allows you to include a box to show some contact information and a personalized message. This box can be activated through the Box tab inside the Social Chat section, and there also you can define the header and footer message, contact name, phone, work, and an avatar.

== Social Chat Features ==

> * WhatsApp button
> * WhatsApp contact box
> * WhatsApp button and box colors
> * Add custom icon in the WhatsApp button
> * Two button layouts
> * Hide the button based on post types and taxonomies
> * Add rounded or square borders
> * Vertical and horizontal position
> * Custom button text
> * Custom user message
> * WooCommerce product page integration
> * WooCommerce archive pages integration
> * Dynamic message variables

== WhatsApp Message Dynamic Variables ==
Synce version 5.0.6 you're able use variables in your WhatsApp Button or contact messages.

{SITE_TITLE} 	➡ Is replaced by the current site title
{SITE_URL} 		➡ Is replaced by the current site url
{SITE_EMAIL} 	➡ Is replaced by the current site email
{CURRENT_TITLE} ➡ Is replaced by the current page title
{CURRENT_URL} 	➡ Is replaced by the current page url

== WooCommerce WhatsApp Message Variables ==
Since version 8.1.9, WooCommerce users can use product-specific variables in their WhatsApp messages:

{PRODUCT_TITLE} ➡ Is replaced by the product name
{PRODUCT_URL} 	➡ Is replaced by the product URL
{PRODUCT_PRICE} ➡ Is replaced by the product price
{PRODUCT_SKU} 	➡ Is replaced by the product SKU
{PRODUCT_ID} 	➡ Is replaced by the product ID

== 🎁 New!! WooCommerce WhatsApp ==

Since version 6.0.1 you can include a WooCommerce WhatsApp button in the Single product pages to allows your users to prompt a custom message to your WhatsApp App.

The WhatsApp Button can be included directly on your WooCoomerce product pages next to the "Add to cart" button.

Also you can include WooCommerce WhatsApp button in the next actions:

> * Before "Add To Cart" form
> * Before "Add To Cart" button
> * After "Add To Cart" button
> * After "Add To Cart" form
> * After "Additional information"

== 🎁 New!! WooCommerce Archives WhatsApp ==

Since version 8.1.9 you can display a customizable WhatsApp button on WooCommerce archive pages, including:

> * Shop page
> * Product category archives
> * Product tag archives
> * Product brand archives (for plugins that support it)

You can configure a custom message, button style, and position for each archive type. The button supports all WooCommerce product variables, making it easy for customers to inquire about products directly from archive pages.

== 🎁 New!! WooCommerce WhatsApp Payment Gateway (Premium) ==

Since version 8.3.0 you can enable WhatsApp as a payment method in WooCommerce checkout! This powerful **premium** feature allows customers to:

> * Select WhatsApp Order as a payment method at checkout
> * Automatically send order details to your WhatsApp number
> * Customize order messages with dynamic variables (ORDER_ID, ORDER_TOTAL, CUSTOMER_NAME, ORDER_PRODUCTS, etc.)
> * Auto-redirect customers to WhatsApp after placing an order
> * Configure custom order status, redirect delay, and visibility settings
> * Support for both individual phone numbers and WhatsApp groups
> * Full compatibility with WooCommerce Blocks checkout

Perfect for businesses that want to confirm payments via WhatsApp or provide a more personal checkout experience. All order information is automatically formatted and sent to your WhatsApp, making order management seamless.

**WooCommerce Order Message Variables:**
{ORDER_ID} ➡ Order ID
{ORDER_NUMBER} ➡ Order Number
{ORDER_TOTAL} ➡ Order Total Amount
{ORDER_DATE} ➡ Order Date
{ORDER_TIME} ➡ Order Time
{ORDER_STATUS} ➡ Order Status
{ORDER_URL} ➡ View Order URL
{ORDER_PRODUCTS} ➡ List of ordered products
{CUSTOMER_NAME} ➡ Customer Full Name
{CUSTOMER_EMAIL} ➡ Customer Email
{CUSTOMER_PHONE} ➡ Customer Phone
{BILLING_ADDRESS} ➡ Billing Address
{SHIPPING_ADDRESS} ➡ Shipping Address
{PAYMENT_METHOD} ➡ Payment Method Title

== WhatsApp Premium ==
The premium version of the Social Chat plugin allows you to include multiple team member agents, distinguishing their names and labels inside. The contact box helps to provide direct contacts to the different support areas of your site.
A new option to display a chatbox for each agent is included. This box will be displayed when the user clicks on the WhatsApp contact, and you can define custom message to be shown from each contact. Your users will be able to type the message that will be sent to the WhatsApp contact phone.
Finally, we've included an option that allows you to select between more than fourteen icons to be included at WhatsApp button, and allowa full integration with the WordPress live customizer.

== AI-Powered Chatbots (Beta) ==
Build intelligent chatbots with our visual flow builder - no coding required! Create smart conversations using a simple drag-and-drop interface to convert visitors into customers. Design conversation flows with connected blocks, deploy instantly to your contacts, and boost engagement with AI-powered responses. Join our Discord community to get early access and help shape this revolutionary feature.

== Social Chat Premium Features ==

> * AI-Powered Chatbots with visual flow builder
> * Multiple WhatsApp phone numbers
> * Chatbox interface for each WhatsApp phone number
> * Customize each WhatsApp contact welcome message
> * Allow users to send the first message to your WhatsApp
> * GDPR consent checkbox with customizable message
> * Display WhatsApp button based on custom post types and taxonomies
> * Display WhatsApp Button business hours
> * Display WhatsApp Contacts business hours
> * Google Analytics v3 events
> * Google Analytics v4 events
> * WhatsApp group support
> * WooCommerce WhatsApp Payment Gateway
> * Auto-redirect to WhatsApp after order placement
> * WooCommerce Blocks checkout compatibility

== WhatsApp Button Installation ==
1. Go to the Plugins Menu in WordPress
2. Search for "Social Chat WP"
3. Click "Install"
4. Click "Activation"
5. Go to the Social Chat options in the dashboard

== WhatsApp Button Shortcodes ==

Our WhatsApp plugin support shortcodes to add WhatsApp button or box inside any post or widget.
You can change the shortcode attributes to customize the WhatsApp phone number, styles or welcome message.

[WhatsApp Shortcodes](https://quadlayers.com/documentation/whatsapp-chat/shortcode/)

== Frequently Asked Questions ==

= Where do I get support? =

You can contact us trough this channels

[Support Forum](https://wordpress.org/support/plugin/wp-whatsapp-chat/) | [Support Ticket](https://quadlayers.com/account/support) | [Discord Community](https://discord.com/invite/U3rs3rPPQ4)

= Can I use more than one WhatsApp number? =

Yes, this option is available in our premium version

[Social Chat Premium](https://quadlayers.com/products/whatsapp-chat/)

= Social Chat is GDPR compatible? =

Yes, Social Chat WP is fully GDPR compliant and does not store any personal data. The premium version includes an advanced GDPR consent feature that displays a customizable checkbox with your privacy notice. Users must accept the consent before they can interact with contacts or send messages, ensuring complete compliance with data protection regulations.

= Will my WhatsApp number be visible to all users? =

Yes, every user of your website will be able to see the number of WhatsApp you are using. For this reason we advise you to not use a WhatsApp number that you want to keep private.

= What is a full phone number in international format? =

Omit any zeroes, brackets or dashes when adding the phone number in international format, including your country code, area and regular phone number.

Use: 15551234567
Don't use: +001-(555)1234567

= Translation =

* Brazilian Portuguese (thanks to [Dionizio Bach](@djio))

== Changelog ==

= 8.5.3 =
* Fix: Migrate rich text to markdown for [Quick.Bot](https://quick.bot/) compatibility

= 8.5.2 =
* Fix: WP editor compatibility with WordPress 7
* Improvement: Responsive bots and contacts tables with unified status tags

= 8.5.1 =
* WordPress 7.0 compatibility

= 8.5.0 =
* Feat: Add onboarding modal for [Quick.Bot](https://quick.bot/) integration

= 8.4.9 =
* Feat: Add support chat button for in-app assistance
* Improvement: Improve Alert components responsive layout for mobile devices
* Fix: Add chevron icon to all Alert action buttons

= 8.4.8 =
* Fix: Email verification link not verifying account due to token lost before modal render
* Fix: Token persisting after verification causing stale verification view on popover reopen

= 8.4.7 =
* Fix: Clear token from URL after email verification to prevent re-showing verification form

= 8.4.6 =
* Feat: Add bots tab

= 8.4.5 =
* Feat: Add secondary color
* Fix: Add customize default colors

= 8.4.4 =
* Feat: Add toggle contact button

= 8.4.3 =
* Fix: Update welcome page

= 8.4.2 =
* Fix: WooCommerce compatibility

= 8.4.1 =
* Fix: Phone and date input blocks in chatbot flows
* Feat: Add country dial code support for phone inputs

= 8.4.0 =
* Fix: Bot message color

= 8.3.9 =
* Fix: Reset button in bot chat is now always visible instead of only at conversation end
* Fix: Add debug logs for clientSideAction redirect to diagnose open-in-new-tab issues
* Fix: Admin menu layout height and sticky header
* Fix: Preview panel device frame for mobile and desktop
* Fix: Sidebar collapse toggle button repositioned to sidebar edge

= 8.3.8 =
* Fix: Enqueue frontend assets
* Fix: Move Call to action and WhatsApp Link Type settings to Contact tab
* Fix: Footer textarea text color now respects scheme settings
* Fix: PHP errors

= 8.3.7 =
* Feat: Unified global Save/Reset footer across all settings tabs
* Fix: Settings changes no longer lost when navigating between tabs
* Fix: Rename Cancel button to Reset to better reflect revert-to-saved behavior

= 8.3.6 =
* Fix: LiteSpeed Cache compatibility for frontend bundle

= 8.3.5 =
* Fix: Improve admin dashboard menu navigation

= 8.3.4 =
* Fix: WooCommerce checkout gateway is now disabled by default

= 8.3.3 =
* Fix: Prevent WooCommerce button hooks from loading when devices visibility is set to hide

= 8.3.2 =
* Feat: Add contact type icon badge on avatar (phone, group, bot)
* Fix: Prevent user first message in contact bots
* Fix: Prevent page scroll when scrolling the chat message list
* Fix: Unify Button and Visibility settings save/cancel into a single explicit action
* Fix: Prevent UI from getting stuck in loading state on save error

= 8.3.1 =
* Feat: Unify welcome and premium page

= 8.3.0 =
* Feat: Add WooCommerce WhatsApp Payment Gateway
* Feat: Allow customers to select WhatsApp as payment method at checkout
* Feat: Auto-send order details to WhatsApp with customizable messages
* Feat: Support for WooCommerce order dynamic variables (ORDER_ID, ORDER_TOTAL, CUSTOMER_NAME, etc.)
* Feat: Auto-redirect to WhatsApp after order placement with configurable delay
* Feat: Full WooCommerce Blocks checkout compatibility
* Feat: Gateway configuration UI in admin settings panel

= 8.2.1 =
* Fix: Update Bot API endpoints

= 8.2.0 =
* Improve: WooCommerce product pages now use dynamic product variables by default
* Improve: WooCommerce archive pages now use site-specific variables by default

= 8.1.9 =
* Feat: Add WooCommerce Archives button support (shop, categories, tags, brands)
* Feat: Add WooCommerce product dynamic variables (PRODUCT_TITLE, PRODUCT_URL, PRODUCT_PRICE, PRODUCT_SKU, PRODUCT_ID)
* Feat: Add device visibility control for WooCommerce buttons

= 8.1.8 =
* Feat: Add admin menu better tooltips & helpers

= 8.1.7 =
* Feat: Update rating request notice

= 8.1.6 =
* Feat: Add WooCommerce button preview

= 8.1.5 =
* Fix: RTL support
* Fix: Admin menu menu loading preview 

= 8.1.4 =
* Fix: WooCommerce HPOS compatibility
* Feat: Customize tab

= 8.1.3 =
* Feat: WooCommerce compatibility

= 8.1.2 =
* Fix: Header & footer headings sizes
* Fix: Display default new contact settings

= 8.1.1 =
* Fix: Premium bot redirect block

= 8.1.0 =
* Fix: WordPress compatibility
* Fix: Premium compatibility

= 8.0.9 =
* Fix: Legacy admin menu settings
* Fix: Premium compatibility

= 8.0.8 =
* Fix: WhatsApp contacts modal and button close button color

= 8.0.7 =
* Fix: Color picker alpha

= 8.0.6 =
* Fix: WP Rocket compatibility

= 8.0.5 =
* Fix: Button image layout

= 8.0.4 =
* Fix: Discord invite link

= 8.0.3 =
* Fix: Add rating support for premium bots feature

= 8.0.2 =
* Fix: Improve admin menu tabs navigation
* Fix: Improve time days multiselect
* Fix: Header and footer field sync issue in Box settings

= 8.0.1 =
* Fix: LocalStorage store name

= 8.0.0 =
* Feat: Premium Bots feature support (coming soon)
* Fix: GDPR cookie consent now properly disables contact interactions and message sending when not accepted
* Fix: Outside click detection improved in admin preview to prevent unintended box closures
* Fix: Admin menu settings tabs now implement save/cancel pattern instead of auto-save to prevent unintended changes
* Fix: WooCommerce tab button rounded property properly disabled in settings

Older versions:
https://plugins.svn.wordpress.org/wp-whatsapp-chat/trunk/changelog.txt

== Upgrade Notice ==

Hello! We've recently acquired this plugin and included tons of new features.

== Developed by ==
[QuadLayers](https://quadlayers.com)
