Split testing theme files (legacy feature for Smarty 2)
The old split test of individual theme files is only available for stores on Smarty 2. For new tests, use Split test under Design.
Legacy feature: This article covers the old split test of individual theme files. It is only available if your store runs Smarty 2, and it has no built-in statistics. For new tests, use Split test under Design instead. There you can test page layouts and stylesheets (and entire themes, if the store runs Smarty 4 and has a Pro subscription), see the numbers for each variant, and let Shoporama find the winner. Read How to create and run a split test.

How does the old split test work?
A theme consists of a number of files. The product page, for example, is typically shown with the file product.html, and the add to cart button is often in a file of its own, such as add_to_basket.html. The old split test is based on the fact that a theme can contain several files with the same name. If your theme has two versions of add_to_basket.html, Shoporama randomly shows one of them to each visitor and remembers the choice for a week. With three versions, each visitor sees one of the three. However, Shoporama caches finished pages for up to four hours, and the old split test does not take this into account. Many visitors therefore see the version that was on the page when it was cached, which makes the result unreliable.
Only put the file you are testing in the theme. Shoporama only remembers the choice for one file, so with several files in the theme, a visitor may get a different version on the next page view.
No statistics are included. You have to measure which version performs best yourself, for example in your analytics tool. The more versions you test, and the fewer visitors you have, the longer it takes to see a difference.
How to set it up (Smarty 2 only)
In this example, we test the text on the add to cart button in the file add_to_basket.html.
- Go to Webshop → Themes. The menu item is only shown when the store runs Smarty 2
- Click Create theme
- Give the theme a name, such as "Add to cart button test". The name is only there so you can recognize the test
- Find the file under Copy from theme (optional), or under Or copy from your own theme (optional) if you have your own theme. Select the file from the theme your store uses, and click Create
- Check the box next to the file, and click Copy the selected files. The theme now has two files with the same name
- Click the pencil next to one of the files, give it a name, such as "Version B", and change the text you want to test in the HTML. Click Save and close
- Click Use this theme, and your split test is running
How to end the test
When you have found the version that performs best, open the theme under Webshop → Themes, check the boxes next to the versions that lost, and click Delete the selected files. Once only one file with that name is left, all visitors see it.
Need help? Contact us at support@shoporama.dk.
Related articles
Set up a split test (A/B test) in Shoporama
A short guide to setting up a split test (A/B test) under Design → Split test and following the results.
Cookie consent banner and Google Consent Mode v2
How to set up Shoporama's free cookie consent app: cookie categories, automatic blocking, withdrawing consent, and Google Consent Mode v2.
Facebook Conversions API: setup and catalog matching
How to set up the Facebook (Meta) Conversions API in Shoporama with your Pixel ID and access token, how purchases are deduplicated automatically,...
How to create and run a split test (A/B test) in Shoporama
Step-by-step guide to creating and running a split test (A/B test) in Shoporama. Learn how to clone a page layout or stylesheet, or split test...
Related features
Usability test (user test)
A usability test reveals usability problems by letting real people use your online store. Learn the test types, the method, and the most common...
Split test (A/B test)
A split test compares two versions to find the one that performs best. Learn what to test, how to do it correctly, and which pitfalls to avoid.
Split testing (A/B testing): find out what works best in your store
Split test front pages, category pages, button colors, stylesheets, and entire themes. Statistical winner, scheduling, and full GDPR compliance.
Split testing: let data decide what works
Test two versions of your online store against each other. Server-side split testing (A/B testing) with a built-in report, included in Shoporama.