--- title: "Liquid objects: cart" description: A customer’s cart. api_name: liquid source_url: html: https://shopify.dev/docs/api/liquid/objects/cart md: https://shopify.dev/docs/api/liquid/objects/cart.md --- # cart A customer’s cart. ## Properties * * attributes * Additional attributes entered by the customer with the cart. To learn more about capturing cart attributes, refer to the [`cart` template](https://shopify.dev/themes/architecture/templates/cart#support-cart-notes-and-attributes). ExampleCapture cart attributes To capture a cart attribute, include an HTML input with an attribute of `name="attributes[attribute-name]"` within the cart `