I am currently helping to create a script for a restaurant's online delivery service.
The restaurant has a minimum order of £10 and i want to incorporate this into the script
e.g. a customer's order comes up at £8 and clicks submit, a message box displays "Minimum order is £10 please increase your order". and the order will not go through.
But once order is £10 or above, the order will go through.
However, my colleague and I cannot figure out how to put this in.
Please make answer as simple as possible and some examples
(can upload code if required)