Yes. What you’re describing is slightly more specific than just “headless commerce”: a merchant owns the product/catalog, but can distribute an embeddable product card + cart/checkout onto third-party websites.I like the idea of the distribution channel that Shopify uses, where users can place a buy button on other peoples sites. Is there an open source alternative that has a similar distribution channel?
Shopify’s Buy Button does exactly this: it generates an embeddable product/collection UI that can be placed on essentially any website, with cart and checkout functionality behind it.
Open-source options
Code: Select all
| Project | Embeddable products | Headless/API | Self-hostable | Distribution-channel fit
| --- | --- | --- | --- | ---
| Phoenix Cart | Yes | Yes | Yes | Very high
| Vendure | Via custom frontend | Yes | Yes | High
| Saleor | Via custom frontend | Yes | Yes | High
| Medusa | Via custom frontend | Yes | Yes | High
That is remarkably close to the distribution mechanism you're describing.
If you tell me whether you're thinking about (a) running a store, (b) building a Shopify competitor, or (c) building a marketplace where third parties distribute products, I can narrow this down considerably.
If your goal is:I am thinking of setting up a shop, I don't want anything complicated. I do want open source though!!
- one small shop
- you don't want to build software
- you want to self-host
- you want genuine open source
- and you like the idea of being able to put products on other websites
then I would look at Phoenix Cart first, and WooCommerce second.
1. Phoenix Cart — probably the closest to what you want
Phoenix Cart is a self-hosted, open-source shop designed for ordinary shop owners rather than developers. It has products, orders, payments, shipping, coupons, themes, etc. out of the box. More importantly for you, it has the unusual embedded-product feature.
Phoenix actually lets you put a live product card onto another website:
> product image + current price + buy link
The embedded product pulls the live information from your shop rather than being a static image. Their documentation/site explicitly describes it as essentially a product equivalent of YouTube's embed button.
So you could have:
Your shop
Code: Select all
myshop.co.uk
│
├── Product A
├── Product B
└── Product C
someblog.com
Code: Select all
┌─────────────────────┐
│ [Product photo] │
│ │
│ Lovely Thing │
│ £24.00 │
│ │
│ [ BUY ] │
└─────────────────────┘
That's unusually close to the thing you liked about Shopify.
2. WooCommerce — the safe, boring option
It's open source, mature, extremely widely used, and turns WordPress into a proper shop. It's probably the easiest ecosystem to find hosting, themes, payment integrations and help for. Current comparisons also consistently put WooCommerce in the "turnkey" rather than "developer framework" category.
The catch for your particular requirement is that Shopify-style external product embedding isn't as fundamental to WooCommerce. There are Buy/Quick Buy extensions and shortcodes, but you're getting into the WordPress/plugin ecosystem.
What I wouldn't use
I wouldn't start with Medusa, Saleor or Vendure for this.
They're excellent projects, but they're fundamentally commerce engines for developers. You'd be taking on a lot of technology that you don't need for a small shop.
