Using WordPress Multisite for WooCommerce
When chatting with my customers, I keep getting the idea that people don’t always understand what a “WordPress Multisite network” is. Most of them think of it as a “multi-site” model for their store, like having completely separate stores (not necessarily on WooCommerce, by the way), each store with its own domain, database, etc.
Which is a completely wrong assumption!
Having a WordPress Multisite setup for your WooCommerce stores means:
- The stores will share the same server.
- The stores will share the same database.
- And what is most important – they share the same WordPress installation (basically, it means that if you sign in as a super administrator, you get access to every store within a single admin dashboard, or, if you sign in as a specific store administrator, you will get access only to that store and to all stores you’re added to).
Not sure whether you’re using WooCommerce Multisite? You can check it easily – if you have the following page in your WordPress admin dashboard, then it is a multisite network:

Once we get this main misunderstanding out of the way, let’s move to more practical stuff.
How to Show Variations as Single Products in WooCommerce
In this tutorial, I will show you an example of how you can configure your WooCommerce store to display variations as single products.
If you’re wondering how it may look on your store pages, below is a screenshot for you:

Get Product Variations Programmatically
Soon, you will learn three ways how you can get product variations programmatically in your code. In the first and in the second way we are simply going to use the WC_Product object (or, to be more specific, the WC_Product_Variation object). The third way is going to be a little bit more interesting – I will show how to do it via the WooCommerce REST API.
Frankly, I remember, I wanted to publish this mini-guide a long time ago, I believe I didn’t because I found an amazing explanation on another website. But guess what – today that website doesn’t exist anymore. So, here we go.
How to Select Multiple Variations in WooCommerce
If you were ever looking for a plugin that allows your WooCommerce store customers to select multiple variations at the same time, I have good news for you – you can easily do it without using any complicated plugins for WooCommerce.
The thing is that WooCommerce already has the feature you need; it is called “Group Products”. The thing is that this feature requires just a little bit of extra configuration. And that’s exactly what we’re going to do in this tutorial.
This is how it is going to look as a result:

Variation Swatches Without a Plugin – Add a Color Variation
In this tutorial, I will show you how you can create variation swatches programmatically without using any plugins. However, if you change your mind and decide to switch to a plugin, I would highly recommend the one I developed myself.
As an example, we’re going to create a color variation. So, if by default, the variations are displayed like a select dropdown:

But we will learn how to display them as color swatches. This is our goal for this tutorial:

Setting Up Shared Stock in WooCommerce
In this guide, I will show you multiple methods of setting up shared stock (shared inventory) for specific products in your WooCommerce store (or stores).
But first of all, there are two completely different WooCommerce configurations, and we will uncover both of them in the tutorial below:
- Different products within a single WooCommerce store share the same stock – we will talk about this configuration in the first part of the tutorial.
- Products across different WooCommerce stores should have a shared stock set up. The stores actually can be sub-stores within a single WooCommerce Multisite network or completely standalone stores – it doesn’t matter here. Usually, the goal of this approach is to manage stock in one central location. This is what the second part of the guide is about.
Let’s dive into it.
Load More Products in WooCommerce
In this tutorial, I will uncover two ways how you can load more products with AJAX on your WooCommerce store’s pages.
- Firstly, I will show you can do it in classic WooCommerce themes, for example, Storefront.
- Then, we will do it for a block theme.
As a bonus, we will take a look at how to create an infinite scroll for WooCommerce products.