×

 

Home Contact Us Payments SC Commerce SC Commerce Docs SC Commerce Snippets

Simply Computing

We make websites. Simple.

Set a minimum order quantity for checkout

This code sets a minimum order quantity before checkout is allowed to proceed. The checkout button is hidden and an error message is displayed. This example sets the minimum order to 12. The error message can be edited to suit.

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.