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

This commit is contained in:
mDeflotte
2011-11-23 17:21:30 +00:00
parent f44b8bc2da
commit ce52b01f14
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'))