Integrate shopify store with wordpress. A better way?

Topic summary

Issue: A WordPress site embeds Shopify Buy Buttons to sell products from a separate Shopify store, but carts don’t persist across the two. If a user adds items via WordPress and then navigates to the Shopify store (or vice versa), the cart appears empty due to separate cart contexts.

Requests: 1) A way to merge/synchronize carts between WordPress and the Shopify store. 2) Alternatively, a dynamic collection embed on WordPress that adds items directly to the Shopify store cart and nudges users to continue shopping there.

Update: The poster is investigating a headless approach (Shopify Headless + custom WordPress plugin) but notes a steep learning curve. “Headless” here means decoupling the front end (WordPress) from Shopify’s back end for unified cart and checkout flows.

Additional input: Another participant with a similar hybrid setup reports conversion tracking difficulties on some ad platforms and asks whether headless resolved the issue.

Status: No confirmed solution or implementation details shared. The discussion remains open with key questions on cart unification and tracking still unanswered.

Summarized with AI on January 10. AI used: gpt-5.

I’m curious as to if you’ve found a solution with Shopify headless. I am in the exact same boat with my site as it’s a hybrid WP Shopify. Shopify hosts payments, product catalog/pages, etc with buy button and I’m having trouble with conversion tracking on certain ad platforms. I am considering headless for a more custom build but am wondering if you’ve been able to solve this. Thanks