[-] BO : #PSTEST-590 - Fix bug with undefined smarty variable "HOOK_EXTRACARRIER_ADDR" + By default use the default country of the shop to calculate shipping cost
This commit is contained in:
@@ -370,6 +370,7 @@ class OrderOpcControllerCore extends ParentOrderController
|
||||
$carriers = $this->context->cart->simulateCarriersOutput();
|
||||
$this->context->smarty->assign(array(
|
||||
'HOOK_EXTRACARRIER' => null,
|
||||
'HOOK_EXTRACARRIER_ADDR' => null,
|
||||
'HOOK_BEFORECARRIER' => Hook::exec('displayBeforeCarrier', array(
|
||||
'carriers' => $carriers,
|
||||
'checked' => $this->context->cart->simulateCarrierSelectedOutput(),
|
||||
|
||||
Reference in New Issue
Block a user