For layouts that do not include a form (such as Single Agent, Multi-Agent List/Grid, Simple Button, or Advanced Button), you can still use Dynamic Variables in the Pre-filled Message field. These variables automatically insert useful details into the WhatsApp chat message when the user clicks the button or agent.
✅ Available Variables #
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.
WooCommerce Variables (only apply when used with WooCommerce Button or on product pages; wrap with {PRODUCT_START}
… {PRODUCT_END}
for conditions)
{productName}
{productSlug}
{productSku}
{productPrice}
{productRegularPrice}
{productSalePrice}
{productStockStatus}
Conditional Blocks
{PRODUCT_START}...{PRODUCT_END}
→ Show content only if WooCommerce product data exists.{NOT_PRODUCT_START}...{NOT_PRODUCT_END}
→ Show content when no WooCommerce product data is available.{LOGGEDIN_START}...{LOGGEDIN_END}
→ Show content only for logged-in users.{NOT_LOGGEDIN_START}...{NOT_LOGGEDIN_END}
→ Show content for visitors who are not logged in.
📌 Example Pre-filled Template #
Hello, I’m interested in {productName}.
Page: {currentTitle} ({currentURL})
Date: {date}
Result in WhatsApp (on a WooCommerce product page):
Hello, I’m interested in Black Leather Jacket.
Page: Premium Jackets (https://example.com/product/black-leather-jacket)
Date: 29 Aug 2025
👉 These variables make non-form layouts much more powerful, allowing you to pass contextual information like product details, page URLs, and user status directly into the WhatsApp chat.