Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix voucher displayed value in checkout summary
Krzysztof Wolski058e754d2680
diff --git a/templates/checkout/snippets/voucher-form.html b/templates/checkout/snippets/voucher-form.htmlindex 647f99c693..f1d3b52641 100644--- a/templates/checkout/snippets/voucher-form.html+++ b/templates/checkout/snippets/voucher-form.html@@ -1,7 +1,6 @@{% load bootstrap_field bootstrap_button bootstrap_icon from bootstrap3 %}{% load trans from i18n %}{% load gross from prices_i18n %}-{% load discount_amount_for from prices %}{% if form %}<tr>@@ -20,7 +19,7 @@</form></td><td class="noborder text-right">- {% gross discount|discount_amount_for:total %}+ -{% gross discount.amount %}</td>{% else %}<form action="{{ request.path }}?next={{ request.path }}"