WhatsApp Chat Help
WhatsApp Chat Plugin Pricing

WhatsApp Chat Help

Do you want to improve your customer service? Chat Help allows your users to start a conversation from your website…

10. How can I use Dynamic Variables in the WooCommerce Button Pre-filled Message?

When using the WooCommerce Button, you can add dynamic variables to automatically include product details and site information in the pre-filled WhatsApp message. This ensures every chat starts with the exact context of the product the customer is viewing.


✅ Available Variables #

WooCommerce Product Variables

  • {productName} → Product name
  • {productSlug} → Product slug (URL-friendly name)
  • {productSku} → Product SKU
  • {productPrice} → Current product price
  • {productRegularPrice} → Regular price
  • {productSalePrice} → Sale price (if any)
  • {productStockStatus} → Product stock status

Global Variables

  • {siteTitle} → Your website’s title
  • {siteEmail} → Website email address
  • {currentURL} → Current page URL
  • {currentTitle} → Current page title
  • {siteURL} → Main site URL
  • {ip} → Visitor’s IP address
  • {date} → Current date

Conditional Blocks

  • {PRODUCT_START}...{PRODUCT_END} → Only shows content if WooCommerce product data exists.
  • {NOT_PRODUCT_START}...{NOT_PRODUCT_END} → Shows content when no product data is available.

📌 Example Pre-filled Template #

Hello! I’d like to ask about {productName} (SKU: {productSku}) on {siteTitle}.
{PRODUCT_START}
Current price: {productPrice} (Regular: {productRegularPrice}, Sale: {productSalePrice})
Stock status: {productStockStatus}
{PRODUCT_END}
Page: {currentTitle} ({currentURL})

Result in WhatsApp (on a product page):

Hello! I’d like to ask about Premium Leather Jacket (SKU: JCK-12345) on MyShop.
Current price: $149 (Regular: $199, Sale: $149)
Stock status: In Stock
Page: Premium Leather Jacket (https://example.com/product/premium-leather-jacket)

👉 This ensures your support team immediately sees which product the customer is asking about, reducing back-and-forth and speeding up responses.

What are your feelings

Updated on September 12, 2025
Need Help? Chat with us
Agent
ThemeAtelier
Typically replies within 1 minute