Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
903 Weergaven

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
Annuleer

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

Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
aug. 25
1383
2
jul. 25
3071
0
jan. 25
1466
0
okt. 24
1606
1
mrt. 24
3019