Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
171 Ansichten

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
Verwerfen

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

Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Jan. 25
634
0
Okt. 24
839
1
Feb. 25
1669
1
März 24
1971
1
Feb. 24
1153