What's this?
Cart attributes are used to collect additional information about the order, from the buyer, on the cart page. If you want to learn more about cart attributes, how they can be used in your store, check out the article Ask a customer for additional information.

Set your form field

Separate your options with a comma.
If you use “Required” with a checkbox, then the checkbox will need to be checked for the customer to check out.

Your form field will look like this:

Grab your code
Copy and paste the code below into your cart.liquid file between the <form> and </form> tags. The form field will appear wherever you place the code.