Getting started with server-side validation in cart and checkout

You can use cart and checkout validations to ensure that purchases meet certain criteria before checking out, or completing an order. In this tutorial, you’ll use Shopify Functions to enforce an order maximum for buyers with insufficient order history, preventing them from proceeding through checkout.