skip to Main Content

Magneto 2.2.0 add header and footer to checkout page – Magento

How to add header and footer to checkout page. I used the override method. I created checkou_index_index.xml file in following path layoutoverridethemeMagentoblank in my custom theme. <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceBlock name="minicart" remove="false" /> <referenceContainer name="header.panel" remove="false" /> <referenceBlock…

VIEW QUESTION

Switch store programmatically magento 2

I am trying to switch stores programmatically. I used following code to achieve it: /** * @var MagentoStoreModelStoreManagerInterface */ protected $_storeManager; public function __construct( MagentoStoreModelStoreManagerInterface $storeManager ) { $this->_storeManager = $storeManager; } and then: $this->_storeManager->setCurrentStore('YOUR_STORE_ID'); as given in https://magento.stackexchange.com/a/173763/59686 But…

VIEW QUESTION
Back To Top
Search