V
V
VICTORIAAN232020-05-29 17:13:41
WordPress
VICTORIAAN23, 2020-05-29 17:13:41

How to set the time of checkout without additional plugins on the food delivery site in Wordpress?

We work from 10:00 to 23:00, it is written on the website, but people still leave a request, either at 00:00 or at 5 in the morning, when you call them back in the morning, they answer that they wanted food delivered to them at the time when made an order and get upset, this situation is tired

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2020-05-29
@azerphoenix

Without additional I'm not sure about plugins. You can, for example, use js to catch a click on adding a product to the cart and other necessary triggers, and then, if the time is not working, then make an event.preventDefault and show a modal asking you to place an order later. And of course, make the "Place an order" button disabled using the same js tools, and that's all
. And with the help of plugins, I think you will find it yourself, since there are a lot of similar plugins.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question