How to Customize OneClick Chat to Order on Your WooCommerce Store

order chat for woocoommerce

Are you tired of customers leaving your WooCommerce store without making a purchase? Do you want to make the shopping experience more convenient for your customers? OneClick Chat is the perfect solution for you! Using this feature, you can customize your chat widget to make shopping easier for your customers. This step-by-step guide will show you how to customize OneClick Chat to your store’s needs, from changing the colors to adding quick links to your products. Don’t miss this opportunity to improve your customer experience and increase your sales with OneClick Chat! Let’s dive in.

Customize WooCommerce OneClick Chat to Order – Methods

There are two main methods to customize WooCommerce OneClick Chat to Order. These include:

  1. Order Chat For WooCommerce by KoalaApps
  2. Customize WooCommerce OneClick Chat to Order Programmatically

Method #1: Order Chat For WooCommerce by KoalaApps

Order Chat for WooCommerce is a valuable tool that provides an informative and customizable chat experience. It enables admins to communicate about order requirements from the order detail page on the admin panel. Instead of having customers interact through multiple channels (emails, WhatsApp, phone calls, or SMS), you can connect with them directly. This way, miscommunications are avoided through direct conversation. Order Chat For WooCommerce can help boost customer satisfaction and drive sales conversions.

Installation

  1. Download the .zip file available in your WooCommerce account.
  2. Go to WordPress Admin > Plugins > Add New and upload your downloaded file using Choose File.
  3. Install and activate the plugin now.

Setup and Configuration

After installing the plugin, look for “Order Chat” under WordPress Admin > WooCommerce. Click to view the settings.

Activate Order Messages & Customize Chat Settings

You can activate the order message and customize the following from the general settings:

  • Enable chat for select order statuses
  • Customize success and failed messages
  • Disable file attachment
  • Add allowed file extension and size

Customize Style Settings

From the style settings of the plugin, you can customize the background and text color of: 

  • Admin messages
  • Customer messages

Customize Email Notifications & Templates

You can enable/disable email notifications for admin and customers when receiving a new message. Also, design an email template by choosing the heading, subject, and message. 

Method #2: Customize WooCommerce OneClick Chat to Order Programmatically

Find a useful code below for the program-based implementation of customizing OneClick Chat to Order for WooCommerce.

add_action( 'woocommerce_order_status_processing_to_cancelled_notification', array( $this, 'trigger' ), 10, 2 );
add_action( 'woocommerce_order_status_on-hold_to_cancelled_notification', array( $this, 'trigger' ), 10, 2 );
public function trigger( $order_id, $order = false ) {
$this->setup_locale();
if ( $order_id && ! is_a( $order, 'WC_Order' ) ) {
$order = wc_get_order( $order_id );
}
if ( is_a( $order, 'WC_Order' ) ) {
$this->object = $order;
$this->placeholders['{order_date}'] = wc_format_datetime( $this->object->get_date_created() );
$this->placeholders['{order_number}'] = $this->object->get_order_number();
$this->placeholders['{order_billing_full_name}'] = $this->object->get_formatted_billing_full_name();
$this->recipient = $this->object->get_billing_email();
}
if ( $this->is_enabled() && $this->get_recipient() ) {
$this->send( $this->get_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
}
$this->restore_locale();
}

Final Thoughts

Providing customers with multiple ways to purchase your products is never a bad idea. In this instance, we’re simply adding a chat feature to allow them to access OneClick shopping easily.

Sign up to get Latest Updates

For more digital insights, sign up for the latest updates and industry news right in your inbox.