if ($this->
Request()->
getPost('sDispatch'
)) { $this->session
['sDispatch'
] =
(int) $this->
Request()->
getPost('sDispatch'
);
} if ($this->
Request()->
getPost('sState'
)) { $this->session
['sState'
] =
(int) $this->
Request()->
getPost('sState'
);
} // We might change the shop context here so we need to initialize it again
$this->
get(ContextServiceInterface::
class)->
initializeShopContext();
// We need an indicator in the view to expand the shipping costs pre-calculation on page load
$this->
View()->
assign('calculateShippingCosts', true
);
$this->
forward($this->
Request()->
getParam('sTargetAction', 'index'
));
} /**
* Action to handle selection of shipping and payment methods
*
* @return void
*/