Shopify and WooCommerce

Install EasyChatDesk on a Shopify or WooCommerce store, keep it off checkout, and set up the triggers that matter for ecommerce.

Updated August 7, 2026

Both platforms take the same snippet. The store-specific work is deciding where the widget appears and what it says.

Shopify

Add the snippet to your theme layout so it applies site-wide:

  1. Online Store → Themes → Edit code
  2. Open layout/theme.liquid
  3. Paste the snippet immediately before </body>
  4. Save
<script>
  window.__ecd = { license: "YOUR-LICENSE-KEY" };
</script>
<script async src="https://cdn.easychatdesk.com/widget.min.js"></script>

Because it lives in the layout file it applies to every template. If you duplicate your theme to test a redesign, remember the snippet does not follow — re-add it to the new copy before publishing.

Shopify checkout is a separate, locked-down surface on most plans, so the widget will not appear there unless you are on Shopify Plus with checkout customisation. That is usually the behaviour you want anyway.

WooCommerce

WooCommerce runs on WordPress, so follow the WordPress instructions. The one addition worth making is excluding the checkout and account pages:

add_action( 'wp_footer', function () {
    if ( is_admin() || is_checkout() || is_account_page() ) {
        return;
    }
    ?>
    <script>
      window.__ecd = { license: 'YOUR-LICENSE-KEY' };
    </script>
    <script async src="https://cdn.easychatdesk.com/widget.min.js"></script>
    <?php
} );

Whether to exclude checkout is a genuine judgement call. Arguments both ways: a widget on checkout can rescue a stalled order, and it can also distract someone who was about to pay. Test it rather than assuming.

Triggers worth setting up for a store

PageWhy
Product page, after 45 secondsSizing, stock and delivery questions are what stop the add-to-cart
CartThe last moment before the decision
Shipping / returns policy pagesSomeone reading these is deciding whether to risk it

See proactive triggers for how to configure these without irritating people.

Training the bot on store content

For an ecommerce store the highest-value training sources are your shipping policy, returns policy, size guides and FAQ — not your product listings. Product pages train poorly because they are mostly marketing copy and navigation. See train the AI chatbot.

Further reading: Shopify chatbot, WooCommerce chatbot, and reducing WISMO tickets.

Next: Slack.

Still stuck? Message us from the widget in the corner of this page, or get in touch. A person answers.