Documentation

Define | Bypass Store ID checker

Warning

We’ve put this guide together as a little helping hand for developers and designers. You’ll need a basic understanding of PHP to make the most of it.

Just a quick heads-up, we can’t provide support for custom code or offer any bespoke tweaks. Think of the snippets below as examples to guide you in the right direction.

Description

The “storename_bypass” setting lets you skip the check that figures out if a store ID is for testing or real use. When you turn it on, the system won’t look at the store ID’s details; instead, it just moves forward without labelling the ID as test or live. This is handy when you don’t want the usual checks to happen, maybe during certain tests or when setting things up differently.

PHP
1
define('storename_bypass', TRUE);

For a hassle-free experience, we suggest using a third-party plugin like Code Snippets to add this code. It’s a smoother alternative to diving into your theme’s function.php file.

Was this helpful?

Tyl by NatWest

Don't already have the plugin? Get access now.

Still need help?

Our team are on hand to provide fast, helpful and professional support.

Support request
All systems operational

Back End Demo

Start exploring our fully functional demo site today.
Gain exclusive admin access to see what's possible.

Create your demo now

Front End Demo

Test drive our plugin on the demo site.

View Demo