44 $this->_coreRegistry = $coreRegistry;
55 if ($this->_coreRegistry->registry(self::VIV_CURRENTLY_SAVED_ADDRESS)) {
56 $this->_coreRegistry->unregister(self::VIV_CURRENTLY_SAVED_ADDRESS);
62 $this->_coreRegistry->register(self::VIV_CURRENTLY_SAVED_ADDRESS,
$customerAddress->getId());
64 $configAddressType = $this->_customerAddress->getTaxCalculationAddressType();
71 $this->_coreRegistry->register(self::VIV_CURRENTLY_SAVED_ADDRESS,
'new_address');
__construct(HelperAddress $customerAddress, Registry $coreRegistry)
execute(Observer $observer)
const VIV_CURRENTLY_SAVED_ADDRESS