Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You can add a Shopify product and checkout button to a WordPress page that also uses WooCommerce by embedding Shopify’s Buy Button code. The shopper then completes checkout through Shopify, and Shopify manages the order. This does not turn WooCommerce’s checkout into Shopify checkout or create a shared cart. If you need orders to stay in WooCommerce, use WooCommerce’s checkout features instead.

What “Shopify checkout in WooCommerce” means

Shopify’s documented route is to create a Buy Button in Shopify and embed it on an external website, such as a WordPress page. The button can show a product or collection and take the shopper to Shopify checkout. Shopify describes the Buy Button as an embeddable product card and checkout button on its Buy Button page.

That is an embedded Shopify buying flow on a WordPress page—not a replacement for WooCommerce’s checkout page. Shopify says orders are managed and processed in the Shopify store regardless of where the Buy Button appears. The cited documentation does not establish a shared cart or automatic synchronization of Shopify orders with WooCommerce.

How to add a Shopify Buy Button to a WordPress page

  1. Add the Buy Button sales channel in Shopify. Use Shopify’s instructions for adding a Buy Button to an external website: Shopify Help: Buy Button.
  2. Create a product or collection button. Choose what to display and configure the presentation and checkout behavior in Shopify’s button setup.
  3. Copy the generated embed code. Shopify provides code for the button you configured.
  4. Insert the code into the WordPress page. Use an HTML or code area supported by your editor or theme. There is no single WordPress menu path that applies to every editor and theme; Shopify notes that placement steps depend on the site builder and theme in its embed-code instructions.
  5. Save and preview the page. Check that the product presentation displays correctly and that the button takes you into the expected Shopify checkout flow.

The page hosting the button can be part of a WooCommerce site, but the Buy Button does not use WooCommerce’s existing cart or checkout. Treat the Shopify product and order workflow as Shopify-managed.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose the checkout that matches your order workflow

Approach Checkout and order handling What you implement
Shopify Buy Button on a WordPress page Shopify checkout; orders are managed in Shopify. Generate and embed Shopify’s button code.
WooCommerce checkout API WooCommerce documents order creation from the active cart and payment handling for payment methods. Use WooCommerce’s Checkout API in a suitable integration.
WooCommerce sharable checkout URL WooCommerce checkout for ready-to-buy bundles or coupon-code flows. Use WooCommerce’s documented sharable checkout URLs.
Custom Shopify storefront A custom buy-now button can redirect a shopper to Shopify-hosted checkout for a selected product. Build with Shopify’s developer-oriented Storefront Web Components; the documentation does not provide a complete WordPress-specific deployment walkthrough.

Use the Shopify embed when Shopify checkout is the requirement. If you want the current WooCommerce cart, payment flow, and order records to remain central, investigate WooCommerce’s own checkout options. The documented routes do not show the two platforms sharing a cart or synchronizing orders.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Fix a Buy Button that does not display or work

Shopify’s Buy Button FAQ identifies several causes to check:

  • Code placement: Confirm the page editor or theme accepts the embed code and that the complete generated code was added.
  • CSS conflicts: Site styles may hide or distort the embedded button. Inspect the page’s styles and test the embed on a simple page to isolate theme conflicts.
  • JavaScript errors or missing dependencies: Check the browser’s developer tools for errors that could prevent the button from running.
  • Product ID mismatch: Verify that the embed’s product ID still points to the current product.

Shopify also warns that Buy Buttons are not compatible with apps from the Shopify App Store and are not recommended on a Shopify online store or Shopify blog because they can cause cart problems. That warning concerns Shopify’s own site and Shopify App Store apps; it does not mean all WooCommerce plugins are incompatible.