A/B Testing for Online Stores: A Beginner's Guide

November 22, 2026

A/B testing is a way to compare two versions of a page or element by showing version A to one group of visitors and version B to a similar group at the same time, then checking which version produced more of the action you care about. For a small online store, it works only when a page gets enough visits and orders to tell a real difference from chance, so the first step is deciding whether a test is worth running at all.

This guide covers what A/B testing is, when a small store has enough traffic for it, how to plan and run a fair test, and what to do instead when traffic is low. It explains a method and does not assume any built-in testing tool in RedCart.

How an A/B test works

An A/B test changes one thing and keeps everything else the same. Visitors are split at random between the current version, called the control, and the new version, called the variant.

Both versions run during the same period, so the weather, the day of the week and any promotion affect them equally. At the end, you compare a single agreed measure, such as the share of visitors who placed an order or added a product to the cart.

The random split is what makes the result fair. If you change a page and simply compare this week with last week, you cannot tell whether the change or something else caused the difference. Conversion Rate by Channel: Which Visits Make or Lose Money? shows how much conversion already varies by source, which is one reason before-and-after comparisons mislead.

Does your store have enough traffic?

A test needs enough visitors and enough conversions in each version to separate a real effect from normal day-to-day variation. With only a handful of orders per version, one or two extra orders can make either version look better by luck.

Before you start, use a sample size calculator from your testing or analytics tool. It asks for your current conversion rate and the smallest improvement you would care about, and tells you how many visitors each version needs. If the answer means running a test for many months, the test is not practical for that page yet.

Small changes need large samples to detect. A store with modest traffic should test bigger, clearer differences, such as a new layout for the product page, rather than a slightly different button colour.

What to test first

Test where many visitors make a decision and where you already have a reason to think something is wrong. Good first candidates are:

  • The product page, especially the order of information, photos and the add-to-cart area.
  • The cart and checkout steps, where buyers leave before paying.
  • Category pages, such as how products are sorted or how filters are shown.
  • The wording of delivery and returns information near the price.

Checkout UX: Reducing Friction and Abandonment lists common checkout problems worth checking before you test anything, because a clear bug should be fixed, not tested.

Write a hypothesis before you build anything

A hypothesis states what you will change, why, and what you expect to happen. It keeps the test honest, because you decide the measure before you see the results.

A useful format is: "Because we saw this problem, we will make this change, and we expect this measure to improve." For example: because buyers ask about delivery time in messages, we will show the delivery time next to the price, and we expect the add-to-cart rate on product pages to rise.

Choose one primary measure. You can watch others, such as average order value, but the decision rests on the one you named first.

Run the test fairly

Run both versions at the same time and split visitors at random. Keep the split stable, so a returning visitor sees the same version each time.

Decide the test length in advance and run it for whole weeks, because buying behaviour differs between weekdays and weekends. Stopping as soon as one version looks ahead is a common mistake; early leads often shrink or reverse as more data arrives.

Avoid running a test across a big promotion or a holiday peak unless the test is about that period. Unusual traffic can produce results that do not hold afterwards.

Check that both versions work on phones and desktops before you start. A broken variant on one device produces a result about the bug, not about the idea.

Read the result carefully

When the test ends, look at the primary measure for each version and the confidence figure your tool reports. If the difference is not clear, the honest conclusion is that this change made no detectable difference, which is still useful.

Illustrative example with invented numbers: version A gets 2,000 visits and 40 orders, a conversion rate of 2 percent. Version B gets 2,000 visits and 48 orders, a rate of 2.4 percent. The difference is 8 orders, which a calculator may report as too small to be confident about at this sample size. The store would either keep the test running to the planned length or treat the result as inconclusive. These numbers are invented to show the reading, not a benchmark.

Write down every test: the hypothesis, dates, both versions, the numbers and the decision. A test log stops you from repeating old tests and shows patterns over time.

What to do when traffic is too low

When a page cannot reach a useful sample, use methods that do not need statistics. Watch a few people use your store and note where they hesitate. Read buyer questions and reviews for repeated confusion. Compare your pages with a checklist such as Ecommerce UX Best Practices: A Practical Checklist.

Then make the change you believe in, and keep an eye on your analytics for a clear drop. This is not proof, but it is a reasonable way to improve a store before traffic allows real tests.

Where RedCart fits

RedCart includes an Analytics module among its six modules, listed on the RedCart modules page. Splitting visitors and calculating test confidence are done in a separate testing tool of your choice; check what it supports before you plan a test.

RedCart takes no commission on sales; payment provider fees are separate and not included.

Request early access to RedCart.