This is a beta release of documentation for Magento 2.4, published for previewing soon-to-be-released functionality. Content in this version is subject to change. Links to the v2.4 code base may not properly resolve until the code is officially released.

Customize product creation form

This tutorial describes how developers can customize the product creation form used on the product creation and product edit pages in Admin. The product creation form is implemented using the form UI component.

Product attributes and attribute sets available in the form, can be customized and added under STORES > Attributes in the Admin. But you can also customize the form view and behavior in code. The following sections describe what files define the form and how they can be customized in your module.

Prerequisites

Set Magento to developer mode while you perform all customizations and debugging.

For the sake of compatibility, upgradability, and easy maintenance, do not edit the default Magento code. Instead, add your customizations in a separate module.

List of customization methods

This tutorial includes the following customizations:

Related topics

The following image is an illustration of the default view of the form on the New Product page:

The product creation page in Admin