Skip to content

Commit

Permalink
Merge pull request #687 from sniku/prevent_crash
Browse files Browse the repository at this point in the history
prevent crash on editable cart
  • Loading branch information
jrief committed Nov 13, 2017
2 parents df58b53 + b1bb0b8 commit 0bf29de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shop/templates/shop/cart/editable.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<tfoot ng-show="cart.num_items>0">
<tr>
<td colspan="2" rowspan="99">
{% render_plugin instance.left_extension %}
{% if instance.left_extension %}{% render_plugin instance.left_extension %}{% endif %}
</td>
<td class="text-right"><strong>{% trans "Subtotal" %}</strong></td>
<td class="text-right text-nowrap"><strong ng-bind="cart.subtotal"><!-- Subtotal --></strong></td>
Expand All @@ -61,7 +61,7 @@
</tr>
<tr class="no-border">
<td colspan="3" rowspan="0">
{% render_plugin instance.right_extension %}
{% if instance.right_extension %}{% render_plugin instance.right_extension %}{% endif %}
</td>
</tr>
</tfoot>
Expand Down

0 comments on commit 0bf29de

Please sign in to comment.