Website Building » WooCommerce » How Do I Block Orders in WooCommerce?

How Do I Block Orders in WooCommerce?

Last updated on October 1, 2022 @ 10:09 pm

It’s easy to block orders in WooCommerce. Simply follow these steps:

  1. Log in to your WordPress site and go to your Dashboard.
  2. On the left-hand side, hover over WooCommerce and then click on Settings.
  3. Click on the tab that says Advanced. Then, click on Order Settings.
  4. Under the section that says Block Orders, select the checkbox next to Block all new orders.
  5. Click on the Save Changes button at the bottom of the page.
PRO TIP: If you are using WooCommerce to sell products on your website, you may need to block orders from certain customers. For example, you may want to block orders from customers in a certain country or region, or customers who have not paid for their previous orders.

Blocking orders in WooCommerce is a two-step process. First, you need to create a rule that will identify the orders that should be blocked. Second, you need to add a code snippet to your site that will actually block the orders that match the rule.

It’s important to test your rule and code snippet before you deploy them on your live site. Blocking orders can have a negative impact on your business, so you want to make sure that you only block the orders that you actually want to block.

Now, all new orders will be blocked. If you need to unblock orders, simply follow the same steps and deselect the checkbox next to Block all new orders.

Morgan Bash

Morgan Bash

Technology enthusiast and Co-Founder of Women Coders SF.