Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions partials/cart_content.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
{{ line.description }}
</div>
<div class="cart_table-schedule">
{% include "partials/cart_line_properties.html" with attributes=line.attributes.all %}
<div>
{% t "tables.content.price" %}:
{% if not line.unit_price_incl_tax and not line.unit_tax_excl_tax %}
Expand Down
5 changes: 5 additions & 0 deletions partials/cart_line_properties.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{% for attribute in attributes %}
{% if attribute.option.code|first not in "_" %}
Comment thread
surasakp marked this conversation as resolved.
Outdated
<div>{{ attribute.option.code }}: {{ attribute.value }}</div>
{% endif %}
{% endfor %}
5 changes: 4 additions & 1 deletion partials/cart_summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@
</tr>
{% for line in group.lines %}
<tr>
<td>{{ line.product.get_title }}</td>
<td>
{{ line.product.get_title }}
{% include "partials/cart_line_properties.html" with attributes=line.attributes.all %}
</td>
<td>{{ line.quantity }}</td>
<td>{{ line.rebill_unit_price_excl_tax_incl_discount|currency:group.currency }}</td>
</tr>
Expand Down