1 vote

Get customer custom attribute value without loading the customer

You can retrieve customer custom attributes from the customer session; there's no need to load the customer every time in Magento. Please check the code below. protected $sessionFactory; public ...
Msquare's user avatar
  • 8,475

Only top scored, non community-wiki answers of a minimum length are eligible