Linux 软件免费装
Banner图

Disable Sales for WooCommerce

开发者 michaltry
更新时间 2026年10月20日 17:53
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

christmas vacation holiday opening hours closed

下载

1.0.3 1.0.4 1.0.5 1.0.7 1.2.0 1.2.1 1.0.6 1.1.0 1.0.2 1.0.8

详情介绍:

Going on holiday, closing over Christmas and New Year, doing a stock-take, selling only in season or taking orders only during opening hours? Disable Sales for WooCommerce closes the shop for the period you choose and opens it again by itself – no need to set products out of stock or switch the shop to maintenance mode. Closed over Christmas? Set 24 December to 1 January once, tick "Repeat" and your shop closes and reopens on its own every year. Customers can still browse, they just cannot order – and they see when you are back. Settings: WooCommerce → Settings → Disable Sales. Disable Sales Pro Need more than one period? The Disable Sales Pro add-on adds a weekly schedule with the public holidays of 14 EU countries, several planned closures, orders during a pause with a shipping date, closing only selected products, categories or delivery countries, an access link for wholesale and regular customers, and a banner with a countdown. This plugin is maintained by Regelkit, makers of EU compliance plugins for WooCommerce.

安装:

  1. Install from the WordPress plugin directory or upload wc-disable-sales to /wp-content/plugins/.
  2. Activate the plugin through the Plugins menu.
  3. Go to WooCommerce → Settings → Disable Sales, enable the plugin and set the dates and/or the daily closing hours.

屏幕截图:

  • The notice customers see while the shop is closed
  • Daily closing hours, e.g. 22:00 to 06:00

常见问题:

Is the "until" date included?

Yes. If you close the shop until 15 August, customers can buy again on 16 August at midnight (shop timezone).

What do customers see?

Products show as not purchasable (no add-to-cart button), and the cart and checkout show a notice with your dates. With "Always show notice" the notice appears on every page of the shop.

Does it work with the cart and checkout blocks?

Yes. With the block-based cart and checkout the closed shop is reported as a cart error, which prevents checkout.

Can I repeat the closure every year?

Yes, tick "Repeat". The same days are used every year, including periods that cross New Year.

Can I close the shop every day, e.g. at night?

Yes. Tick "Close every day" and set the closing and reopening time, e.g. 22:00 and 06:00. The shop timezone is used. Daily hours work on their own or together with the closing dates.

How do I close my shop over Christmas and New Year?

Choose the first and the last closed day, e.g. 24 December and 1 January, and tick "Repeat". The period may cross New Year; the shop reopens on 2 January and does the same every year. Write your own notice, e.g. "We are on holiday until [date_to] – orders are possible again from 2 January."

Can I sell only in season?

Yes. Close the shop for the rest of the year and tick "Repeat": for Christmas trees sold from 25 November to 24 December, close it from 25 December to 24 November.

Are existing orders affected?

No. Only new purchases are blocked; orders, subscriptions and the admin area work as usual.

更新日志:

1.2.1 1.2.0 1.1.0 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0