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

Simply Computing

We make websites. Simple.

Display extra amount needed for free shipping

If you offer free shipping for more than a certain order value, it can be helpful to show a message in the cart to tell the customer how much more they need to spend to qualify for free shipping.

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.