Agreement checkboxes
An agreement checkbox is what the customer has to select before they can add to the cart: your terms and conditions, a confirmation that the prescription they typed is theirs and up to date, or whatever your optical store needs them to accept before buying. It shows above the Add to cart button, at the end of the form and whichever path the customer took to get there, and what they accept is written into the order.
Where to set it up
Section titled “Where to set it up”In the form editor, Design tab, Agreement checkboxes section, right after Summary & Total. Each form has its own: one without checkboxes adds to the cart without asking for anything else, as always.
Click Add checkbox. It starts with an example text, “I have read and accept the terms and conditions”, with “terms and conditions” linked to your terms of service. It comes in your store’s primary language —in English if that is neither English nor Spanish— and translated if you also sell in the other of the two. Keep it as it is or rewrite it: the text is yours.
When you save the form, the checkbox reaches your store like any other change (see how forms reach your store).
Each checkbox
Section titled “Each checkbox”- Heading (optional) — a short line above the checkbox, like “Terms and conditions”.
- Checkbox text — what the customer accepts. Below it, How the customer sees it shows the result, links included.
- The customer has to select it — on by default. Without it, Add to cart does nothing and says what is missing. Turn it off for an optional checkbox.
- Save it in the order — on by default. Adds a line to the order, for example “Terms accepted: Yes”. Below it you have Name of that line and Hide that line from the cart (see What the order keeps).
- Move up, Move down and Remove — to sort or delete checkboxes if you have several.
Links to your policies
Section titled “Links to your policies”Select a few words of the text and click Insert link. Under Links to, pick the target:
- One of your Shopify policies: Terms of service, Privacy policy, Refund policy, Shipping policy, Legal notice, Contact information or Subscription policy. They come from Settings › Policies in your admin, and each customer lands on the one in their language.
- Another address: a page of your store by its path (
/pages/terms) or a full address (https://…).
Links open in a new tab, so the customer does not lose what they have configured.
In the text, the link is written like this: [terms and conditions](terms). If you would rather type it, Link shortcuts lists what can go between the brackets: terms, privacy, refund, shipping, legal, contact or subscription for your policies; a path starting with /; or an address starting with https://.
Languages
Section titled “Languages”The section has its own language picker, which opens on the form’s base language. Pick another one and write the heading, the text and the order-line name in that language. Where a translation is missing, the customer sees the base text; in the base language, the editor tells you which published languages are still untranslated.
If you rewrite the example text, its automatic translations are removed —they would still say the example sentence, not yours— and those languages stay untranslated until you write theirs.
A checkbox with no text in the base language does not show in any language, even if it has translations, and blocks no one. The editor warns you on the checkbox itself.
Appearance
Section titled “Appearance”Under Appearance:
- Text size, for desktop and for mobile. On automatic it follows the step description, and it never goes under 12px.
- Checkbox size: automatic (20px) or 16 to 32px.
- Text color, Background color and Selected checkbox color. Empty, the form’s own colors are used.
If text and background have low contrast (under 4.5:1), the editor warns you; it does not stop you from saving.
Messages
Section titled “Messages”Under Messages:
- Warn above the button before the customer presses it — on by default. While a required checkbox is not selected, “Please select the checkbox above to add to cart.” shows above Add to cart, explaining why the button looks unavailable. Turn it off and the customer will not know what is missing until they press.
- Message that explains the button and Error next to the checkbox — to say it your way. Empty, the default texts are used. They are the same texts as under Design › Interface texts.
- Message size (desktop and mobile) and Message color.
- Animate the checkbox when it is left unselected — on by default. If the customer presses Add to cart without selecting a required checkbox, the checkbox moves briefly to show what is missing. On devices set to reduce motion it never moves.
What the customer sees
Section titled “What the customer sees”- The checkboxes show in the configurator’s footer, above Add to cart, on the step that ends the form, whichever path led there. They do not show on steps with Next.
- They always start unselected. Every time the customer opens the configurator they have to select them themselves; not even a remembered half-finished configuration brings them back selected. While the configurator stays open, they keep the state the customer left them in, even after going back and returning to the end.
- Clicking the text also selects the checkbox.
- If they press Add to cart without selecting a required one, nothing is added: “Please select this checkbox to continue.” appears next to the checkbox and the focus moves to it. While that error is on screen, the message above the button stays quiet: one problem, one message.
- A long text does not cover the button: the block takes at most 30% of the screen height and scrolls inside beyond that.
What the order keeps
Section titled “What the order keeps”With Save it in the order on and the checkbox selected, the main product of the order gets one more line with the name you chose and the value “Yes”, for example “Terms accepted: Yes”. With no name, the checkbox heading is used; with no heading either, “Terms accepted”. The value and the default name are in the customer’s language.
- With Hide that line from the cart, the customer does not see it in the cart, at checkout, on the order status page or in the confirmation email. It still reaches the order in your admin.
- If Hide selection labels from the customer is on (in this same tab), the checkbox line is hidden from the customer too.
- An optional checkbox the customer did not select leaves nothing.
- Two checkboxes with the same name do not overwrite each other: the second line is numbered.
Fixed texts
Section titled “Fixed texts”Under Design › Interface texts you change, per language, the five fixed texts of the checkboxes. They are listed as “Agreement checkbox: …”: the message above the button, the error, the value saved in the order (“Yes”), the default name of the order line (“Terms accepted”) and the notice that a link opens in a new tab, which only screen readers read.
They come in English and Spanish. If you sell in another language, they show in your store’s primary language if that is Spanish, and in English otherwise, until you write them there.
What it does not do
Section titled “What it does not do”- It does not hang off a step in the middle of the form: it always sits next to Add to cart.
- It does not come preselected: that option does not exist.
- It is not marketing consent: it does not subscribe the customer to your emails.