I have a headless store, will checkout upsells work?
Headless Shopify Plus stores have a store and checkout that are separate. This means that when a customer goes from cart to checkout, the store URL usually changes.
This can be tough for checkout upsells to work. If you’re using checkout.liquid, the checkout upsell is added to cart using Shopify’s Cart API. The app renders the offer with Javascript in checkout. When ‘Add to cart’ is clicked, the app communicates with the Cart API to add the upsell product to the cart. This product will then display in the order summary.
With a headless setup, the cart and the checkout are separated and run a different URL. This prevents the app from adding a product to the cart when ‘add to cart’ is clicked.
Want help setting this up? Reach out in the chat here or in the app!
Updated on: 12/12/2022
Thank you!