When I have a product in the shopping cart, I’d like to add an option to it. When existing options are rendered, they’re just printed out with a:
{%- for line_item in cart.items -%}
That renders list items that look like this:
- Age: 42
In the example
I would like to add another option to the cart from cart.liquid. I can’t simply add another
Is it possible to update the cart from the liquid code here, perhaps with a script tag?