Technique

Staging and WooCommerce: your orders stay put

Put your website online from €9 per month

Free migration. We move your site and help you over WhatsApp, every day from 9:00 to 21:00.

In short

  • A test site is a copy of your web shop. If you put it back over your live shop in one go, the orders that came in meanwhile disappear.
  • With the Test site we push live only what you changed. Orders, customers, form entries and stock and sales counters stay those of your live shop.
  • On the test site payments run in test mode and mails stay on the test site by default, so you can place test orders freely.
  • Before pushing live we automatically make a back-up. Afterwards you can undo for 14 days with one click.

You have a web shop and want to change something. A product description, a new plugin, maybe a different design. You would rather not do that on your live shop, because that is where orders come in. A test site helps. But there is one pitfall worth thinking about up front: what happens to the orders that come in while you are testing?

The risk: a copy put over your shop

A test site is a copy of your site at a certain moment. Say you make the copy on Monday morning and finish testing on Wednesday. In those two days forty orders have come in on your live shop and a few customers have created an account.

If you now put the test site back over your live shop in one go, your shop gets the data of Monday morning back. Your new product description is there, but the orders of Tuesday and Wednesday are gone. Customers wait for a parcel whose order you can no longer see. That is exactly the kind of accident you want to avoid.

Many WordPress staging guides talk about a plugin that puts the whole copy over the live site. Handy for a blog, unsuitable for a web shop. For a shop you want only what you changed to move.

How smart push prevents that

With our Test site it works differently. When you push live, we compare your test site with your live site and take along only what you changed yourself. Whatever happened on your live site in the meantime stays as it is.

This goes to your live shop:

  • pages and posts you changed
  • products: the title, the price and the description
  • menus and settings
  • plugins, themes and files you changed
  • new images

This stays exactly as it is on your live shop:

  • orders, including today’s
  • customers and users
  • form entries
  • comments
  • stock and sales counters, which simply carry on live

This applies to WooCommerce orders in the old and in the new storage. So it does not matter which way your shop uses: your orders are left untouched.

Was the same page or product changed on both sides? Then you see the two versions side by side and choose per item: Use test site version or Keep live version. If the changes are identical, there is nothing to choose.

Test orders on the test site

You only really test a shop when you place an order. On the test site you can do that without anything happening in the real world:

  • Payments on the test site run in test mode. Nothing is charged to a real account.
  • Emails stay on the test site by default, so customers never receive an order confirmation or invoice from it. In the settings you can have them delivered to your own address only.
  • Things that reach out to the outside world, such as scheduled tasks, are paused.
  • A visible bar on the test site tells you it is the test site, so you never forget where you are.
  • The test site is kept out of Google and can only be opened by you and the people you invite. You can read more in Keep your test site out of Google.

So you can click, check out and see what a customer sees without any tension.

Step by step: change a product and a plugin

Below is an example that fits an ordinary Tuesday. You want to improve the description of your bestseller and update a shipping plugin, while customers keep ordering.

  1. Create your test site and open it. In My account, click Create test site. After a few minutes a copy of your shop is ready and you get an email. Open the test site with one click.
  2. Change a product and a plugin. Edit the description of your product and update the plugin. Meanwhile your live shop simply receives orders.
  3. Place a test order. Put the product in the basket and check out. See whether the shipping costs are right and the checkout page looks good.
  4. Click Push to live and read the overview. You see in plain words what will change and what stays as it is. It lists, for example, a product and a plugin that will change, and what stays as it is on your live shop.
  5. Check your live shop. First we automatically make a back-up, then we push your changes live. Afterwards look at the product, the checkout page and your orders. Everything that came in is still there.

Does the result turn out differently from what you expected? Undo the push with one click for 14 days. The orders that came in after the push are kept.

The safety nets at a glance

A web shop is not a place to gamble. That is why pushing live has a safety net at every moment:

  • Always a back-up first. We automatically make a back-up of your live shop, keep it for 30 days and show you the time it was made. This is fixed and cannot be switched off.
  • A check afterwards. After the push we check your site. If the homepage or login shows an error, we automatically put everything back.
  • Undo. One click on the last push, up to 14 days later.

When is this handy for your shop?

You do not need a test site for every small change. A typo in a product name you simply fix on the live shop. A test site becomes valuable for changes that can touch something customers run into:

  • an update of WooCommerce or of a payment or shipping plugin
  • a new design of your product pages or checkout page
  • a new PHP version, see Upgrade PHP without risk
  • a new plugin you want to try first

Want to read the basics first? They are in What is a WordPress staging site?. For the full picture of testing and pushing live, see the WordPress staging page and pushing staging to live.

The Test site for your web shop

The Test site is an add-on for your WordPress site, WooCommerce included. You make the copy with one click in My account and push changes live only when you are happy. Your orders stay those of your live shop throughout. On the pricing page you find what the Test site costs, and you order it via the order form. If you get stuck, send us a WhatsApp message.

Frequently asked questions

Will my WooCommerce orders be lost if I push a test site live?

No. Orders, customers, form entries, comments, users and stock and sales counters stay those of your live shop. We push live only what you changed, such as pages, products, menus and settings.

Does this work for both the old and the new WooCommerce order storage?

Yes. Orders are kept in both ways WooCommerce stores them, so it does not matter which one your shop uses.

Do customers receive emails from my test orders?

No. By default, emails sent from the test site stay on the test site, order confirmations included. You can also choose to have them delivered to your own address only. Payments on the test site run in test mode, so nothing is charged.

Can I undo a push to live?

Yes, for 14 days with one click. Orders and form entries that came in after the push are kept.

Read next

Ready to put your website online?

Order Website from €9 per month, or send us a WhatsApp message first.