WooCommerce – Page 25

Add a Custom Order Status in WooCommerce

In this tutorial, we’re going to dive into WooCommerce custom order statuses.

In the first part of the tutorial, I will show you how to add a new order status in WooCommerce; in the second part, we’ll add it to WordPress bulk actions as well, so you can change order statuses for multiple orders at the same time.

One more thing: we’re going to work with custom order statuses programmatically only because I am not a big fan of having an excessive number of WordPress plugins on a single site, especially when it is just enough to deal with a couple of lines of code.

It is also worth noting that my Order Sync and Multisite Order Sync plugins work great with any custom order statuses.

WooCommerce Memberships: How to allow viewing all front end restricted content to any user or by a user role.

Custom Plan Settings Tabs in WooCommerce Memberships

In this tutorial I would like to share with you how I figured in out the way of creating custom settings tabs on “Edit Memberships Plan” pages.

I needed to add a custom tab there for settings of my Simple Mailchimp Sync plugin.

And right now in this tutorial we are going to create a simple tab like this:

Create a custom plan settings tab in WooCommerce Memberships

The good news is that WooCommerce Memberships plugin is customizable with hooks, actually there are two of them we need:

  • wc_membership_plan_data_tabs – allows to filter an array of tabs, remove or add items into it.
  • wc_membership_plan_data_panels – this hook will help us when we need to display HTML of our tab.