跳至內容
選單
此問題已被標幟
1 回覆
905 瀏覽次數

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.

頭像
捨棄

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

最佳答案

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
8月 25
1384
2
7月 25
3071
0
1月 25
1466
0
10月 24
1606
1
3月 24
3020