less than a minute read • Updated an hour ago
Add a terms of service checkbox to your checkout
How to show a terms of service checkbox on your checkout and require customers to agree to your terms before they can place an order.
Your store includes a built-in terms of service checkbox. Turn it on, point it at your terms page, and set it to required — customers then cannot complete an order until they have checked it. No custom code or template editing is needed.
Steps
Notes
The checkbox renders near the bottom of the checkout, just above the place order button.
When set to required, a customer who tries to submit without checking the box sees an inline error and the order is not submitted.
The checkbox can also be set to start out already checked, or to be hidden. Hiding it is only useful if you are handling the agreement yourself in a custom template.
To change the default wording of the checkbox label, edit the relevant strings under Settings > Languages rather than editing the template.
If you need the terms link to change depending on the customer's country or region — for example separate terms per market — that requires a small amount of custom checkout code rather than this setting. See Change the terms of service link by location.