Skip to Content
Menu
This question has been flagged
1 Odpoveď
895 Zobrazenia

Hello,


I am setting up online pizza ordering store for client and testing few scenarios. This is my first time with Odoo as client's requirement. 

Is there any configuration i can look into that customer can only place order between certain time frames?


I am using Odoo18 with On-premises, with e-commerce, pos, inventory, sales and website modules at this time.


any feedbacks and suggestions are also welcomed.


Thanks.

Avatar
Zrušiť

The self ordering/ Kiosk functionality in PoS might meet your expectations. The service hours can be managed with register opening and closing

Best Answer

Option 1: Use Website Controller Override (Recommended for Flexibility)

Option 2: Nginx / Apache Restriction (Server-Level)

You can block or redirect traffic based on time using web server cron logic, but this is less flexible and not recommended if you're using Odoo SaaS or require dynamic handling.

Option 3: Scheduled Website Banner + Shop Button Hide (Soft UX)

Use Scheduled Actions (cron) or ir.cron + JavaScript to:

  • Dynamically hide Shop/Menu buttons outside business hours.
  • Show a banner like “Store is temporarily unavailable.”

This does not block access but gently guides user expectations.

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
2
aug 25
1380
2
júl 25
3068
0
jan 25
1465
0
okt 24
1606
1
mar 24
3017