How to check admin user is login in Magento 2?

You can check the Admin user is login or not using Magento 2 with Backend Session class.

Full path:
Magento\Backend\Model\Auth\Session

You need to create an injectable class in the __construct() method to check the admin user is login. Continue reading “How to check admin user is login in Magento 2?”

How to modify Personal Information section of the customer view tab in admin panel Magento 2?

The personal information section of the Customer view tab in the customer edit page in admin panel Magento 2 displays the basic details of the customer.

The customer Personal info section will be useful for the admin representative to manage customer-related changes. All the data will be presentation purposes only. You can also check the Default billing address section of the customer at the bottom. Continue reading “How to modify Personal Information section of the customer view tab in admin panel Magento 2?”

How to Remove Product reviews tab from customer edit admin panel Magento 2?

Remove the Product reviews tab from the customer section of the admin panel using Magento 2 by layout XML.

When you remove the product reviews tab, it will be removed from the left sidebar of the Customer edit section in the admin panel.

Reviews tab contains the grid of all the items in which the customer has given a review from the store. Continue reading “How to Remove Product reviews tab from customer edit admin panel Magento 2?”