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.
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.
The code snippet below allows you to: Show a notice on the cart and checkout page, reminding customers that they get a discount if spending more than a minimum amount. Automatically apply a discount and show a notice that the discount was applied when the cart total is more than a minimum amount. First make sure you … Read moreApply a coupon discount for minimum cart total