Orders

Order Sync for WooCommerce

The plugin allows you to sync WooCommerce orders between sites. For example, you can sync orders from different standalone stores to a single store and manage them there.

View plugin →

WooCommerce Multistore: How to Set Up and Which Plugins to Use

What is a WooCommerce multi-store setup, in the first place?

WooCommerce multi-store is a network of connected WooCommerce stores, which may share some of their data. Your multistore can be:

  • A WooCommerce Multisite installation – when stores exist within the same WordPress Multisite network.
  • Completely standalone WooCommerce stores also count as a multistore setup.

Below, I will also guide you on the difference between having a WordPress multisite network installed and using separate stores.

You will also find a list of plugins that you may use to establish the connection between WooCommerce stores in a WooCommerce multi-store setup to sync some of the data between them, for example: products, product stock, orders, customers, cart.

Let’s just get started, and I’m going to uncover it step by step.

Multisite Order Sync for WooCommerce

Sync orders from different sub-stores of a WordPress multisite network to a single store. It also lets you manage all the network orders in a one place and sync the changes back to sub-stores.

View plugin →

Create Orders Programmatically

In this tutorial, we will dive deep into creating an order in your WooCommerce store programmatically. I already have a similar tutorial on my blog where we were creating a product programmatically.

First things first, you should know a very simple thing – yes, previously, orders were a WordPress custom post type, but in the latest version of WooCommerce HPOS appeared, and now orders are a standalone primitive. It also means that you can forget about using the wp_insert_post() function to create them. We have to tap into a CRUD layer for that. If it says nothing to you, please be patient, we’re going to dive into it in just a little bit.

Everything I share with you here is exactly what I learned in my own experience while working with my Multisite Order Sync for WooCommerce plugin.

How to Duplicate an Order in WooCommerce in One Click

In this tutorial, I will discuss how to duplicate any WooCommerce order either programmatically or with the help of a WordPress plugin.

No matter which way you choose, it is going to be a one-click approach; first, we will add a “Duplicate” button to orders’ quick actions:

WooCommerce duplicate order example

If it is not enough, we will continue and add a custom order action (which is available from the edit order page, by the way). Here it is:

WooCommerce duplicate an order using a custom action

How to Change Order Numbers in WooCommerce

In this tutorial, I am going to share with you how you can change order numbers everywhere on your WooCommerce store; in particular, we will try to add custom prefixes and suffixes to it and even to use some variable parameters as a part of the order number template.

How to Delete All WooCommerce Orders

In this guide, I’m going to uncover two ways how you can delete all WooCommerce orders at once.

  • In the first method, I’m going to show you SQL queries that you can just run in your database,
  • In the second method, you will find a plugin (or a code snippet) that you can just install on your site and hit the “Delete All Orders” button.

Why would someone ever need that? I guess if you’re looking for it and reading this post right now, you have a reason. In my case, for example, I usually needed to delete test orders when I’m developing either my Order Sync or Multisite Order Sync plugin.