Skip to main content
Follow the video tutorial below to see a step-by-step guide on how to setup Molin for your Shopify store. Here’s our official Shopify plugin.
Native AI actions are still under development for Shopify, please use our Custom AI actions API to enable Molin to execute tasks in the meantime.

Add to cart

When Molin recommends products in the chat, product cards on a Shopify store show an add-to-cart button. Clicking it instantly adds 1 unit of the recommended product variant to the visitor’s cart, without leaving the conversation. This is enabled automatically on all Shopify stores connected through our Shopify plugin, no configuration needed.
  • The button shows a spinner while adding, then a checkmark on success or an error indicator if the item cannot be added (e.g. sold out).
  • Each add to cart is tracked in your Molin analytics and pushed to Google Analytics as a standard GA4 add_to_cart ecommerce event.
  • If your theme has a cart drawer or cart count badge, you can refresh it by listening to the molin:add-to-cart JavaScript event.

Do you have issues adding the Molin AI script to your Shopify store?

No problem, in this old tutorial we will show you how you can add the script manually into your store.
  1. Navigate to the publish page by following this link: https://molin.ai/app/publish
  2. Copy your script from the publish page
  3. In your Shopify Dashboard, click on Online Store —> Themes —> Customize
  4. Click on the ... in the top left corner —> Edit code —> theme.liquid
  5. In the theme.liquid file, paste your Molin script inside the <head></head> tag.
Here’s an old video on how to do this:
If you need any help with our Shopify integration, then please contact us .