Blog

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.

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 Disable a Plugin for One Site in Multisite

In this tutorial, I will dive into how you can disable a network activated plugin for one specific site within your WordPress Multisite Network.

Setting Up Role-Based Shipping Methods in WooCommerce

In this guide, I will show you how you can enable or disable specific shipping methods depending on a user role in your WordPress site (I mean, WooCommerce store).

But don’t all the customers in WooCommerce have a dedicated role – “Customer”? Well, while it is true, it is not a requirement; customers still can have other WordPress roles, even multiple roles, along with the “Customer” role.

A simple example: let’s say you have a custom role in your store, “Premium customer” or something like that, and your goal is to grant free shipping to all your premium customers.

We will take a look at two approaches – using a plugin and a programmatic approach.

Sounds good? Now, let’s dive into it.