Skip to content

Commit

Permalink
Merge pull request django-oscar#1770 from adamend/fix-basketview
Browse files Browse the repository at this point in the history
Fix call to calculate_excl_discount
  • Loading branch information
maiksprenger committed Jun 4, 2015
2 parents eeca4db + 96417f3 commit bcc3ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oscar/apps/basket/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def get_context_data(self, **kwargs):
shipping_charge = method.calculate(self.request.basket)
context['shipping_charge'] = shipping_charge
if method.is_discounted:
excl_discount = method.calculate_excl_discount(shipping_charge)
excl_discount = method.calculate_excl_discount(self.request.basket)
context['shipping_charge_excl_discount'] = excl_discount

context['order_total'] = OrderTotalCalculator().calculate(
Expand Down

0 comments on commit bcc3ef4

Please sign in to comment.