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?”

How to add Color picker field in ui component form Magento 2?

You can add the color picker field in the Ui Component form in the admin panel of the Magento. Using color picker you can choose a color from predefined color tree structure, add your custom color hash code or create specific color using adjusting color slider.

I have added color picker field in category form to show a demo of color picker in UI Component form XML. Continue reading “How to add Color picker field in ui component form Magento 2?”

How to check company registration is allowed from the store front B2B Magento 2?

Company Module in B2B Magento 2 allowed to create a registration for the company user from the storefront in Magneto 2.

Its store configuration setting to enable or disable storefront registration. By default, the B2B module allowed to create a registration from the frontend.

Go To admin panel,
Stores -> Configuration -> Company Configuration -> Allow Company Registration from the Storefront -> Yes/No. Continue reading “How to check company registration is allowed from the store front B2B Magento 2?”