How can I sync my Add to Cart feature between Shopify and WordPress?

Topic summary

A new Shopify user seeks to synchronize shopping cart data between their Shopify store and WordPress website (mydragoncity.com). They want cart items to remain consistent across both platforms—when items are added or removed on either site, the changes should reflect on the other.

Current Issues:

  • The Shopify Buy Button creates a separate cart on WordPress rather than syncing with the main Shopify cart
  • Attempted using Storefront API but couldn’t find cart-related documentation

Additional Goal:

  • Provide seamless client login experience between WordPress and Shopify
  • Use Storefront API to authenticate Shopify users on the WordPress site
  • Validate clients with access tokens received via Storefront API without requiring users to log in again on Shopify when clicking links from WordPress

The post contains some garbled/reversed text, making portions difficult to interpret. The discussion remains open with no responses or solutions provided yet.

Summarized with AI on November 18. AI used: claude-sonnet-4-5-20250929.

Hi,

I’m a new Shopify user.

Please assist me.

  1. Offer the shopping cart created in my Shopify store session on my own WordPress website. I need to continuously view similar Cart items on both my WordPress website, mydragoncity and the enduring Shopify store. In the unlikely event that I add or remove any items from the Cart on the Shopify store, this change must update the WordPress Cart and vice versa.
  • While promoting pellet grills Already tried using the buy button, but the WordPress site creates a different cart than the Shopify one. On the Admin and Storefront API, I also couldn’t find anything about Carts.
  1. Provide a seamless client login experience between Shopify and my WP. So I imagine that I’m using Storefront API to authenticate my Shopify users on my WordPress website. A few links on my WordPress site will take visitors to the Shopify site, where they will then need to check in again using the same credentials. Is it possible to communicate the client access_token I received via the Storefront API on my WordPress site to Shopify so I can physically validate the client with the Token and the client wouldn’t have to log in again?