Skip to content

Launch Day Without the Panic: Inside Our E-commerce Shipping Flow

How we ship · 16 min read
By Dapton Technologies·Updated

Our e-commerce flow from brief to launch: catalog audit, headless or WooCommerce, migration, checkout tests, speed, SEO and a launch checklist you can reuse.

Most store launches go wrong in the same few places. A redirect is missing. A payment works in test mode and fails in live mode. Stock in the store and the warehouse disagree. Nobody knows who is watching the error log at midnight.

This is how we ship an e-commerce website at Dapton, from the first call to the weeks after launch. For each phase you will see what we do, what we check and what you receive. We also say where AI helps and where a person decides. The examples in it are illustrative.

Our flow from brief to launch. Each stop ends with something you can see, click or sign off.

Discovery: why we read your catalog before we draw a page

Discovery is where we learn what you sell, who buys it and which systems hold the truth. It ends with a roadmap, an estimate and a clickable prototype, before any build starts.

We start with your catalog, because it shapes everything else. How many have variants, such as size and color? Do variants have their own SKU, the stock code your warehouse uses? Are prices, weights and images filled in, or are there gaps?

Then we map the systems around the store. Where does stock live? Who creates the invoice? Does an ERP, the back-office system for finance and stock, need every order? Do you also sell on marketplaces? We draw it on one page, showing which system owns which data.

  • What we check: catalog shape, variant rules, data gaps, channels, providers, integrations and hard limits, such as a peak season you cannot move.
  • What you receive: a one-page map of shoppers and systems, a list of data fixes, a roadmap, an estimate and a clickable prototype of the key journeys.
  • Where AI helps: it reads large product exports and flags gaps, duplicate titles and odd values faster than a person scrolling a spreadsheet.
  • Where a person decides: an engineer and your team agree the scope, the systems of record and what counts as done.

The mistake we avoid is designing pages before anyone has looked at the real data. A product page built for three neat variants breaks on the product that has forty.

Headless or WooCommerce: how we pick your e-commerce platform

We build headless Next.js storefronts and WooCommerce stores, and we recommend one in writing after discovery. The right choice depends on your catalog, your team and your plans, more than on fashion.

Headless means the store your shoppers see is a separate front end. It talks to your catalog, cart and checkout through APIs, the interfaces software uses to talk to other software. We build that front end in Next.js, so each page arrives as ready HTML. Your products can live in a commerce backend, and content can live in a headless CMS such as Sanity, Strapi or Payload.

WooCommerce runs inside WordPress. Your team edits products, orders and pages in one admin screen, with plugins for most shop jobs. For new WooCommerce stores we set up the block checkout and HPOS, WooCommerce's dedicated order tables. WooCommerce's own docs say HPOS keeps orders in their own indexed tables and has been the default for new installs since version 8.2.

How we pick a platform. We write down which signs apply to you, then recommend one.

A headless storefront fits when

  • You want a custom shopping experience that a theme cannot give you.
  • You sell through several channels, or products and editorial content share pages.
  • You have a large catalog with prices or stock that change through the day.
  • Your team will keep building the store after launch.

WooCommerce fits when

  • The catalog is simple and a small team edits products itself.
  • Proven plugins already cover what you need.
  • A quick start matters more than a custom front end.

There is a middle road. WooCommerce exposes its catalog, cart and checkout through its REST API and Store API. So we can put a Next.js storefront on top, and your team keeps working in WordPress. We check your plugins first, since some only work with a classic theme.

The usual mistake is choosing headless because it sounds modern. It takes more build effort and has more moving parts. If a simple store does the job, we say so.

Migration: moving every product and URL to the new store

If you already have a store, moving it is the riskiest part of the project. We plan the data move and the URL move together, and we rehearse both before launch day.

We write an import script for products, variants, categories, images, customers and, where needed, order history. We run it many times into a staging store, a private copy of the new site. Each run produces a report: what moved, what failed and why. Your team spot-checks products they know well.

Next comes the URL map. This is a spreadsheet with every old URL in one column and its new home in the next. Google's site-move guidance asks for exactly this. Start with the pages that matter most, then send each old URL to its closest new page with a permanent 301 redirect. Avoid chains of redirects, and do not send hundreds of old pages to the home page. Google also suggests keeping redirects for at least a year.

  • What we check: every product imported with the right price, stock, variants and images; every old URL in the map; no redirect chains; no redirect loops.
  • What you receive: the import script in your repository, a migration report, the full URL map and a redirect list we test automatically.
  • Where AI helps: it drafts the first URL map by matching old and new product titles, and suggests clean alt text and attribute fixes from supplier data.
  • Where a person decides: a merchandiser approves any rewritten product text, and an engineer reviews every unmatched URL by hand.

We also prepare structured data at this stage. Structured data is code in the page that tells search engines the name, price, availability, shipping and return policy of a product. We generate it and your product feed from the same product record, so they cannot drift apart.

Design: the five screens that make or lose a sale

We design the five screens that make or lose a sale first: listing, product, cart, checkout and account. You click through them as a prototype before we write production code.

Baymard Institute's checkout research is a useful guide here. Its public survey lists the reasons shoppers give for leaving checkout. Extra costs shown late top the list. Others include a forced account, a long or confusing checkout, slow delivery, and not trusting the site with card details. Most are design decisions, so we deal with them in the prototype.

  • Show shipping costs and delivery estimates early, before the last step of checkout.
  • Offer guest checkout. Invite people to save an account after they pay.
  • Ask only for what you need. Every extra field is one more reason to stop.
  • Write error messages that say what went wrong and how to fix it, next to the field.
  • Keep the return policy one tap away from the product page and the cart.

Accessibility starts here too. We design to WCAG 2.2 AA, the current web accessibility standard. WCAG 2.2 added rules that matter for stores. Tap targets need a minimum size. A focused button must not hide behind a sticky bar. And a flow must not ask for the same details twice. If you sell to shoppers in the EU, the European Accessibility Act now covers online shops. Your legal advisors decide what applies to you.

The mistake we avoid is a beautiful home page with a checkout left until the end. We design checkout early and test it on a phone first.

Build: payments, stock and the systems behind your store

We build in short sprints and show you a working demo at the end of each one. The code lives in your repositories from day one, and an engineer reviews every change, including all code that AI wrote.

Our build follows our usual loop. An engineer plans the change. AI drafts the code in its own branch. Tests run on every change in GitHub Actions. An engineer reviews intent, risk and security. A named person signs off each production release. AI never approves its own code.

Payments: card data never touches your servers

We keep card entry inside your payment provider's hosted fields or hosted checkout. Hosted fields are payment boxes served by the provider and placed in your page, so card numbers go straight to the provider.

An order is marked paid only when the provider's signed server message arrives. That message is called a webhook. Stripe's docs warn that the same webhook can arrive more than once and events can arrive out of order. So we record every event ID we have handled, and a repeat changes nothing. When our server calls the provider, we send an idempotency key, a unique label for the request. If the network drops and we retry, the provider returns the first result instead of charging twice.

In Europe and the UK, Strong Customer Authentication rules often require 3-D Secure. That is the extra step where the bank asks the shopper to confirm in their banking app. We build for that step from the start, so a shopper who leaves to approve a payment comes back to the right order.

Tax, shipping, email and integrations

  • Tax and shipping: rules set in your platform or a tax service, with test cases for each country or region you sell to.
  • Email: order, shipping and refund emails written with your team, sent from a verified domain and tested in a sandbox inbox before launch.
  • Inventory, ERP and order management: connected through their APIs, with stock changes passed as events through one ledger, so a message that arrives twice is never counted twice.
  • Marketplaces: the same ledger feeds each channel, and a scheduled check flags any channel whose stock drifts.
  • Search and filters: tuned to how your shoppers describe things, with a plan for zero-result searches.

Where it helps, we also add AI to the store itself. A shopping assistant can answer only from your catalog. A support agent can check order status through a read-only tool. Refunds and exceptions always go to a person on your team.

The mistake we avoid is marking orders paid when the shopper lands on the thank-you page. Browsers close and networks drop. The provider's signed message is the only proof we trust.

Speed: the Core Web Vitals budget we set before we build

We set a speed budget at the start and measure against it on every release. Our targets are Lighthouse 90+ and interactivity under one second on representative pages and devices.

Google's Core Web Vitals are the three numbers we watch most. LCP, Largest Contentful Paint, is how long the main content, usually the product photo, takes to appear. Good is 2.5 seconds or less. INP, Interaction to Next Paint, measures how fast the page reacts to a tap, and good is 200 milliseconds or less. CLS, Cumulative Layout Shift, measures how much the page jumps around, and good is 0.1 or less. Google judges each one at the 75th percentile of real visits.

The same few things slow most stores down.

  • A late main photo. We size it right, serve a light format and ask the browser to fetch it first. web.dev puts it plainly: "Never lazy-load your LCP image."
  • Pages built on every visit. With Next.js 16 we prebuild product pages as a shell and stream fresh stock and delivery dates into it. When a price changes, we refresh only that page.
  • Sluggish filters, variant pickers and add to cart. We collect INP from real visitors and fix the slowest interactions first.
  • Jumping layouts. We reserve space for photos, prices, reviews and banners, so a button never moves under a finger.
  • Too many add-ons. Chat, tag and review scripts load after the page is ready, and each one has to earn its place.

A lab score is a useful guide, but it cannot promise every customer's experience. So we also collect real-visitor numbers after launch.

SEO: helping Google and AI assistants find your products

We make sure search engines and AI shopping assistants can read your products. That means clean URLs, working redirects, valid structured data and a product feed that matches the page.

Google's merchant listing guidance names what a product page needs in its markup: a name, an image and an offer with a price and currency. Shipping and return policy markup can be added too. Google Merchant Center, the place where you send product feeds to Google, asks that the feed price and availability match the landing page. If the feed says in stock and the page says sold out, the product can be pulled.

AI assistants now help shoppers choose products too, and they read the same feeds and markup. We start with clean product data. Then, where your platform and payment provider support it, we connect open agent checkout protocols such as ACP or UCP.

  • What we check: one h1 and a clear title per page, canonical tags, a new sitemap, structured data that passes Google's Rich Results Test and a matching feed.
  • What you receive: the URL map, the redirect test results, the sitemap, the feed setup and a short note on how to keep product data clean.
  • Where AI helps: it drafts category descriptions and meta descriptions from your product data.
  • Where a person decides: your team approves every word before it goes live.

Search rankings depend on many factors, so no one can promise them. What we can do is remove the technical reasons a store loses traffic after a move.

Testing checkout the way a real customer uses it

We test the store the way a shopper uses it, with automated tests on every change and people testing by hand before each release. Every bug we find is logged, given an owner, fixed and tested again.

Before a feature is built, we write a test plan with your team. Each test case maps to an acceptance criterion, the rule that says when the feature is done. AI drafts the first list of cases, and a tester edits it. Automated browser tests in Playwright then run the main journeys in your pipeline, so a broken checkout blocks the merge.

Payment and refund cases

Payment providers give you test modes with special test cards. Stripe's testing docs, for example, list cards that decline for different reasons, cards that trigger the 3-D Secure step, and cards that make a refund succeed or fail. We use them to run the cases below, on desktop and on phones.

A checkout test matrix with illustrative results. A failed cell becomes a logged bug, and it shows Pass again only after a retest.
  • A normal payment, then the order email, the stock change and the order in your back office.
  • A declined card, with a clear message and the cart still intact.
  • A 3-D Secure challenge that the shopper passes, and one they fail or abandon.
  • A full refund and a partial refund, plus a refund the provider rejects.
  • A double click on the pay button, which must create one order and one charge.
  • A webhook that arrives twice or late, which must not create a second order.
  • The last item in stock bought by two shoppers at once.
  • A discount code that expires while the shopper is in checkout.

Accessibility, devices and load

We run automated axe-core checks on each build. Then a person works through search, cart and checkout with only a keyboard, and with a screen reader where it matters. The W3C's own guidance says quick checks cannot prove a page is accessible, which is why the manual pass matters. We agree a device and browser list with you, based on who buys from you. Before a busy launch, we add a load check on the pages that will take the traffic.

AI helps us write test drafts, read failure logs and suggest odd inputs. A person reviews every AI-written test before it joins the suite, and a person signs off the release. Testing lowers the risk of bugs a lot, but it cannot promise none, so we also plan how to roll back.

Analytics and consent: seeing where shoppers drop out

We set up analytics so your team can answer one question every week: where do shoppers drop out? We track a standard set of events and respect each visitor's consent choice.

GA4 has a recommended list of e-commerce events.: view_item_list, view_item, add_to_cart, view_cart, begin_checkout, add_shipping_info, add_payment_info, purchase and refund. The purchase event fires only after the order is confirmed on the server. It never fires on a button click.

Consent comes first. A cookie banner asks the visitor, and Google's Consent Mode passes that choice to Google tags. Until a visitor agrees, analytics and ad cookies stay off. We test the banner in each state before launch.

You receive a funnel view your team can read: from product view to cart to checkout to paid order, split by device. We check that numbers in analytics match orders in your back office before we call it done.

Our e-commerce launch checklist and cutover plan

We launch from a written checklist that a named person signs off. The cutover plan says who does what, in which order, and how we go back if something fails.

The launch gate. We go live only when every check on the board is lit and a named person signs off.

Here is the checklist we work through. We adjust it to each store, but most items stay.

  1. Scope signed off, with any open bugs listed and agreed as safe to launch.
  2. Final product, customer and order data imported, with a migration report checked by your team.
  3. Every old URL redirects to its new page with one 301, tested by script.
  4. New sitemap ready, and the robots.txt file lets search engines in.
  5. Structured data and the product feed validated, with prices matching the pages.
  6. Payments switched to live keys, with test keys removed from the live site.
  7. Live webhooks pointing to the live site and verified.
  8. Tax and shipping rates checked for each region you sell to.
  9. Order, shipping and refund emails sent from your verified domain.
  10. Inventory, ERP and marketplace sync running against live data.
  11. Accessibility checks passed on the key journeys, with any known issues listed.
  12. Speed checked on key pages against the agreed budget.
  13. Analytics events and the consent banner tested in each state.
  14. Error monitoring on in Sentry, with alerts going to named people.
  15. Uptime checks on the home page, a product page and checkout.
  16. Backups taken, and the rollback steps written down and rehearsed.
  17. DNS settings ready, with the old store kept running until the new one is confirmed.
  18. A named person on call for launch day and the days after, with a phone number your team has.

Cutover day, step by step

On the day, we follow ordered steps. Each step has an owner and a check before the next one starts.

Cutover day in order. Each step has an owner and a check, and the last step is a clear go or rollback decision.
  1. Freeze changes on the old store, so no new products or orders are lost in the move.
  2. Run the final data sync and compare counts against the old store.
  3. Point DNS, the internet's address book, at the new store, hosted on Vercel, AWS or Cloudflare as agreed.
  4. Switch redirects on and run the redirect test again on the live domain.
  5. Turn on live payments and confirm the webhooks arrive.
  6. Place a real small order with a real card, follow it to the back office, then refund it.
  7. Watch errors, speed and checkout events in the monitoring tools.
  8. Decide go or rollback together, against the checklist.

The real small order is the first time real money moves through your live keys, webhooks and emails. We place it while the whole team is watching.

After launch: watching the live store and handing it over

After launch we watch the store closely and fix what real shoppers find.

In the first days we watch three things. Errors in Sentry, grouped and sorted by how many shoppers they touch. Speed from real visitors, page by page. And checkout drop-off in the analytics funnel. In Search Console we watch the new sitemap and look for pages that return errors. When something breaks, the fix ships with a new test, so the same failure gets caught next time.

The first improvements usually come from data you could not see before launch: a filter nobody uses, a search with no results, a step where phones drop off. We turn these into a short list for the next sprint.

Handover is written down. You receive the code in your repositories, admin access to every service in your own accounts, a runbook for common jobs, the rollback steps and the test suite. If you want us to keep building, we carry on as a dedicated team. If your team takes over, it starts with everything in its own hands.

Seven launch mistakes we see stores make

Most launch problems come from a few skipped steps. These are general patterns, seen across the industry.

  • Launching without a URL map, so years of search traffic hit error pages.
  • Testing only the happy path of checkout, never a decline or a refund.
  • Leaving test payment keys on the live site, or live keys on a staging site.
  • Trusting the thank-you page as proof of payment.
  • Adding every tracking script before launch and finding the product page slow.
  • Turning on analytics without a consent banner, or a banner that does nothing.
  • No written rollback, so a small problem becomes a long night.

Common questions

How long does an e-commerce build take?

It depends on your catalog, your integrations and the platform, so we do not publish fixed timelines. Discovery gives you a roadmap and an estimate before the build starts. After that you see a working demo every sprint.

Can you move our store without losing search traffic?

We map every old URL, set up permanent redirects, carry over content and structured data, and watch search data after launch. Rankings depend on many factors and cannot be guaranteed. A careful move removes the technical reasons stores lose traffic.

Do you store our customers' card details?

No. Card entry stays inside your payment provider's hosted fields or hosted checkout, so card numbers go straight to the provider. Your provider and assessor decide which compliance level applies to you.

Who owns the code and the accounts?

You do. The code lives in your repositories, and hosting, payments, analytics and monitoring run in your own accounts. We work inside them with the access you give us.

Do you use AI to write the store's code?

Yes. AI drafts code, tests and data fixes, which speeds up the work. An engineer reviews every change, tests run on every change and a named person signs off each release.

Can we work on a fixed scope?

Yes. We work on a fixed scope or as a dedicated team. Discovery tells us which fits your store better, and we agree it with you before the build.

Planning your own store launch?

If you are planning a new store or a move, start with your catalog and your list of systems. If you would like a second pair of eyes on either, or want to see how this flow fits your store, we are happy to talk it through.

Documentation and references

E-commerceHeadless commerceWooCommerceCheckout testingSite migrationCore Web Vitals
Need help building this for your product?

Working with E-commerce and Headless commerce? Tell us what you’re building and our engineers will tell you how they would approach it.

Talk to our team →

More from the blog