Stack Guide
What to build an ecommerce store with in 2026
Ecommerce is the one category where the right answer is usually "do not build it". Tax, fraud, chargebacks, address validation, inventory, refunds, and PCI scope are all solved problems that someone else maintains for a percentage. This guide says when to pay that percentage and when it stops being worth it.
About 6 min read. Recommendations verified August 2026.
The recommended ecommerce stack
For a store selling physical goods with a catalog under a few thousand SKUs, which describes almost everyone reading this.
| Layer | Pick | Why |
|---|---|---|
| Platform | Shopify Basic | $29 a month on annual billing buys checkout, inventory, tax, fraud screening, shipping labels, and a staff-usable admin. |
| Payments | Shopify Payments | Using an outside gateway on Basic adds a 2.0% platform fee on top of the processor's own rate. This one line dominates the cost model. |
| Storefront | A customized Shopify theme | Sections and blocks let merchandisers rearrange pages without a deploy. That capability is worth more than a custom frontend for most stores. |
| Content pages | Astro on the same domain | Guides, comparisons, and landing pages rank better and load faster from a static site than from a theme template. |
| Search | Native, then Algolia | Built-in search is fine under a few hundred SKUs. Add a dedicated engine when faceted filtering starts driving revenue. |
| Analytics | GA4 plus PostHog | GA4 for acquisition and ad platforms, PostHog for funnel and session replay on the checkout path where money actually leaks. |
| A dedicated ESP | Abandoned cart and post-purchase flows are the highest return per hour in ecommerce. Set them up before touching the theme. | |
| Images | Platform CDN | Product photography is the page weight. Serve responsive sizes with explicit dimensions so the layout never shifts under a thumb. |
The verdict
Shopify Basic with Shopify Payments and a customized theme, plus a static Astro site for content. Build a custom storefront only when a specific requirement Shopify cannot meet is costing you more than the rebuild will.
Run the fee math before you pick anything
Ecommerce stack decisions are financial decisions wearing a technical costume. Shopify charges an additional platform fee when you process cards through an outside gateway: 2.0% on Basic, 1.0% on Grow, 0.5% on Advanced, and 0% on Plus. Stripe's US online card rate has been 2.9% + $0.30 for a decade and is unchanged in 2026, so a Basic store routing payments through Stripe pays an effective 4.9% + $0.30 - a full 200 basis points worse than using Shopify Payments.
Put numbers on it. At $50,000 a month in card volume, that 2.0% surcharge is $1,000 a month, or $12,000 a year, to keep a gateway you probably chose out of habit. That single number pays for a plan upgrade many times over, and it is larger than the entire hosting and tooling budget of most stores. Work out your own figure before you argue about frameworks.
The same arithmetic decides build versus buy. Medusa charges a 0% platform fee on gross merchandise value: you pay your processor and your infrastructure, nothing else. That looks unbeatable until you price the engineer maintaining it. Below roughly $1M a year in revenue, a hosted platform is almost always cheaper once you count salary. Above it, and especially with complex B2B pricing, custom fulfillment, or a catalog that does not fit a product-and-variant model, the open-source route starts to pay for itself.
One more rule that saves people a lot of pain: do not build a custom checkout. It is the highest-risk, highest-regulation, most conversion-sensitive page on the internet, and platform checkouts have been optimized against millions of sessions. Customize the storefront all you like. Leave the payment step to someone whose full-time job is defending it.
Credible alternatives and when they win
Stripe Checkout on a static site
Wins for digital goods and catalogs under about 20 SKUs. Astro for the pages, a hosted Stripe payment link or Checkout session for the money, no platform fee and no monthly subscription. This is the cheapest legitimate way to sell something online.
Medusa plus Next.js
Wins at high volume or unusual commerce logic: B2B price lists, quotes, multi-warehouse fulfillment, bundles the platform model cannot express. Zero GMV fee and full control of the data, paid for with permanent engineering ownership.
A merchant of record
Wins for software, courses, and downloads sold worldwide. Paddle or Lemon Squeezy take a higher percentage and in exchange become the seller of record, handling EU VAT and global sales tax registration - a job that otherwise eats an accountant.
WooCommerce
Wins when the business already runs on WordPress and someone on staff maintains it. No platform fee and an enormous plugin ecosystem, offset by hosting, security patching, and plugin conflicts becoming your problem permanently.
Decision factors that change the answer
- Monthly card volume. Under $20,000 a month, fees are noise and convenience wins. Over $200,000, a single point of percentage funds a developer, and custom starts to make sense.
- Physical or digital. Physical goods need inventory, shipping rates, and returns - buy those. Digital goods need tax handling and delivery, which a merchant of record does better than you will.
- Who runs the store daily. If a non-developer adds products and edits pages, the admin experience matters more than the frontend framework. This is the most commonly underweighted factor.
- Catalog shape. Products with variants fit every platform. Configurable products, per-customer pricing, and rental or subscription hybrids are where hosted platforms start fighting you.
- Content strategy. If organic search drives acquisition, put the content on a static site you fully control rather than inside theme templates you do not.
Ecommerce stack questions, answered
Should I use Shopify or build my own store?
Use Shopify until a specific requirement it cannot meet is costing you more than a rebuild would. Basic is $29 a month on annual billing and includes checkout, tax, fraud screening, inventory, and an admin your staff can actually use. Building those yourself is months of work that generates no revenue and never stops needing maintenance.
Can I use Stripe with Shopify?
You can, and on the Basic plan it costs you an extra 2.0% because Shopify charges a platform fee on outside gateways. Stripe's own rate is 2.9% + $0.30, so the effective cost becomes 4.9% + $0.30 versus 2.9% + $0.30 on Shopify Payments. At $50,000 a month in volume that difference is $1,000 a month.
What is the cheapest way to sell a few digital products?
A static site with Stripe Checkout, or a merchant of record like Paddle or Lemon Squeezy. The static route has no monthly fee at all and you pay only per transaction. The merchant of record charges more but becomes the legal seller, which means it handles EU VAT and global sales tax registration instead of you.
When is headless commerce actually worth it?
When the storefront experience is a genuine competitive advantage, or when commerce logic has to live in several places at once, such as a mobile app and a kiosk sharing one catalog. Going headless costs you the theme editor your merchandisers rely on, so it needs to buy back more than it takes away.
Where to go next
If you are building the content side, the static site guide covers it and Next.js vs Astro settles the framework question. For a custom storefront, start with frontend tools and Vercel vs Cloudflare. If the store is really a subscription product, read the SaaS stack guide instead.