// Delivery option are now auto-selected in the checkout

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10572 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2011-11-23 17:21:30 +00:00
parent ba7ec2dd9d
commit 3989b708c8
4 changed files with 5 additions and 5 deletions
+3 -2
View File
@@ -71,7 +71,8 @@ class OrderOpcControllerCore extends ParentOrderController
$return = array(
'summary' => $this->context->cart->getSummaryDetails(),
'HOOK_TOP_PAYMENT' => Hook::exec('paymentTop'),
'HOOK_PAYMENT' => $this->_getPaymentMethods()
'HOOK_PAYMENT' => $this->_getPaymentMethods(),
'carrier_data' => $this->_getCarrierList(),
);
die(Tools::jsonEncode($return));
}
@@ -236,7 +237,7 @@ class OrderOpcControllerCore extends ParentOrderController
}
}
else
throw new PrestashopException('Method is not defined'.Tools::isSubmit('method'));
throw new PrestashopException('Method is not defined');
}
}
elseif (Tools::isSubmit('ajax'))