Add subtitle to order line item

This commit is contained in:
Nathan Chapman 2024-03-23 14:53:14 -06:00
parent 39a7b56b40
commit 54b7053292

View File

@ -73,7 +73,11 @@
{% else %}
<img class="product-image" src="{{product.get_first_img.image.url}}" alt="{{product.get_first_img.image}}">
{% endif %}
<figcaption><strong>{{line.variant}}</strong><br>{{line.customer_note}}</figcaption>
<figcaption>
<strong>{{line.variant}}</strong><br>
<strong><em>{{ line.variant.product.subtitle }}</em></strong><br>
{{line.customer_note}}
</figcaption>
</figure>
</td>
<td>{{product.sku}}</td>
@ -90,7 +94,11 @@
{% else %}
<img class="product-image" src="{{product.get_first_img.image.url}}" alt="{{product.get_first_img.image}}">
{% endif %}
<figcaption><strong>{{line.product}}</strong><br>{{line.customer_note}}</figcaption>
<figcaption>
<strong>{{line.product}}</strong><br>
<strong><em>{{ line.product.subtitle }}</em></strong><br>
{{line.customer_note}}
</figcaption>
</figure>
</td>
<td>{{product.sku}}</td>