Skip to main content
Food Businesses

How to Restrict Shopify Checkout to Your Physical Store's Business Hours

Jahangir AlamJune 11, 20268 min read

Yes, you can restrict Shopify checkout to physical store business hours, but you need more than a store-hours widget. Shopify is always-on by default, so if you want customers to only place orders when your physical store is open and operational, you need server-side checkout enforcement that blocks payment outside business hours.

Shopify checkout restricted to physical store business hours with OrderRules

A recent OrderRules merchant, Torio Japanese Restaurant, described exactly this need: restricting checkout to business hours so customers can only place orders when the physical store is open and operational. That is not a restaurant-only problem. It applies to bakeries, convenience stores, florists, butcher shops, and any local Shopify business whose online orders need to match real store operations.

Why Physical-Store Merchants Need Checkout Hours

When your physical store is closed, the problem is not just that a customer placed an order late. The real issue is that the order arrives when your team cannot act on it.

  • Staff may already be off the clock.
  • Your kitchen, prep bench, or packing station may be closed.
  • Pickup windows may not be active.
  • Fresh or perishable goods may need same-day handling.
  • Customers may expect immediate fulfillment because checkout stayed open.

For local businesses, open hours are part of operations, not just branding. If your store closes at 8:30 PM, checkout should usually stop at 8:30 PM too. Otherwise, you create a gap between what your business can do and what Shopify is still allowing customers to buy.

Who This Setup Works For

This type of scheduling is useful anywhere online ordering depends on a real storefront being open.

  • Restaurants: Accept pickup and takeout orders only during lunch and dinner service.
  • Bakeries: Stop overnight orders when the shop is closed and the next morning's production is already planned.
  • Convenience stores: Match online checkout to trading hours for alcohol, fresh food, and local delivery.
  • Florists: Block checkout outside business hours and layer in holiday closures around peak dates.
  • Butcher shops: Keep pickup orders inside staffed trading hours so fresh-product handling stays controlled.
  • Pickup-first local retail: Let customers browse anytime, but only allow checkout when the store can actually receive and prepare the order.

Why Shopify Does Not Handle This Natively

Shopify does not have a built-in concept of "our physical store is closed, so checkout should also be closed." The platform is designed for 24/7 digital commerce, which works well for warehouses and shippable products but not for businesses that depend on store staff, kitchens, prep stations, or pickup counters.

This is why display vs enforcement matters so much.

  • Display means showing your hours on the storefront.
  • Enforcement means blocking checkout outside those hours.

Display helps customers understand your schedule. Enforcement makes the schedule real. Without enforcement, customers can still order through normal checkout, Shop Pay, Apple Pay, Google Pay, or direct checkout links. For the technical background, see Shopify Checkout Validation Functions: How to Block Invalid Orders and Display vs Enforcement: Why Showing Store Hours Isn't Enough on Shopify.

How to Restrict Shopify Checkout to Physical Store Business Hours

The cleanest setup is to use OrderRules to define when your store is open and let Shopify Functions enforce those hours at checkout.

Step 1: Install OrderRules

Install OrderRules from the Shopify App Store. You do not need custom theme logic or a storefront-only workaround to get this live.

Step 2: Set the Correct Timezone

Choose the timezone your physical store actually operates in. This is critical. If your store is in Toronto but your app is configured to another timezone, your "closed" hours will be wrong and orders may still slip through.

Step 3: Configure Daily Business Hours

Set the days and hours when customers should be able to place orders. Many stores only need a single daily window, such as 8:30 AM to 8:30 PM. Others need split shifts, such as:

  • 11:00 AM-2:00 PM for lunch
  • 5:00 PM-9:00 PM for dinner

If your physical store is closed between those windows, checkout should close too.

Step 4: Add Closed Days and Special Closures

If you are closed on Sundays, Mondays, public holidays, or specific maintenance days, add those rules too. Many merchants combine weekly hours with holiday closures so checkout mirrors the real calendar without manual toggling every week.

Step 5: Customize the Closed Message

When checkout is blocked, customers should see a useful message, not a dead end. Good messages tell them:

  • that the store is currently closed
  • when the store reopens
  • whether they can still browse and come back later

For example: "We're closed right now. Online ordering reopens tomorrow at 8:30 AM."

Step 6: Test During a Closed Window

Run a test when the store is closed. If the setup is correct, checkout will block server-side. That means Shop Pay, Apple Pay, and direct checkout links are still covered. This is the difference between a real operating rule and a storefront suggestion.

Business-hours enforcement flow for a physical store on Shopify with OrderRules

Examples by Store Type

Different physical stores need different schedules. A few common patterns:

Restaurant or Takeout Counter

  • Lunch: 11:00 AM-2:00 PM
  • Dinner: 5:00 PM-9:00 PM
  • Closed between shifts and after service

For a deeper restaurant setup, see Managing Restaurant Takeout Orders on Shopify.

Convenience Store

  • Open daily: 8:30 AM-8:30 PM
  • Same schedule online and in-store

This is especially useful if you sell regulated or fresh products and do not want orders coming in after staff has left. See Shopify for Convenience Stores.

Bakery

  • Tuesday-Saturday: 7:00 AM-5:00 PM
  • Closed Sunday and Monday

That setup helps avoid last-minute orders arriving when the next bake schedule is already locked.

Florist

  • Weekdays: 9:00 AM-6:00 PM
  • Saturday: 9:00 AM-3:00 PM
  • Holiday closures layered on top

For broader florist workflows, see Shopify for Florists: Order Management.

Butcher Shop

  • Tuesday-Saturday: 9:00 AM-6:00 PM
  • Closed Sunday and Monday
  • Pickup orders allowed only during staffed counter hours

If you sell fresh products that require careful prep and handoff, controlled checkout hours reduce mistakes. See Shopify for Butcher Shops.

Business Hours vs Other Rule Types

Business hours are often the first rule physical-store merchants need, but not always the last one.

  • Business hours only: Best when your main issue is orders arriving while the store is closed.
  • Business hours + holiday closures: Best when your weekly schedule is stable but holidays disrupt fulfillment.
  • Business hours + daily caps: Best for bakeries, restaurants, and other capacity-limited stores.
  • Business hours + cutoff times: Best when same-day preparation needs a hard latest order time.
  • Business hours + per-delivery-date rules: Best when you promise local pickup or local delivery on selected dates only.

If you are still deciding how to structure your schedule, How to Set Store Open/Close Hours on Shopify covers the broader setup patterns. If you want another scheduling walkthrough, see Automate Your Shopify Store Hours and OrderRules vs We Are Open.

Common Mistakes to Avoid

Treating Store Hours as Display Only

Showing customers your hours is helpful, but it does not stop orders. If you need operational control, display alone is not enough.

Using the Wrong Timezone

This is one of the most common setup mistakes. Business hours need to reflect the timezone of the physical store, not a generic account default.

Forgetting Closed Days

A lot of merchants set weekday hours and forget the days they are fully closed. That leaves checkout open on the exact days when no one is available.

Sometimes the problem is not just "closed vs open." A store can be open and still be at capacity. In those cases, business hours should be paired with order caps or cutoff rules.

Frequently Asked Questions

Can Shopify only accept orders when my store is open?

Yes, but not with native Shopify settings alone. You need app-based checkout enforcement so customers can only complete payment during your allowed business hours.

How do I block checkout when my physical store is closed?

Use OrderRules to define your schedule and let Shopify Functions enforce it at checkout. Customers can still browse products, but payment is blocked until the store reopens.

Will Shop Pay still work outside business hours?

Not if your rule is enforced server-side. Shop Pay, Apple Pay, Google Pay, and direct checkout links are still covered when the store is closed.

Can I set different hours for different days?

Yes. You can run different weekday and weekend schedules, split shifts, closed days, and special one-off closures.

Can I combine store hours with holiday closures?

Yes. Many physical-store merchants combine weekly business hours with public-holiday imports and custom closure dates.

What if I also need order limits?

That is where OrderRules is especially useful. You can combine business hours with daily caps, per-customer rules, MOQ, and other operational controls in the same app.

Next Steps

If your Shopify store supports a physical operation, your checkout should reflect that reality. Customers can only place orders when the physical store is open and operational, and your team avoids the avoidable cleanup that comes from out-of-hours orders.

Install OrderRules from the Shopify App Store to restrict Shopify checkout to your physical store's business hours. Then use How to Set Store Open/Close Hours on Shopify for the full scheduling walkthrough.

Comparing apps?

See how OrderRules stacks up against every other Shopify app in this category.

Ready to take control of your orders?

Try OrderRules Free