Home /A/B Testing /Template-level
Template-level A/B testing

Test the whole template, not just one element.

Some wins only show up at the layout level. CustomFit lets you A/B an entire template — your PDP, collection page, cart, or landing layout — then roll the winning version out across every product or collection at once.

Test layouts, not just elements Roll out catalog-wide No theme edits
Template-level A/B testing: PDP, PLP, cart and landing templates split 50/50 between Template A and Template B for Oak Face Wash; Template B converts 3.7% vs Template A's 2.9% and wins, so CustomFit automatically sends more traffic to the higher-converting template — choose templates, split traffic, measure performance, AI determines the winner, and optimize automatically.
🗂️

One change, every page

Edit a template once and the variant applies to every product or collection that uses it — test at the layout level, ship at catalog scale.

🧩

PDP, PLP, cart & landing

A/B any template type: product detail, collection listing, cart, or campaign landing — each measured on its own goal.

🚀

Roll the winner out at once

When a template wins, promote it across the whole catalog in a click — no per-page rebuild, no developer queue.

Why templates win

Element tests miss the layout-level lift.

Swapping a button tells you about a button. But the bigger gains — gallery position, buy-box stickiness, the order of sections — only surface when you test the whole template. CustomFit makes the entire layout the unit of the experiment.

  • Test gallery, buy box & section order together
  • Compare full PDP or collection layouts
  • Measure on add-to-cart and revenue per visitor
Build templates no-code →
Element vs template
Move one badgeElement
Reword a CTAElement
Reorder the whole PDPTemplate
New collection layoutTemplate
Catalog-wide rollout
1,240 PDPs updated at once
No per-page rebuild
One-click revert
🗂️ Your live theme is never edited — variants apply as a layer at render time.
Scale the winner

Win once, apply everywhere.

The point of testing a template is that it governs hundreds of pages. When a template wins, CustomFit promotes it across every page bound to it in one action — so a single experiment lifts your entire catalog, not one URL.

  • Promote the winning template catalog-wide
  • Segment templates by audience or campaign
  • Revert instantly if metrics dip
Auto-roll out the winner →
We tested three PDP templates, not three buttons. The winning layout went live across 1,200 products in an afternoon — that's a lift we'd never have found one element at a time.
AN
Anirudh Shridharan
Growth Marketer · Chargebee
+20%
Revenue per visitor on the winning PDP
1,240
Pages updated in one rollout
0
Theme files touched
Launch in minutes

A template test in four steps

From a layout idea to a catalog-wide winner — no code.

1

Duplicate the template

Fork your live PDP, PLP, cart, or landing template in the visual editor.

2

Redesign the layout

Reorder sections, move the buy box, restyle — no theme edits.

3

Split & measure

Send traffic across templates; we report ATC and revenue per visitor.

4

Roll out the winner

Promote the winning template across every page bound to it in one click.

The fundamentals

What is template-level A/B testing?

Template-level A/B testing compares entire page layouts — a whole PDP, collection page, cart, or landing template — rather than a single element. Because one template governs many pages, the winning version can be rolled out across your entire catalog at once, making it one of the highest-leverage tests a D2C store can run.

Quick facts

Tests whole layouts, not single elements
Covers PDP, collection, cart & landing templates
Winning template rolls out catalog-wide in one click
Applies as a render-time layer — no theme edits
Why it matters

Why template testing matters for D2C

🗂️

Catalog-scale impact

A template governs hundreds of pages, so a single win compounds across your whole store.

🧩

Find layout-level lift

Section order and buy-box placement move conversion in ways element tests never reveal.

🚀

Ship without engineering

Build and promote templates in a no-code editor — no developer queue.

Who it’s for

Built for your whole growth team

🎨

Merchandisers

Test PDP and collection layouts that sell the catalog harder.

📈

CRO teams

Run layout-level experiments with revenue-per-visitor verdicts.

🧑‍💻

Developers

Drop into custom CSS/JS when a template needs it — otherwise no-code.

The complete guide

Understanding template-level A/B testing

Template-level A/B testing compares entire page layouts instead of single elements. Where a classic A/B test might swap a headline or a button, a template test pits a whole PDP, collection page, cart, or landing layout against an alternative — gallery position, buy-box behavior, section order, and copy all changing together.

This matters because a template governs many pages at once. A PDP template might render 1,200 products; a collection template might drive every category page. When you find a winning layout, CustomFit promotes it across every page bound to that template in a single action — so one experiment lifts the whole catalog rather than a single URL.

Everything is built in the no-code visual editor and applied as a render-time layer, so your live theme is never edited and a winning template can be rolled out — or rolled back — instantly. Results are measured on add-to-cart and revenue per visitor, not vanity metrics, so you only scale layouts that genuinely earn more.

How is template testing different from element A/B testing?

Element testing changes one thing — a headline, a button. Template testing changes the whole layout (gallery, buy box, section order) and applies the winner across every page that uses the template.

Which templates can I test?

Product detail (PDP), collection/listing (PLP), cart, and landing-page templates. Each is measured on its own goal, like add-to-cart or revenue per visitor.

Will testing templates edit my live theme?

No. Variants apply as a layer at render time, so your theme files are never touched and you can roll a winner out or revert it instantly.

Can I roll a winning template out across my whole catalog?

Yes. Because the template governs many pages, promoting the winner updates every page bound to it in one click — no per-page rebuild.

Do I need a developer to use CustomFit.ai?

No. Marketers build and test templates in a no-code visual editor; developers can use the API and SDKs when they want deeper control.

Test the layout, lift the catalog.

Run your first template test this week — no theme edits, free to start.

Built for every D2C category

🧴
Skincare
💄
Beauty
🌿
Wellness
F&B
👟
Apparel
💍
Jewelry
🛋️
Home
🍼
Baby
Live · Right now
Mamaearthfree-shipping band +12.4% AOVGIVAfestive collection page +34% revenueBellavitaPDP CTA test +27.4% CVRKapivaQuiz-driven recs +9.48% CTRThe Sleep Colanding personalized 2× capturesPlumReturning shopper swap +18.2% CVRMamaearthfree-shipping band +12.4% AOVGIVAfestive collection page +34% revenueBellavitaPDP CTA test +27.4% CVRKapivaQuiz-driven recs +9.48% CTRThe Sleep Colanding personalized 2× capturesPlumReturning shopper swap +18.2% CVR