// Fixed discount form display when cart rules are deactivated

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15894 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-06-07 08:02:33 +00:00
parent 6c1c05520c
commit fc0465406e
+1 -1
View File
@@ -303,7 +303,7 @@ class ParentOrderControllerCore extends FrontController
'token_cart' => Tools::getToken(false),
'isVirtualCart' => $this->context->cart->isVirtualCart(),
'productNumber' => $this->context->cart->nbProducts(),
'voucherAllowed' => Configuration::get('PS_VOUCHERS'),
'voucherAllowed' => Configuration::get('PS_VOUCHERS') && CartRule::isFeatureActive(),
'shippingCost' => $this->context->cart->getOrderTotal(true, Cart::ONLY_SHIPPING),
'shippingCostTaxExc' => $this->context->cart->getOrderTotal(false, Cart::ONLY_SHIPPING),
'customizedDatas' => $customizedDatas,