Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $om = MagentoFrameworkAppObjectManager::getInstance();
- $customerSession = $om->get('MagentoCustomerModelSession');
- $customerData = $customerSession->getCustomer()->getData(); //get all data of customerData
- $customerData = $customerSession->getCustomer()->getId();//get id of customer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement