// 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:
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user