When running an online store with WooCommerce, there may be times when you need to temporarily take certain parts of your store offline without disabling your entire WordPress site, going on vacation, restocking inventory, or dealing with logistical issues. Plugins designed specifically for this let you disable or hide your WooCommerce store, or specific sections of it, while keeping the rest of your site operational.
3 Ways to Temporarily Disable WooCommerce
Which method fits depends on what part of your store you want offline. Here are three to consider:
Method 1: Hide the Whole Store With WooCommerce Private Store

WooCommerce Private Store (Barn2) hides your entire store from public view. Good fit for:
- Taking a vacation or going on leave.
- Running out of inventory or waiting for restocking.
- Being short-staffed and unable to process orders.
Once activated, it hides all WooCommerce-generated pages, product pages, categories, checkout, from public view, while still letting you or a logged-in admin access them via password. No content edits or menu/widget reconfiguration needed.
Method 2: Hide Specific Categories With WooCommerce Protected Categories

WooCommerce Protected Categories (also Barn2) hides specific categories and their products rather than the whole store. Useful if:
- You’re out of stock on certain categories but still selling elsewhere.
- You’re restocking specific products and need those categories offline temporarily.
- Certain categories should stay private, visible only to specific users or roles.
Categories can be password-protected, role-restricted, or limited to specific users, giving finer control than an all-or-nothing store lockdown.
Method 3: Disable Checkout for Specific Products
WooCommerce doesn’t natively support hiding prices or disabling checkout on individual products, but you can approximate it without a plugin:
- Remove the price to drop the “Add to Cart” button.
- Mark the product out of stock to block new orders.
An alternative worth considering: display a lead time and accept backorders instead of blocking checkout entirely. Customers who are willing to wait can still order, rather than bouncing off a sold-out page.
Choosing the Right Approach
Full store lockdown, category-level hiding, and per-product checkout blocking solve different versions of the same problem. Match the method to the actual scope of what needs to go offline rather than defaulting to taking the whole store down.
Interesting Reads:
Where Are Image Tables Stored In the WordPress Database
Should a Business Continuity Plan Be Applied to a WordPress Site