Skip to main content

Cart integration & checkout

Two tools cover everything the AI can do to a customer's cart, and it's given live cart context so it isn't acting blind. If you're picturing a broader cart-automation platform, scale that back, this is deliberately narrow.

Adding to cart​

When a customer asks to buy something, the AI calls add_to_cart with the exact product and variant ID it found through catalog search. It won't guess at an ID, and the tool itself refuses to run against anything that looks like a placeholder. It takes a quantity from 1 to 10 and hands back instructions the storefront widget uses to add the item to the real Shopify cart.

Opening checkout​

"Checkout," "pay now," and similar phrases trigger open_checkout, which tells the widget to open /checkout. That's the whole mechanism.

Reading the cart before acting​

Every message the AI sees comes with the current cart state attached: empty or not, item count, line items, total and currency, any discount already applied, any cart note. That's how it can say "you've already got the blue medium in there" instead of asking the customer to repeat themselves.

What it won't do on its own​

No exit-intent detection, no proactive "you're about to abandon your cart" message, no dynamic pricing, no stock holds or reservations, no cart sync across channels, no AR try-on. The AI responds to what's said in the conversation, it doesn't watch the cart and interrupt on its own.

Separately, PathGuide passively logs page views, add-to-cart events, cart views, and checkout starts as customers move through the store. That is what builds the journey and funnel views in Path Explorer, inside PathGuide. It is pure analytics; nothing there feeds back into how the chat behaves. See ShopGuide and PathGuide: two apps, one store.

To follow up with shoppers who chatted, reached the cart and left, open PathGuide → Path Explorer → Customer Segments → Cart abandoners and use Add to win-back list. That adds them to your Klaviyo list after a confirmation and sends nothing; you start the email in Klaviyo. Automatic cart recovery emails are off by default; ask ShopGuide to switch them on for your store. See Klaviyo Customer Intelligence.

The chat sees the price of every size or variant of a product, so the price it quotes matches the size you are asking about.

Next steps​