Craft Commerce: Displaying Individual Product Options in the Cart? In the cart example code the selected options are displayed in an unformatted list like so:

{{ item.options|json_encode }}


I noticed that the note field text could be outputted individually like so:

{{ item.note }}


I'm looking to do the same for the select fields on my product, so if I had a list of options like the gift wrap example, how would I then output the result individually (so that I can format how I like)?

&lt;select name="options[giftWrapped]"&gt;
  &lt;option value="no"&gt;No gift wrap.&lt;/option&gt;
  &lt;option value="yes"&gt;Gift wrapped.&lt;/option&gt;
&lt;/select&gt;
Answer is the example code for the cart:

{{ item.options.giftWrapped }}