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".
However, my colleague and I cannot figure out how to put this in.

Please help,

Desperate Coder