Checkout: Render template prices (untaxed, tax and total amount)
This commit is contained in:
parent
96a9b0b0b8
commit
679307c356
7
cart.py
7
cart.py
|
@ -573,6 +573,11 @@ def checkout(lang):
|
|||
carts=carts,
|
||||
values=values,
|
||||
errors=errors,
|
||||
prices={
|
||||
'untaxed_amount': untaxed_amount,
|
||||
'tax_amount': tax_amount,
|
||||
'total_amount': total_amount,
|
||||
},
|
||||
)
|
||||
|
||||
@cart.route("/", endpoint="cart")
|
||||
|
@ -700,7 +705,7 @@ def cart_list(lang):
|
|||
'untaxed_amount': untaxed_amount,
|
||||
'tax_amount': tax_amount,
|
||||
'total_amount': total_amount,
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
@cart.route("/pending", endpoint="cart-pending")
|
||||
|
|
Loading…
Reference in New Issue