What's this?
Cart attributes are used to collect additional information about the order. This information can be collected from the buyer on the cart page. To learn more about cart attributes, see the cart object Liquid reference.

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.

Preview
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.