How to get value from quote_address table for checkout and cart page in Magento2. Need values for guest and login user both in Magento2 cart and checkout page
You can use the below code :
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$cart = $objectManager->get('\Magento\Checkout\Model\Cart');
$billingAddress = $cart->getQuote()->getBillingAddress();
print_r($billingAddress->getData());
$shippingAddress = $cart->getQuote()->getShippingAddress();
print_r($shippingAddress->getData());