Linux 软件免费装
Banner图

Shabbat Menucha

开发者 giladch1
更新时间 2026年9月2日 23:04
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce jewish shabbat store hours kosher

下载

1.0.0

详情介绍:

Shabbat Menucha does one job well: from candle lighting on Friday until Havdalah on Saturday night, customers cannot complete a purchase. Instead of an Add to Cart button they see a message you choose, and once Shabbat ends the store reopens on its own. Proudly created with love by Boost Media Ltd. — התוסף נוצר באהבה בבית בוסט מדיה בע"מ כדי לאפשר לכל חנות ווקומרס לשמור שבת וחג בצורה חלקה, מדויקת ואוטומטית לחלוטין. Everything is automatic. You pick your city once; the plugin works out candle lighting and Havdalah times for every week and every festival from then on. What it does Accurate times, without slowing your store down Candle lighting and Havdalah times come from Hebcal.com. The plugin downloads two years of times in a single request and stores them in your database, then works everything out locally. No request is made to any external service while your customers browse, so there is no effect on page speed. You can adjust the candle lighting offset, choose your Havdalah custom (nightfall, 42, 50 or 72 minutes), and add a safety margin of a few minutes at either end. Three closing modes
  1. Purchases only (recommended) — customers can still browse and their cart is kept, they simply cannot buy. Best for SEO and the friendliest for customers.
  2. Purchases, cart and checkout — the cart and checkout pages show your Shabbat message instead.
  3. Full lockdown — the store is replaced by a closed page.
In every mode purchases are blocked on the server. The mode only decides how much the customer can still see. Built to be safe for your store Hebrew and RTL The plugin ships with a full Hebrew translation and right-to-left styles. A Hebrew site shows Hebrew wording out of the box; every message can be edited from the settings.

安装:

  1. Install and activate the plugin. WooCommerce must be active.
  2. Go to WooCommerce → Settings → Shabbat.
  3. Choose your city, or enter a latitude, longitude and time zone.
  4. Save. The status panel at the top of the page shows when your store will next close and reopen.

屏幕截图:

  • Full lockdown mode, which answers with HTTP 503 so search engines treat the closure as temporary.

升级注意事项:

1.0.0 Initial release.

常见问题:

Do I need an account or API key?

No. Hebcal's calendar API is free and needs no registration.

What happens to a customer who is in the middle of checking out?

Their cart is kept. They cannot complete the purchase during Shabbat, and can finish it after Havdalah.

Does it work with block themes and the block checkout?

Yes. The purchase is blocked through WooCommerce's own product and Store API layers, which both classic templates and blocks go through.

Will this hurt my Google ranking?

It should not. Search engines are exempt from the closure by default, and full lockdown mode answers with HTTP 503 and a Retry-After header, which tells Google the closure is temporary. If you send a product feed to Google Merchant Center, schedule it outside the closing window, because products report as unavailable while the store is closed.

I use a caching plugin. Will customers see the wrong state?

Purchases are always blocked on the server, so a stale page can never result in an order being placed. To keep the display correct too, the plugin clears the common caching plugins at each opening and closing, and a small script corrects any page that was still served from cache.

Can I close on Yom Tov as well?

Yes, and it is on by default. Israel's one-day festivals and the two-day festivals observed elsewhere are both handled, as is a festival that runs straight into Shabbat.

My city is not in the list.

Choose "Use latitude and longitude below" and enter your coordinates and time zone. The "Check this location" button confirms the times before you save.

How do I test it without waiting for Shabbat?

Use the "Preview the closed store" button on the settings screen. It opens your shop as it will look during the next closing, visible only to you.

更新日志:

1.0.0