Skip to content

dechov/headless-woocommerce

 
 

Repository files navigation

Headless WooCommerce

This repo contains a demo for a detached WooCommerce store, using Store API, which is under-development and is included for free with WooCommerce and WooCommerce Blocks plugins.

WooCommerce Payments is required to be configured.

Limitations

  • The demo doesn't support adding variable products, you can still add them in Store API.
  • The demo requires disabling CORS (as is done in this snippet).
  • The demo requires samesite cookies to be disabled. You need to host it on the same domain as your WooCommerce instance or disable samesite by updating wc_setcookie in WooCommerce.

Deploy your own

  • Deploy to vercel.com or netlify or any other JAM host.
  • Define your enviroment variables like the WooCommerce url and Stripe public key.

About

Headless WooCommerce Demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.7%
  • Other 0.3%