Blog

How to Sync Inventory and Prices Between WooCommerce Stores

Since I created the Inventory Sync for WooCommerce plugin, I keep receiving requests from customers who’d like to also sync product prices along with the stock information.

Is it possible to sync prices together with product stock? Sure, it is.

Below, I will show you two methods of how we can achieve that – with the help of the mentioned plugin or custom coding.

Now, let’s dive into it.

Add Custom Order Actions in WooCommerce

Recently I’ve been working on adding some order actions that allow users to manually sync orders to specific stores, as a part of my Order Sync for WooCommerce plugin.

Here is an example:

WooCommerce add custom order actions

I was quite surprised that there were no good explanations over there. So, as usual, let me share with you my experience of how I did it.

How to Create Variable Products with Conditional Logic

In this step-by-step guide, you’ll learn how to create WooCommerce variable products with conditional logic.

This feature is not supported out of the box, and most of the solutions you can find out there will force you to work with another entity, so-called “product add-ons” or “product options”, which are, in simple words, just custom fields for order items in most cases. I don’t say it is a bad thing, but sometimes they are unnecessarily overcomplicating things.

The good news is that I developed a solution for you! As usual, it was first requested by a client of mine, but now it has become a fully functional Conditional Attributes for WooCommerce plugin. So, below I will share with you two ways of creating conditional logic for product variations – using my plugin, of course, and a programmatic approach.

This is also an example of a variable product with conditional variations, which we will create:

WooCommerce variable product with conditional logic example
We display the select dropdown for the “Spell type” attribute only when the “Magic level” attribute has either “Advanced” or “Legendary” value.

How to Sync Stock Across Multiple Stores in WooCommerce

In this guide, I will show you how to implement a multi-store WooCommerce stock synchronisation (for products with the same SKU, slug, or “GTIN, UPC, EAN, or ISBN” field).

We will use two different approaches to achieve that:

Let’s get started.

But before we start – one more thing. If your goal is to sync stock for products with the same SKU within the same WooCommerce store, you probably need a different solution; in that case, the Duplicate SKU Stock Sync plugin is what you would need.

How to Hide a Shipping Method for Product Category

In this guide, you will learn two ways of how you can enable or disable WooCommerce shipping methods depending on products from a specific category in the customer’s cart or an order.

First, I will show you how to easily add conditions with a plugin, and then we will also take a look at a programmatic approach.

How to Centralize Media Across WordPress Sites

When you manage multiple WordPress sites, and these sites have some shared content, you may be wondering if there is a way to prevent duplicating the same media files.

I mean, why copy an image from “Site 1” to “Site 2” when we can use it on “Site 2” by its direct URL from “Site 1”?

In this article, I am going to uncover different scenarios and how we can achieve the goal of having a centralized media library across WordPress sites, for example, when your sites are a part of a WP Multisite network, or when you’re using standalone sites.

Needless to say, all the methods described here work great for WooCommerce stores.

Allow Shipping Methods Based on Date and Time

In this article, I will show you different ways to enable or disable WooCommerce shipping methods based on:

Below, I will guide you on how to implement each option both programmatically and using my plugin, Simple Conditional Shipping and Payments.

As a bonus, we will also calculate shipping costs based on date and time.