Set rules in shopping cart

Hi guys,

Do you know if it is possible to configure shopping cart? I just need to check some basic rules, like:

  1. If user didn´t add into the list an hour > Bottom pay off and Message show: “You have to select an hour to complete your order”

Could you please, give me a hint for it?

Many thanks in advance,