Magento 2 get Customer session with FPC enabled
Magento 2 get Customer session with FPC enabled
I have faced this issue many times and finally solved by implementing like this. Yeah we can call this a patch but need to implement this till we are having issue in Magento 2 FPC and customer session. Hope this will be helpful to someone.
_object = $interface; } public function getCustomerSession() { $customerSession = $this->_object->create('Magento\Customer\Model\SessionFactory')->create();…
View On WordPress











