Display option selections on customer account page
PreviousHide _io_order_group and _io_parent_order_group from cartNextWhy are option selections labeled "infinite_options_1"?
Last updated
Last updated
Follow the steps below on how to display option selections in each order on the customer account page.
1. From your Shopify admin, click Online Store, then click Themes.
2. Find the theme you want to edit, click the Actions button, then click Edit code.
3. Under the Templates folder, navigate into the customers/order.liquid file.
4. In this file, locate the following line of code.
{{ line_item.title | link_to: line_item.product.url }}
5. Copy and paste the following snippet after the line of code.
{% for p in line_item.properties %}
{% if p.first contains '_io_' %}
{% continue %}
{% endif %}
{% unless p.last == blank %}
<br />{{p.first}}: {{ p.last }}
{% endunless %}
{% endfor %}
6. Save your changes.