[-] BO : #PSCFV-3066 - Fix bug on selecting delivery option

This commit is contained in:
mDeflotte
2012-07-05 13:20:38 +00:00
parent 650c0f448a
commit 3fa0d8ff9e
2 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -484,6 +484,7 @@ class OrderOpcControllerCore extends ParentOrderController
}
$carriers = $this->context->cart->simulateCarriersOutput();
$delivery_option = $this->context->cart->getDeliveryOption(null, true, false);
$vars = array(
'free_shipping' => $free_shipping,
'checkedTOS' => (int)($this->context->cookie->checkedTOS),
@@ -497,13 +498,13 @@ class OrderOpcControllerCore extends ParentOrderController
'delivery_option_list' => $this->context->cart->getDeliveryOptionList(),
'carriers' => $carriers,
'checked' => $this->context->cart->simulateCarrierSelectedOutput(),
'delivery_option' => $this->context->cart->getDeliveryOption(null, true),
'delivery_option' => $delivery_option,
'address_collection' => $this->context->cart->getAddressCollection(),
'opc' => true,
'HOOK_BEFORECARRIER' => Hook::exec('displayBeforeCarrier', array(
'carriers' => $carriers,
'delivery_option_list' => $this->context->cart->getDeliveryOptionList(),
'delivery_option' => $this->context->cart->getDeliveryOption(null, true)
'delivery_option' => $delivery_option
))
);