Headless Cart Integration

lenafuchs
Shopify Partner
11 0 0

Hi!

We want to integrate Shopify in our website but only the cart & checkout, the product pages are hosted on our own website. 

Is there any good way to integrate the cart via API? We did try various methods but none of them did really work since we are using a completely different domain from the shopify domain.

  • JS Buy SDK only delivers the checkout url - not the cart id/url
  • Buy Button does not work with 2 different domains (at least we could not find out how to make it work)
  • CartlinesAdd function causes CORS Erros (CORS Headers can't be edited in shopify?

We would be very thankful for any helpful solution! 

Replies 0 (0)