AI & Websites

How I Rebuilt an E-commerce Site With AI

How I Rebuilt an E-commerce Site With AI

How I Rebuilt an E-commerce Site With AI

A real case study: rebuilding a Canadian rifle-action maker's store with AI in about 3 weeks. 17 orders and over $13k in sales in 48 hours, and a site the owner runs by prompting.

A real case study: rebuilding a Canadian rifle-action maker's store with AI in about 3 weeks. 17 orders and over $13k in sales in 48 hours, and a site the owner runs by prompting.

Jamie Windell

Jamie Windell

·

·

·

·

17 min read

17 min read

New shootpristine.com homepage hero with a scoped Pristine bolt-action rifle and the headline Every Rifle Starts Here, rebuilt with AI by Jamie Windell

Can you really rebuild an entire e-commerce site with AI? Yes. I did it for Pristine Technologies, a two-person rifle action maker in Fort Macleod, Alberta, in about three weeks. I used Claude Code to build a custom store on a stack Pristine owns outright, with prices in two currencies, a separate checkout for each, and SEO built in from day one. The new site launched right before Black Friday, and within 48 hours it brought in 17 new orders and over $13k in sales. That’s close to what the old website made in the whole previous year.

The design and the speed were great. But the biggest win was something else: Levi, Pristine’s co-owner, can now run the website by just asking for what he needs in plain English. Here’s how the whole thing came together, what the numbers looked like before and after, and what I’d take from it if you run a small business of your own.

I rebuilt an entire e-commerce site with AI. Then I handed the owner the keys.

I’m a Fractional Branding Consultant. Most of my work is helping founders and owner-operators get their brand, website and systems pulling in the same direction. Pristine was a project that touched all three, and it’s one of my favourite builds to date. You can see the short version in the Pristine case study. This is the long version, with the parts that usually get left out.

The call that started it

Levi doesn’t do websites.

Levi makes precision rifle actions. The steel heart of a bolt-action rifle, machined, fitted and checked by hand in a small shop in Fort Macleod, Alberta. When Levi showed me the shop on a video call, I saw a CNC machine, a metal lathe, a tumbler, a wall of toolboxes and an Alberta flag. What I didn’t see was anyone whose job was the website.

That’s normal. Most owner-operators I work with are brilliant at the thing they make and stretched thin on everything else. Levi said it straight out on one of our calls: the one thing holding the business back isn’t the machines. It’s sales.

So this is the story of how I rebuilt Pristine’s entire e-commerce site with AI, on a tech stack Pristine owns 100%, in about three weeks. And why the part I’m proudest of isn’t the design. It’s that Levi can now run the website by talking to it.

Who Pristine is

Pristine Technologies has a story I love. Levi is a journeyman carpenter by trade. A few years ago Levi bought a metal lathe off Facebook Marketplace and started playing around with gun parts. Half hobby, half joke.

Then Levi’s friend and former boss Travis, a machinist, heard that the owners of Pristine were thinking about shutting it down. It was more hassle than it was worth to them. Travis texted Levi. Levi said yes. They bought the brand, the designs and the inventory, and set out to revive it.

A Pristine bolt-action rifle with a scope on a tripod in front of a metal lathe in the Pristine Technologies machine shop in Fort Macleod, Alberta

Inside the Pristine shop in Fort Macleod, Alberta, where every action is machined, fitted and checked by hand.

Their first year was rocky. Levi is honest about it: they had high hopes, spent a lot on inventory and learned the hard way to do their due diligence. But in year two, they’re selling more than the business ever did under the old owners. They machine their own parts, they’ve designed a new generation of actions, and their customers describe the bolts as smooth as glass.

What they didn’t have was a website that matched any of that.

The problem with the old site

Pristine was on BigCommerce. It worked, in the way that a lot of websites work. Orders came in. But it had problems that were quietly costing them.

  • It looked dated. A premium, Canadian-made product sitting on a site that didn’t feel premium.

  • Every change was a chore. New products, price changes, new photos. Levi had to log into a dashboard nobody enjoyed, or wait for someone else.

  • Two countries, one clumsy setup. Pristine sells to Canada and the United States. That means two currencies, GST for Canadians but not Americans, and a different path for US buyers, who order through an importer and pick up from their local FFL dealer.

  • Dealers ordered on paper. Literally. Levi showed me the printed form Pristine’s dealers fill in.

  • They didn’t own it. The store, the data and the monthly bill all lived on someone else’s platform.

Here’s the twist most people don’t know about. When you sell firearms parts, a lot of the easy options are off the table. Shopify Payments won’t take you. Webflow and Framer, my usual go-to tools, don’t do commerce for this industry. So “just move it to Shopify” wasn’t an answer.

I needed to build something custom. And I’m a designer, not a developer.

Why a custom stack (and what that actually means)

“Custom tech stack” sounds expensive and scary. It isn’t, once you see it in plain English. Here’s what Pristine runs on now:

  • Astro builds the website. Fast, modern pages, built in advance so they load quickly.

  • Sanity is the content system. Every product, price, photo, article and FAQ lives here.

  • Foxy.io runs the cart, checkout and customer accounts. It’s built to handle payments securely, so the site itself never touches a credit card.

  • Authorize.net processes payments, with separate accounts for US and Canadian dollars.

  • Cloudflare hosts it all on a global network that doesn’t fall over when traffic spikes.

  • GitHub stores the code, in Pristine’s own account.

Every one of those accounts is in Pristine’s name. If they ever want to leave me, they take everything with them. Code, content, customers and payments. Nobody can raise the price on them, lock them in or switch off their store.

That’s what I mean by owning your stack. And for a small business, it’s a much bigger deal than it sounds.

How I built it with Claude Code

I want to be honest about this part, because there’s a lot of hype around AI right now.

Claude Code didn’t press a button and spit out a website. What it did was let a designer like me build something I would have needed a full development team for a couple of years ago. Here’s how it actually worked.

I gave it a brain before I gave it tasks. The first thing I set up wasn’t the website. It was a project folder with a few simple documents: who Pristine is, the brand colours and fonts, every decision we made and why, a launch checklist, and notes from every call with Levi. Claude reads those first, every time. It’s the same lesson I write about in getting your business out of your head and into a system. AI works best on top of a system, not instead of one. Without that folder, it’s a fast assistant wandering around an empty office. With it, it knows the business almost as well as I do.

I did the design thinking, Claude did the heavy lifting. I started from a premium Astro template, then reshaped it around Pristine’s brand: the colours, the bold uppercase headlines, the photography, the way the product pages tell the story of each action. I’d make the design call. Claude would write the code, check it on a phone, tablet and desktop, and show me the result. I’d say “move this up”, “make that bronze”, “that gap looks off on mobile”. It would fix it.

New shootpristine.com section with the headline We Build the Action Your Rifle Is Built On, For the Field and the Range, over a rifle action photo

Bold uppercase headlines and big photography carry Pristine’s brand through every section of the new site.

It handled the hard e-commerce stuff. This is where it earned its keep. Things that would normally take a developer days:

  • Every product has its own CAD and USD price, and US visitors see USD automatically

  • Each currency has its own checkout and payment gateway

  • GST is charged only to Canadian addresses

  • Every price is signed so nobody can edit it in their browser before checkout

  • Stock counts down with every order and switches the button to Backorder when it hits zero

  • Customer accounts that remember you, and a menu that says “Hi, Jamie” when you’re signed in

  • A Rifle Builder page for custom builds, and a contact form that emails Levi directly

  • A 10% welcome code that shows when you sign up for the newsletter and lands in your inbox

  • An announcement bar and pop-up that switch to the Black Friday sales promo automatically

  • 301 redirects from all 78 old BigCommerce addresses, so no Google ranking gets lost

New shootpristine.com product grid titled New From the Shop, showing Pristine bolt actions with prices

The new product grid. Every product shows the right price in CAD or USD, depending on where the visitor is.

It did the SEO most sites skip. Every page has proper meta titles and descriptions within the right character counts. Structured data tells Google exactly what each product, article and FAQ is. There’s an llms.txt file so AI search tools understand the business. There are share images for every page. And before launch, I gave Claude Pristine’s real Google Search Console data and asked it to look at what competitors were writing about. It came back with in-depth articles of over 2,000 words each, written in Levi’s voice, with FAQs for AI search and links back to the products people were searching for. When I showed Levi the first five on our call, the reply was one word: “Amazing.” By launch, there were 15 articles live.

It checked its own work. I asked Claude to proofread the whole site, then to hunt for contradictions between pages. It found twenty, like the same product described two different ways in two places. I sent the questions to Levi, got answers back, and Claude fixed every one. I also had it run a full security check: HTTPS, no passwords or keys anywhere in the code, safe browser settings, and alerts if any software it relies on ever needs an update. Before launch, we placed real test orders in both currencies to make sure every step worked end to end.

It wrote everything down. This one sounds boring, and it’s my favourite. Every decision, every fix and every launch step went into a running log as we worked. Why we picked Foxy over other carts. Why barreled actions get the welcome discount. Which Cloudflare account holds the domain. What to check on Black Friday morning.

That log does two jobs. It means Claude never forgets anything between sessions, so we didn’t repeat ourselves or undo old decisions. And it means Levi gets a proper handover: a plain-language guide to how the business runs online, instead of a website that only makes sense to whoever built it.

If you’ve ever inherited a website from a previous agency and had no idea how anything worked, you’ll know why this matters. Most small business owners don’t own their website so much as rent it from someone’s memory. I wanted Levi to own the knowledge too, not just the code. If you’re curious how I use AI in my own business day to day, I wrote about seven AI workflows that save me time.

Where it needed me

AI isn’t magic, and pretending it is doesn’t help anyone. Here’s where I still mattered:

  • Taste. Claude can build anything. Deciding what’s worth building, and what looks right, is still a human job.

  • Judgement on firearms rules. Licences, shipping limits and export rules are Levi’s call. Claude flags them. It doesn’t decide them.

  • The client relationship. Turning Levi’s real answers into the right changes, and knowing when to push back.

  • Catching small things. A word that sounds wrong to a hunter. A discount that should cover one product but not another.

The real transformation: Levi just asks

Here’s the part I’m most excited about.

Claude is connected directly to Pristine’s content system. So when Levi wants to change something, there’s nothing to log into. Levi opens Claude and types the request in plain English:

  • “Add a left-hand version of the Short Action Heavy, in stock, same price.”

  • “Drop the Classic actions by 10% for Black Friday.”

  • “Write a blog post about choosing between a short and long action, with FAQs.”

  • “Pull this month’s orders and show me which products sold the most.”

Claude makes the change, publishes it, and the live site updates in about a minute. No code. No tickets. No waiting on me.

And it goes further than editing pages. Because Claude can also see the store’s data, Levi can ask for reports: new customers this month, best-selling products, how the Black Friday sale is performing. There’s also a live sales dashboard, so Levi and Travis can see how the store is doing at a glance. Before launch, I had Claude pull a full year of data from the old store into a baseline report, so we can measure exactly what the new site changes over time.

For a two-person team that’s busy making actions, that’s the difference between a website that waits for them and a website that works for them.

Marketing that looks and feels like the new site

A new website is only half the job if nobody hears about it. So alongside the build, I helped Levi with the marketing side of the launch: what to say, when to say it and where.

We kept it simple. A launch announcement to tell existing customers the new site was live. A Black Friday campaign across social, email and the site itself. And a welcome email for new newsletter subscribers with their 10% code. I designed the emails and social posts to mirror the new site: the same dark backgrounds, the same bold uppercase type, the same product photography. When someone sees a Pristine post, opens a Pristine email and lands on the website, it all feels like one brand, because it is.

Pristine New Site Now Live social media post with a browser mockup of the new shootpristine.com homepage, Every Rifle Starts Here

The launch post used the new homepage itself, so the social feed and the site matched from day one.

That consistency matters more than most people think. It’s the same principle behind a strong brand on any budget: show up the same way everywhere, and people start to recognise and trust you. On launch week, the site’s announcement bar and pop-up switched over to the Black Friday promo on their own, so the offer people saw on social was the same offer waiting for them on the website.

Pristine Black Friday social graphic announcing 20% off actions and barreled actions, with Black Friday tape across a light background

One of the Black Friday graphics, designed in the same style as the new site.

Pristine Black Friday 20% off social graphic for all actions and barreled actions, with a five-star customer review

A second Black Friday post, using a real customer review as social proof.

Launch results: 17 orders and over $13k in 48 hours

Pristine’s new site went live on the real domain right before Black Friday. The first orders came in within hours. Four orders landed in the first 12 hours.

Within 48 hours of launch, the new site had brought in 17 new orders and over $13k in sales. That’s close to what the old website made in the entire previous year. In two days.

I’m careful with numbers, so here’s the honest context. Launch week lined up with Black Friday, a new site, a fresh campaign and a lot of pent-up interest from Pristine’s customers. Not every week will look like launch week. But it shows what happens when a great product finally gets a website and marketing that match it: people buy.

Here’s what was in place on day one:

  • Every product with clean photos, options and the right price in both currencies

  • 15 in-depth articles, each linking to the products they mention

  • Google Analytics and Search Console tracking from the first visit

  • Redirects from all 78 old links, so customers and Google land in the right place

  • A launch checklist, a handover guide and every decision written down

Before and after: what actually changed

Results are great, but I also like to show the work behind them. Here’s the before and after, using the same reports I sent Levi after launch.

The look. The old BigCommerce homepage did the job, but it felt like a template. The new homepage leads with Pristine’s own photography and a single, confident headline.

The old Pristine homepage on BigCommerce with a Barreled Actions Ready to Ship banner, before the rebuild

Before: the old BigCommerce homepage.

The new shootpristine.com homepage hero with a scoped Pristine rifle and the headline Every Rifle Starts Here

After: the new homepage hero, built with AI on a stack Pristine owns.

The homepage SEO basics. These are the small things search engines and AI tools read first, and the old site got several of them wrong.

  • Page title: 63 characters (too long) to 60 characters

  • Meta description: 164 characters (too long) to 151 characters

  • H1 headings: 3 to 1, so there’s one clear topic for the page

  • Links on the homepage: 140 to 86

  • Images on the homepage: 75 to 28

Homepage SEO audit before and after the rebuild, showing title length 63 to 60 characters, description 164 to 151 characters, H1 count 3 to 1, links 140 to 86 and images 75 to 28

The homepage SEO audit, before and after. Fewer links and images means a lighter, more focused page.

Lighthouse scores. Lighthouse is Google’s free tool for checking how well a page is built. Pristine’s homepage improved in every category:

  • Performance: 70 to 99, up 41%

  • Accessibility: 84 to 90, up 7%

  • Best Practices: 92 to 100

  • SEO: 92 to 100

Google Lighthouse scores for shootpristine.com before and after: Performance 70 to 99, Accessibility 84 to 90, Best Practices 92 to 100, SEO 92 to 100

Lighthouse, before and after. Performance jumped from 70 to 99.

SEO checkup and AI visibility. I also ran a full SEO checkup on both versions. The overall score went from 75 to 88 out of 100, up 17%. Failed issues dropped from 11 to 5, warnings from 7 to 2, and passed checks rose from 45 to 56. The AI visibility score, which estimates how often tools like ChatGPT, Gemini and Perplexity mention the brand, went from 69 to 75, up 9%. There’s still room to grow there, and that’s exactly what the articles and structured data are for.

SEO checkup before and after: SEO score 75 to 88 out of 100, AI visibility 69 to 75 out of 100, failed issues 11 to 5

SEO checkup, before and after. Higher scores and fewer failed issues across the board.

None of this is about chasing perfect scores. It’s about a site that loads fast, reads clearly to people and search engines, and gives Pristine a better shot at being found when someone searches for a precision rifle action. If you want to know what a site like this needs in the first place, I break it down in web design for solopreneurs.

What Levi says

I asked Levi for honest feedback after launch. Here’s some of what came back:

“What stood out most was how much Jamie brings to the table, from marketing and AI to website experience and a real appetite for success. We now have a beautiful website and systems in place that help us stay organized and be more strategic about how we handle sales and the rest of the business. Honestly, I sometimes felt a little guilty about how much value I was getting compared to what I was paying.”

Levi Middelkoop, Co-owner, Pristine Technologies

That last line made my week. I run my studio, KHULA, the same way I run my fractional work: show up, do the hard parts properly, and leave the client stronger and more independent than when we started.

What’s next for Pristine

Remember the printed dealer form? That’s next. Because Pristine owns its stack, we can build dealers their own login, with their pricing already applied and the ability to order and pay online. Levi gets the same email notification as for any other order. No more paper.

We’re also setting up the same kind of AI helpers I use in my own business to write and schedule social posts, so Levi’s shop videos can turn into content without eating Levi’s evenings. And we’ll keep tracking traffic, sales and search rankings against that baseline report, so the next update has even more to show.

What this means for you

You don’t need to sell rifle actions for this to matter. If you’re an owner-operator, here’s what I’d take from Pristine’s story:

  • Own your stack. Your website, your content and your customer data should be in your name. Renting them is fine until it isn’t.

  • Write it down first. AI is only as good as what it knows about your business. A simple folder of decisions, brand notes and call notes changes everything.

  • You don’t need to code. You need someone who knows what good looks like, and the right tools to build it.

  • Make your marketing match your site. When your emails, social posts and website look like one brand, people trust you faster.

  • The real win is independence. A site you can change yourself in a minute beats a prettier site you can’t touch.

You can visit shootpristine.com to see the finished site for yourself.

Frequently asked questions

Can AI really build a whole website?

With the right setup, yes. Claude Code wrote the code for Pristine’s site, but it worked from a clear brief, a brand system and my design direction. Think of it as a very fast developer that still needs someone to tell it what good looks like. The result was a full e-commerce site, built in about three weeks, that brought in 17 orders and over $13k in sales in its first 48 hours.

What results did Pristine get from the new website?

Within 48 hours of launching, the new site brought in 17 new orders and over $13k in sales, which is close to what the old website made in the whole previous year. Four orders came in within the first 12 hours. Lighthouse Performance went from 70 to 99, the SEO checkup score went from 75 to 88, and AI visibility went from 69 to 75.

What is Claude Code?

Claude Code is Anthropic’s AI tool for building and changing software. You describe what you want in plain English, and it writes, tests and fixes the code. For a designer like me, it closes the gap between an idea and a working build.

Do I need to know how to code to manage a site like this?

No. That’s the point. Levi changes products, prices and content by asking Claude in plain English. The code is there if Pristine ever needs a developer, but day to day they don’t.

Why not just use Shopify?

For a lot of businesses, Shopify is great. Pristine sells firearms parts, which Shopify Payments doesn’t allow, and they wanted to own their code and customer data. A custom stack gave them both.

Is a custom stack more expensive to run?

Not necessarily. Pristine’s tools cost a modest monthly amount, and there’s no agency retainer needed for everyday changes. The bigger saving is time: changes that used to wait on someone else now take a minute.

How long did the rebuild take?

About three weeks from setup to launch, including products, payments in two currencies, customer accounts, SEO and new articles. Planning and decisions with the client ran alongside the build, and the site went live in time for Black Friday.

Can you set this up for my existing website?

Often, yes. Depending on your platform, I can connect AI to your content so you can make changes by prompting, or rebuild on a stack you own. Book a call and we’ll look at what makes sense for you.

If you want a website you can run by just asking

Whether that’s a rebuild, a store, or setting up AI to manage the site you’ve already got, I’d love to hear what you’re working on. You can see more of my work in the case studies, or book a free Unstuck Call and tell me what you’re stuck on. It’s 30 minutes, no pitch and no obligation.

Levi makes the actions. Now the website does more of the selling. That’s the kind of build I love most.

Free unstuck call

Ready to close the gaps?

Ready to close the gaps?

Ready to close the gaps?

Find out what’s working, what’s holding you back and where to focus next. No pressure. Just clarity.