I am using Book That App (BTA) on my store for customers to select the dates that they’d like for the services we offer. The dates are stored in line properties and I can see them when I export the order using Matrixify so I sure they are there.
When I try to have the dates appear on the confirmation email, they do not appear.
Here is the code I’ve tried without success.
{% assign propertySize = item.properties | size %}
{% if propertySize > 0 %}
{% for p in item.properties %}
{% assign first_character_in_key = p.first | truncate: 1, ‘’ %}
{% unless p.last == blank or first_character_in_key == ‘_’ %}
{{ p.first }}:
{% comment %}
Check if there was an uploaded file associated
{% endcomment %}
{% if p.last contains ‘/uploads/’ %}
{{ p.last | split: ‘/’ | last }}
{% else %}
{{ p.last }}
{% endif %}
{% endunless %}
{% endfor %}
{% endif %}
I have also tried the following code, also without success
{% unless line_item.properties == empty %}
-
{% for property in line_item.properties %}
- {{ property.first }}: {{ property.last }} {% endfor %}
any ideas what’s going on?