Variable Products

Conditional Attributes for WooCommerce

The plugin allows you to apply conditional logic to WooCommerce attributes for variable products: hide or show specific attributes depending on the value of other ones.

View plugin →

How to Sync Variations into Simple Products Between Stores

Recently, a client contacted me about my Simple WP Crossposting plugin, and he asked me whether it is possible to not only sync variable products between WooCommerce stores, but also to automatically convert all variations into simple products when syncing to a specific store.

“Of course, it is possible!” – I said.

In this guide, I am going to share with you how I achieved that, and what are the moments you need to keep in mind. I will also show you how to do that for a WordPress Multisite network, i.e., when using my other plugin – Simple Multisite Crossposting.

How to Make Variation Shared Inventory on your Store

In this tutorial, we will discuss WooCommerce stock management for variations. Specifically, I want to share with you different approaches to setting up a shared stock for WooCommerce product variations.

The common ways of implementing a variation shared stock are:

  1. Using the shared stock for all variations of a specific product.
  2. Assigning the same SKU for specific variations (doesn’t matter whether they belong to the same product or different products) and reducing stock for all variations with the same SKU synchronously. This approach can be implemented with the plugin.
  3. Combining specific variations into a group, and if any variation from the group has been purchased, we will reduce the stock levels of the whole group.
  4. Assigning a stock quantity to a specific attribute and then managing the inventory on the attribute level.

For most of the ways mentioned above, I will show you the programmatic approach (with a code snippet), except for the one that will require the use of a WordPress plugin.

Now, let’s dive straight into it.

How to Filter Variations by Attributes When Editing Products

Sometimes, when you have a lot of variations on your WooCommerce stores, navigating through them can be quite overwhelming.

For example, if you have 3 variation attributes with 10 values each, then you might have 3 * 3 * 10 = 90 variations! So, some of my clients do complain that the default WooCommerce variation interface is not very convenient in this specific case.

Can we do something about it?

In this tutorial, I will show you one of the ways to deal with it – and we will create a variation filter by attributes (an AJAX one).

Filter variations by attributes in WooCommerce admin

Bulk Edit Variations for WooCommerce

The plugin simplifies the process of managing variations for WooCommerce products beautifully. It allows you to filter all the variations by specific attributes and then bulk edit them in a couple of clicks.

View plugin →

Simple Variation Swatches

This WooCommerce product variation swatches plugin allows you to replace the standard attribute dropdown selection with color, image, or label swatches or even radio buttons.

View plugin →

How to Grey-Out Out of Stock Variations

In this tutorial, I will show you an easy way how you can grey-out out of stock variations in WooCommerce. It is actually much easier than you might think.

However, let me show an example of what we are going to achieve here:

WooCommerce grey-out out of stock variations
Two variations are out of stock here, as you can understand.

By the way, if you’re using my Simple Variation Swatches for WooCommerce plugin, then you don’t need to code anything, and this feature is already included by default for variations that are out of stock. For example, the same greyed-out radio button-type variations will look like:

grey-out radio button-type variations

Color swatches will look like this:

out of stock color variations in WooCommerce