Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

[-] BO : fixed PSCFV-11702 #1436

Closed
wants to merge 1 commit into from

2 participants

@rGaillard
Owner

Thank you for your PR! However, this is better to only compute the shipping price that change the "type" itself. See c9afdb7

Best Regards,

@rGaillard rGaillard closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 19, 2014
  1. [-] BO : fixed PSCFV-11702

    timsit authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  classes/Cart.php
View
2  classes/Cart.php
@@ -1338,7 +1338,7 @@ public function getOrderTotal($with_taxes = true, $type = Cart::BOTH, $products
if (!in_array($type, $array_type))
die(Tools::displayError());
- $with_shipping = in_array($type, array(Cart::BOTH, Cart::ONLY_SHIPPING));
+ $with_shipping = in_array($type, array(Cart::BOTH, Cart::ONLY_SHIPPING, Cart::ONLY_DISCOUNTS));
// if cart rules are not used
if ($type == Cart::ONLY_DISCOUNTS && !CartRule::isFeatureActive())
Something went wrong with that request. Please try again.