Build log/E-commerce

Shopify or a custom e-commerce build: how to decide what fits

Shopify handles a standard online shop very well. Businesses outgrow it with complex B2B pricing, unusual catalogues or checkout rules, and custom apps on Shopify are often the middle path.

The short answer

  • Shopify is usually the right choice for a shop selling a standard catalogue to consumers, because hosting, checkout, payments and card security come built in.
  • Businesses tend to outgrow an off-the-shelf set-up when they need customer-specific B2B pricing, complex product rules, custom checkout logic or deep integration with their own systems.
  • Custom apps or a headless storefront on top of Shopify can meet those needs without rebuilding the parts Shopify already does well.

Choosing between Shopify and a custom e-commerce build comes down to how standard your selling is. Shopify is a hosted commerce platform that provides the shop, checkout, payments, hosting and security as a subscription service, and for most consumer shops it is the sensible default. A custom build makes sense when your pricing, catalogue, checkout or integrations are unusual enough that you would spend more effort working around a platform than building your own, and custom apps or storefronts built on Shopify sit between the two.

What Shopify does well

  • Checkout and payments. A hosted, well-tested checkout, with Shopify Payments and a range of other payment providers. Shopify is certified as a PCI DSS Level 1 service provider, so most of the work of handling card data safely is done for you.
  • Hosting and security. There are no servers to run, patch or scale up for a big sale.
  • Themes and the editor. Merchandisers can change pages, menus and collections without a developer.
  • Apps. A large app store covers reviews, subscriptions, loyalty, shipping and much more.
  • Channels. Point of sale, social and marketplace channels run from one product catalogue.
  • International selling. Multiple currencies, languages and domains through Shopify Markets.

For a business selling a few hundred or a few thousand products to consumers at one price each, that combination is hard to beat on cost and time to launch. Building the same from scratch would mean paying to recreate features that already work.

Where businesses outgrow off-the-shelf

Off-the-shelf here means using the platform as designed, plus apps from its store. These are the needs that commonly push beyond it.

B2B pricing and ordering

Trade customers expect their own price lists, contract prices, volume breaks, payment on account, credit limits, order approval and quick reordering. Shopify has added B2B features, such as company accounts, catalogues, price lists and payment terms, so check what your plan includes before assuming you need a custom build. Where prices come from an ERP and change per customer, or ordering needs quotes and approval steps, a dedicated portal is often cleaner. See B2B ordering portals.

Complex catalogues

Made-to-measure products, configurable products with rules between options, bundles built from parts and products priced by size all strain a model built on fixed variants. Shopify’s limits on product options and variants have changed over time, so check the current limits against your most complicated product before deciding.

Custom checkout logic

Shopify’s checkout can be extended with checkout UI extensions and Shopify Functions, which let you add fields and content, validate carts and customise discounts, delivery and payment options. Some of these capabilities depend on your plan. The core flow of the checkout stays Shopify’s. If you need, for example, a checkout that books an installation slot in your own engineers’ calendar and takes a deposit against it, that is custom work on any platform.

Integrations

Shopify connects to ERPs, warehouses and accounting systems through its Admin API and webhooks, and simple integrations come ready-made as apps. When stock, prices and orders must sync both ways with an ERP in near real time, you need integration code that you own and monitor, whichever platform you choose.

The middle path of custom apps on Shopify

A custom app is software built for one store, using Shopify’s APIs, that adds a feature the platform lacks without leaving the platform. It keeps Shopify doing what it does well and puts your own code only where your business is different. Typical examples:

  1. An app that syncs customer-specific prices from your ERP into Shopify’s B2B price lists.
  2. A product configurator built as a theme app extension, writing the chosen options to the order.
  3. Shopify Functions that apply your own discount or delivery rules at checkout.
  4. A headless storefront using the Storefront API, with Shopify still running checkout and orders. See headless commerce explained.
  5. An internal tool that reads orders through the Admin API to plan production or deliveries.

Agree who owns the code for anything built this way. The app should live in your own repository, even though it runs against Shopify. Our article on who owns the code in the UK covers the contract terms to look for.

What a fully custom build involves

A fully custom build means you own the catalogue, cart, checkout, order management and admin screens, usually built on a web framework or an open-source commerce engine. You also take on the responsibilities Shopify carried for you:

  • card security, where using a payment provider’s hosted payment fields or hosted checkout keeps card data off your servers and reduces your PCI DSS scope, though some obligations remain;
  • hosting, scaling for peak sales, backups and security patches;
  • admin screens for staff, which take longer to build than people expect;
  • maintenance, which is a permanent cost and grows with every feature you add.

In return, the buying process can work exactly as your business does, and nothing about it depends on a platform’s roadmap or plan structure.

Shopify, custom apps and a custom build compared

Shopify with theme and appsShopify with custom apps or headlessFully custom build
Time to launchShortestMediumLongest
Upfront costLowestMediumHighest
Running costsSubscription, app fees and payment feesPlatform costs, plus hosting and maintenance of your codeHosting, payment fees, maintenance and support
Checkout controlPlatform checkout with extensionsPlatform checkout with extensionsFull
B2B and complex pricingWithin platform features and appsYour logic, synced into the platformAny model you can specify
Card security burdenMostly carried by the platformMostly carried by the platformReduced by hosted payment fields, still yours to manage
Code you ownTheme customisationsYour apps and storefrontEverything
Best fitStandard consumer shopsShops with one or two unusual needsBusinesses where the buying process is the product

How to decide

A short exercise settles most cases.

  1. Write down the five things your buying process must do that a basic online shop does not.
  2. For each one, check whether Shopify does it natively on the plan you would use.
  3. If not, check whether an established, well-reviewed app does it.
  4. Mark anything left as needing custom code, with a rough size.
  5. If nothing needs code, use Shopify. If one or two items do, build custom apps on Shopify. If most do, or the checkout itself is unusual, a custom build is likely to be the better long-term choice.

The first choice is not permanent. Shopify lets you export products, customers and orders, so a business can start on the platform, learn what its customers actually need and move later if the list of custom work keeps growing. Plan URLs and redirects carefully if you do move, so the shop keeps its search traffic.

Not sure which route fits your shop? See how we scope e-commerce projects.

Questions people ask

Is Shopify good for B2B?

Shopify has B2B features such as company accounts, catalogues, price lists and payment terms, so check what your plan includes. It suits wholesale with straightforward price lists. Where prices come from an ERP per customer, or ordering needs quotes and approvals, a custom app or dedicated portal is often a better fit.

Can you customise the Shopify checkout?

Yes, within limits. Checkout UI extensions and Shopify Functions let you add fields and content, validate carts and customise discounts, delivery and payment options, and some of these depend on your plan. You cannot replace the checkout’s core flow.

Is a custom e-commerce site more secure than Shopify?

Not by default. Shopify is certified as a PCI DSS Level 1 service provider and runs its own hosting and security. A custom site can be secure, but your team carries that responsibility, including patches, monitoring and card data handling.

Who owns the code if an agency builds a Shopify app for us?

That depends on the contract. Under UK law, code written by an agency’s employees belongs to the agency unless the contract assigns it to you, so ask for a written assignment of intellectual property and access to the repository. The Shopify platform itself always remains Shopify’s.

When should a business move off Shopify?

Consider moving when most of what makes your buying process different needs custom code, or when the checkout itself has to work in a way Shopify does not allow. If only one or two needs fall outside the platform, custom apps on Shopify usually cost less than leaving it.

Written by Flavoureak

We build and run Estimark, CurioKids and CalcStack, and we build web and mobile software for other businesses. Start a project.