Claude Code vs Shopify: Should You Build Your Own Online Shop?

Can you replace Shopify with a shop built in Claude Code? Real UK costs, the step-by-step build with example prompts, the security and legal duties, and when Shopify is still the better choice.

Claude Code vs Shopify: Should You Build Your Own Online Shop?

Key takeaways

  • Claude Code vs Shopify is own versus rent: you can build a working online shop with Claude Code, Stripe Checkout, Supabase and Cloudflare Workers, and the running costs can be lower than Shopify's once sales grow.
  • On £10,000 a month of UK card sales, our worked example puts the custom stack's payment fees about £89 a month below Shopify Basic, before roughly $50 a month of hosting and AI subscriptions. The saving grows with turnover.
  • The real cost of building your own is responsibility: security, payment compliance, UK consumer law pages, updates and fixing it when something breaks.
  • Never let your own code touch card details. Stripe Checkout keeps them on Stripe's servers, which keeps your PCI DSS paperwork to the simplest level.
  • Shopify is still the better choice for a large catalogue, selling across many channels, or a business with nobody to own the code.
  • Parallel subagents in Claude Code let one person research, plan and build several parts of a shop at once, but a human still has to review checkout, data rules and legal pages before launch.

Shopify charges you every month and takes a slice of every sale. A year ago, the alternative meant paying a developer to build a shop from scratch. In 2026, an AI coding agent can write most of that shop for you in days.

That is why the question keeps coming up. Online sales made up 29.2% of all retail sales in Great Britain in October 2026, according to the ONS, so the platform you sell on is a cost you live with for years.

Claude Code vs Shopify comes down to rent versus own. Shopify rents you a finished, maintained shop. Claude Code helps you build and own one, usually on Stripe for payments, Supabase for the database and Cloudflare Workers or Railway for hosting. Building your own can cut fees and remove limits, but you take on everything Shopify quietly does for you.

In pounds, the fee gap is smaller than most owners expect, and the security and legal duties are bigger. Both are set out below, with the build stage by stage and the prompts we use.

What is the difference between Claude Code and Shopify?

They are different kinds of product, which is why the comparison confuses people.

Shopify is a hosted eCommerce platform. You pay a monthly plan, pick a theme, add products and apps, and Shopify runs the servers, checkout, security and updates.

Claude Code is Anthropic's AI coding agent. It reads and writes code in your project, runs commands and can deploy what it builds. It is included in paid Claude plans: Claude's pricing page lists Pro at $20 a month billed monthly, or $17 a month billed annually, and Max from $100 a month.

So the real comparison is between two ways of running a shop:

  • A Shopify store: a subscription platform you configure.
  • A custom store built with Claude Code: your own code, using services such as Stripe for payments, Supabase for products, stock and orders, and Cloudflare Workers or Railway to host it.

New to building software by describing it to an AI? Our guide to what vibe coding is and where it breaks is a good primer.

Claude Code vs Shopify at a glance

What mattersShopifyCustom shop built with Claude Code
Monthly platform cost£19 to £259 a month on yearly billing, Plus from £1,800About $0 to $50 a month for hosting, database and a Claude plan
UK card feesFrom 2% + 25p (Basic) to 1.5% + 25p (Advanced)Stripe: 1.5% + 20p for standard UK cards
Time to launchHours to days with a themeDays to weeks, plus testing
Design and featuresThemes and apps, within Shopify's rulesAnything you can describe and test
Security and updatesHandled by ShopifyYour responsibility
Consumer law pagesYou write them; Shopify gives templatesYou write and build them
Who you depend onShopify's pricing and policiesWhoever maintains your code

Prices as of November 2026, from Shopify's UK pricing page and each provider's own pricing page. Supabase, Cloudflare, Railway and Claude bill in US dollars.

How much does each option cost per month?

For most shops, the platform fee matters less than the card fees, because card fees grow with every sale.

Shopify's UK prices

On Shopify's UK pricing page, Basic is £19 a month, Grow £49 and Advanced £259 on yearly billing (£25, £65 and £344 billed monthly). Plus starts at £1,800 a month. Online card fees with Shopify Payments are 2% + 25p on Basic, 1.7% + 25p on Grow and 1.5% + 25p on Advanced for standard cards.

Use another payment provider instead of Shopify Payments and Shopify adds its own third-party transaction fee: 2% on Basic, 1% on Grow and 0.6% on Advanced.

A custom stack's prices

ServiceWhat it doesPrice as listed
StripePayments and hosted checkout1.5% + 20p per standard UK card; 2.5% + 20p EEA cards; 3.15% + 20p international
SupabaseDatabase, logins, file storageFree plan $0; Pro from $25 a month
Cloudflare WorkersHosting the shopFree for 100,000 requests a day; paid from $5 a month
RailwayHosting longer-running back-end jobsHobby $5 a month; Pro $20 a month
Claude planClaude Code, to build and change the shopPro $20 a month billed monthly; Max from $100

Two details matter for a real shop. Supabase's pricing page says free projects are paused after one week of inactivity, so a live shop belongs on a paid plan. And Cloudflare's Workers pricing includes 10 million requests a month in the $5 plan, which covers most small shops comfortably. Stripe Checkout itself is included in Stripe's standard pricing.

A worked example: £10,000 and £50,000 a month

Take a hypothetical clothing brand selling to UK customers with standard cards, at an average order of £25. This compares only plan and card fees.

Monthly salesShopify BasicShopify GrowCustom stack (Stripe)
£10,000 (400 orders)£319£319£230 + about $50
£50,000 (2,000 orders)£1,519£1,399£1,150 + about $50

How the figures are worked out: Shopify Basic at £10,000 is £19 + 2% (£200) + 400 × 25p (£100). The custom stack is 1.5% (£150) + 400 × 20p (£80), plus Supabase Pro, Workers Paid and Claude Pro at about $50 a month. This is an illustration, not a quote, and it leaves out VAT, apps, themes, international cards and your time.

The fee saving is real but modest at small volumes. At £10,000 a month it is about £89 before the US-dollar subscriptions. At £50,000 a month it is about £250 against Grow. What usually decides the choice is not the fee but what you need the shop to do, and who will look after it.

How do you build an online shop with Claude Code?

You build it in five stages: set up the accounts, give Claude Code your rules, let it research and plan, build in parallel, then test and deploy. Here is how we approach each one.

1. Set up the tools and accounts

  • A paid Claude plan with Claude Code installed on your computer.
  • A GitHub account, so every change is saved and can be undone.
  • A Stripe account in test mode, a Supabase project and a Cloudflare account with its Wrangler command-line tool.
  • Your product list, photos, prices, delivery rates and returns policy.

For the hosting side in detail, our Cloudflare Workers and Supabase setup guide walks through configuration, secrets and domains.

2. Write the rules before the first prompt

At the start of every session, Claude Code reads a file called CLAUDE.md: a plain-text set of instructions for your project. Put your non-negotiables there so every agent follows them:

  • Never collect or store card details. Use Stripe Checkout for every payment.
  • Verify the signature on every Stripe webhook before changing an order.
  • Turn on row level security for every Supabase table.
  • Keep secret keys in environment variables, never in code that runs in the browser.
  • Write a test for checkout, the webhook and stock updates before calling a task done.

Our Claude Code for business guide explains CLAUDE.md, skills, hooks and permissions in more depth.

3. Research and plan with one master prompt

The biggest mistake is asking for "an online shop" and accepting the first thing that appears. Ask Claude Code to research first, plan second, and stop for your approval before it builds. This is the kind of prompt we start from:

You are building an online shop for [Brand], a UK business selling [products].

1. Research: study the UK market for [products] and these competitor
   shops: [links]. Note what their product pages, size or product guides,
   delivery and returns pages and checkouts do well. Save it to
   docs/research.md.

2. Plan: from the research, write docs/architecture.md covering pages,
   the data model (products, variants, stock, orders, customers), the
   Stripe Checkout flow and webhook, order emails and a simple admin.
   Stop and wait for my approval.

3. Build: once I approve, use subagents in parallel for (a) storefront
   and product pages, (b) basket, Stripe Checkout and a signed webhook,
   (c) the Supabase schema with row level security on every table,
   (d) the admin for products, stock and orders, (e) legal pages and
   cookie consent. Follow CLAUDE.md throughout.

4. Deploy to Cloudflare Workers with Wrangler in Stripe test mode, then
   give me a checklist of everything I must check before going live.

Swap in your brand, products and three to five competitors. The research file keeps later decisions grounded, and the pause after planning is where you catch a wrong assumption before it becomes code.

4. Build in parallel with subagents

This is what makes days rather than weeks possible. Claude Code's subagents documentation says each subagent "runs in its own context window with a custom system prompt, specific tool access, and independent permissions". Background subagents run at the same time, so the storefront, checkout and admin can be built side by side.

Each subagent can also run on its own model. A common pattern is to plan and review on your most capable model (Fable or Opus at the time of writing) and give well-defined build tasks to Sonnet. A read-only reviewer is worth defining from day one:

---
name: checkout-reviewer
description: Reviews every change to checkout, webhooks and database rules
model: opus
tools: Read, Grep, Glob
---
Check that card details never reach our code, that every webhook
verifies Stripe's signature and that every Supabase table has row
level security. Report problems. Do not edit files.

With a clear brief, our team typically gets a working store, with products, basket, Stripe checkout and order emails, built in two to three days this way. Content, testing, legal pages and launch checks take longer, and they are not the part to rush.

Four-step process for building a shop with Claude Code: 1 write the rules in CLAUDE.md, 2 research and plan then stop for approval, 3 build storefront, checkout, database and admin in parallel with subagents, 4 test in Stripe test mode before going live.

The approval stop after planning is where a wrong assumption is cheapest to fix.

5. Test, deploy and go live

  • Place test orders with Stripe in test mode, including failed and refunded payments.
  • Check that stock, order emails and the admin update correctly when a webhook arrives late or twice.
  • Test on a phone, because that is where most shoppers will be.
  • Connect your domain, switch Stripe to live keys and place one real order yourself.

Our Claude Code to production checklist covers diffs, tests, leaked secrets and monitoring before launch.

Stuck on a step, or want it built for you? Talk to Circlemount about a custom shop or a review of the one you have built.

Follow-up prompts for what the first pass misses

The first build rarely covers everything a shop needs. These short prompts fill the usual gaps:

  • Variants and stock: "Add sizes and colours as variants with their own stock, and stop a variant selling when it reaches zero."
  • Delivery: "Add UK delivery rates by weight with a free-delivery threshold, and show the total delivery cost before checkout."
  • Order confirmation: "Send an order confirmation email as soon as payment succeeds, with the items, total, delivery address and our returns policy."
  • Returns: "Add a returns page and an admin button to refund an order through Stripe, recording who refunded it and when."
  • Search and SEO: "Give every product page a unique title, description and product structured data, and add a sitemap."
  • Admin safety: "Make the admin require a login and check every admin action on the server, not only in the browser."

What does Shopify do that you have to build yourself?

Every Shopify feature you rely on becomes code someone has to write, test and maintain. Before you leave, list the ones you use:

  • Hosting that copes with a busy launch day, monitored by someone else around the clock.
  • A checkout with saved customer details, discount codes and abandoned-basket emails.
  • Fraud checks on suspicious orders.
  • Selling in more than one place: in person, on marketplaces and on social channels, with one stock count.
  • Apps for reviews, subscriptions, loyalty and shipping labels.
  • Staff accounts with different permissions.
  • Security patches and platform updates you never have to think about.

Stripe covers some of this, such as hosted checkout and optional tax calculation, but the rest is yours. A custom shop is a good idea when the things you need are simple, or when Shopify cannot do them at all.

Is a vibe-coded online shop secure?

It can be, but not by default. AI writes code that works long before it writes code that is safe.

Veracode tested more than 100 AI models on 80 coding tasks and found that AI-generated code introduced security vulnerabilities in 45% of cases, and missed 86% of cross-site scripting threats. These were test tasks rather than live shops, but they show why every payment and data change needs review.

Two figures from Veracode's 2025 study of more than 100 AI models on 80 coding tasks: AI-generated code introduced security vulnerabilities in 45% of test cases, and missed 86% of cross-site scripting threats.

In Veracode's tests of more than 100 AI models, code that worked still introduced a security flaw in 45% of cases, which is why checkout and data changes need a human review.

Veracode · 2025

Keep card data off your servers

PCI DSS is the card industry's security standard, and every business that takes card payments must follow it. Stripe's PCI compliance guide explains that Checkout and Elements collect card details in a field served from Stripe's own domain, so they never touch your servers, and that this usually qualifies you for SAQ A, the shortest self-assessment. You still confirm your compliance every year.

That is why the CLAUDE.md rule above matters. An agent asked to "improve the checkout" can build its own card form unless you forbid it.

The checks that matter most

  • Webhook signatures: Stripe's security guide says you must verify them, otherwise anyone can fake a paid order.
  • Row level security: without it, one customer may be able to read another's orders and address.
  • Secrets: secret keys belong on the server only.
  • Admin checks on the server: hiding a button is not security.
  • Updates: the packages your shop uses need updating, and someone has to do it.

Our vibe coding security checklist for Supabase apps covers each of these in detail. If payments go through but orders never update, see our guide to fixing Stripe webhooks in Supabase.

What UK rules does your own shop have to follow?

The same rules apply to a custom shop as to a Shopify store. The difference is that on a custom build, nothing is there until you build it.

gov.uk's guide to online and distance selling for businesses sets out the main duties under the Consumer Contracts Regulations:

  • Tell customers they can cancel up to 14 days after their order is delivered. If you don't tell them, they can cancel at any time in the next 12 months.
  • Show your business name, contact details and address, and the price including all taxes.
  • Give your VAT number if you are VAT-registered, and the total delivery cost or how it is worked out.
  • Confirm the contract as soon as possible, for example by email.
  • Deliver within 30 days unless you agree otherwise with the customer.
Screenshot of gov.uk's online and distance selling guidance with three markers: customers can cancel up to 14 days after delivery; if not told, they can cancel for 12 months; goods must be delivered within 30 days unless agreed otherwise.

gov.uk's online selling guidance sets the cancellation and delivery rules a custom shop has to build in, just as a Shopify store does.

GOV.UK · 2012

On refunds, gov.uk's page on accepting returns and giving refunds says you must refund within 14 days of receiving the item back, including the cost of standard delivery.

Cookies need consent too. The ICO's cookie guidance says you cannot set non-essential cookies before the visitor has agreed. The ICO finalised updated guidance on storage and access technologies in April 2026, which allows some analytics without consent under conditions, so check your tracking against the current ICO guidance rather than an old banner. This is general guidance, not legal advice.

When is Shopify still the better choice?

Stay on Shopify, or start there, if most of these are true:

  • You have hundreds or thousands of products, or sell through shops, markets and marketplaces as well as online.
  • Nobody in your business will own the code, and you don't want to pay someone to.
  • You rely on several apps that would each take days to rebuild.
  • Your sales are small enough that fee savings would not cover maintenance.
  • You need to launch this week with a proven checkout.

A custom build makes more sense when you need something Shopify cannot do well: unusual product configurations, made-to-order pricing, a shop joined to your own systems, or a design and checkout journey that a theme can't deliver.

Can you use Claude Code with Shopify instead?

Yes, and for many shops this middle route is the sensible one. Claude Code can work on a Shopify theme or a custom Shopify app through Shopify's own developer tools, so you keep Shopify's checkout, hosting and apps while customising what customers see.

It suits brands that want a distinctive design or one custom feature without taking on payments and hosting. The same caution applies: test theme changes on a copy of your theme before publishing. If you would rather a team handled it, our Shopify agency service builds and customises Shopify stores.

Which should you choose?

Your situationBest route
Testing a product, small range, no technical helpShopify Basic
Established brand that wants a custom look on a proven platformShopify, customised with Claude Code or an agency
Unusual products, pricing or integrations Shopify can't handleCustom shop built with Claude Code
Growing sales where card fees are a large monthly costCustom shop, if someone will own the code

Whichever route you take, decide who will look after the shop in a year's time before you decide how to build it. If you are comparing builds by others too, our eCommerce website design service works on Shopify, WooCommerce and fully custom platforms.

Frequently asked questions

Can Claude Code build a complete eCommerce website?

Yes. Claude Code can build product pages, a basket, a Stripe checkout, order emails, stock control and an admin area, and deploy them to hosting such as Cloudflare Workers. What it doesn't do on its own is decide your business rules, check your legal pages or take responsibility for security. A person has to review those before launch.

Is it cheaper to build your own shop than use Shopify?

The running costs usually are once sales grow, because Stripe's UK card fee of 1.5% + 20p is lower than Shopify Basic's 2% + 25p and there is no platform plan. At small volumes the saving is modest. The hidden cost is maintenance: someone has to update, monitor and fix a custom shop.

Do I need to know how to code to use Claude Code?

You don't need to write code, but you need to read what Claude Code proposes, test it carefully and understand the basics of payments, databases and hosting. Many owners build the first version themselves, then pay a developer or agency to review security and checkout before going live.

Is Stripe Checkout PCI compliant?

Stripe Checkout collects card details on Stripe's own domain, so they never reach your servers. According to Stripe's PCI guide, that usually qualifies a business for SAQ A, the simplest self-assessment. You still have to confirm your compliance every year and keep the rest of your site secure.

Which hosting should I use for a custom shop?

Cloudflare Workers suits most small shops: it has a free tier and a $5 a month paid plan that includes 10 million requests. Railway suits back-end jobs that run continuously. Our comparison of Railway, Cloudflare and Vercel pricing covers the trade-offs.

Can I move my Shopify store to a custom build?

Yes. Export your products and customers from Shopify, import them into your new database, and redirect every old product URL to its new page so search rankings carry over. Plan the move for a quiet sales period and run both shops side by side until test orders work end to end.

What happens if Claude Code breaks my shop?

If every change is saved in GitHub and deployed through a test step, you can roll back to the last working version in minutes. Problems happen when changes go straight to the live shop. Keep Stripe in test mode for new features and let a reviewer check payment and data changes first.

How long does it take to build a shop with Claude Code?

A focused shop with a clear brief can have a working store and checkout in a few days using parallel subagents. Writing content, testing edge cases, adding legal pages and checking security take longer. Budget time for those, because they decide whether the shop is safe to trade on.

Decide who will own your shop, then how to build it

Start by listing the Shopify features you actually use and what your card fees cost each month. If the list is short and the fees are large, a custom shop built with Claude Code is worth a serious look. If the list is long, customise Shopify instead.

For a second opinion, or a custom shop built and maintained for you, talk to Circlemount. We quote each project once we understand your business and what the shop has to do, and we'll tell you honestly if Shopify would serve you better.