I want to change the country in estimate shipping (cart page) programatically in my module (meaning user clicks on a button in footer on homepage and I change the shipping country on cart page for that session):
However it doesn't work if I do it with the session object.
// Magento\Checkout\Model\Session;
$quote = $this->session->getQuote()
$quote->getShippingAddress()->setCountryId('GB')->save();
$quote->getShippingAddress()->getCountryId() // returns GB which is right, but the sidebar on frontend is still showing US on refresh.