Set a minimum order amount for checkout

This code sets a minimum amount that will allow you to proceed with a checkout. The example uses 50 as the minimum and the checkout button is disabled until that amount is reached.