Quantcast
Viewing all articles
Browse latest Browse all 11091

Esteban commented on Order Printer App and Line Item Properties

Hi,

I thought I had the same problem, but I was making a mistake in the code. The solution to display line item properties in the Order Printer App is this:

Replace line_item default code with the following:

{% for line_item in line_items %}<tr><td>{{ line_item.quantity }} x</td><td>{{ line_item.title }}{% for property in line_item.properties %}<p>{{ property.first }}: <em>{{ property.last }}</em><p>{% endfor %}</td><td>{{ line_item.price | money }}</td></tr>
{% endfor %}

Hope this helps!


Viewing all articles
Browse latest Browse all 11091

Trending Articles