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 Manage Checkbox field in ui component form Magento 2?

You can Manage/Add the checkbox component field in the admin panel Ui Component Form Magento. You can add a Checkbox type field with toggle, radio, and regular checkbox options.

Use formElement as a checkbox in the XML file with a field tag. <field name=”my_field” sortOrder=”10″ formElement=”checkbox”> Continue reading “How to Manage Checkbox field in ui component form Magento 2?”