Javatpoint Logo
Javatpoint Logo

How to create Product in Magento 2?

Magento 2 has six different types of products, as we have already discussed in the previous section. We can add these products to our website.

  1. Create a Simple Product
  2. Create a Configurable Product
  3. Create a Grouped Product
  4. Create a Virtual Product
  5. Create a Bundled Product
  6. Create a Downloadable Product

To add these different products in our webpage, follow the below steps:

  • Login to the Magento 2 Admin Panel.

Create a Simple Product

To create the Simple Product, follow the below steps:

Step 1: At the left of the Admin Panel, Go to Catalog >> Product.

How to create Product in Magento 2

Step 2: Click on the Add Product drop-down list and select the Simple Product.

How to create Product in Magento 2

Step 3: Enter the product details which are required in the given fields and click on the Save button. We can directly add the product in a particular category by clicking on Category drop-down list and even create a new Category by clicking on the Category button.

How to create Product in Magento 2

Step 4: The given product Power Bank is added to the Mobile Accessories category under Electronics. Similarly, choose the category of your product under which you want to add your new product and click on Done.

How to create Product in Magento 2

Note: Do not forget to add the product category. For the complete tutorial of Product Category, click here.

Create a new category

  1. To create a new category for products, click on New Category.
  2. Enter the Category Name and select the Parent Category to determine its position in the menu structure.
  3. Click on Create Category.

It is difficult to create a category in the middle. So, create the categories of the product before adding the product to the website. See the previous tutorial for Product Category Creation.

How to create Product in Magento 2

For the Simple Product, we need to fill the following details.

Product Enter the product name
SKU It is an identification number, through which we can exactly find a product using this code. We can use the default SKU.
Price The cost of the product to sell.
Tax Class Choose this box for the Taxable Goods, None or other.
Image & Video Upload the image or videos of the product.
Quantity Quantity of the available product in the store, choose the status to out of stock or in stock.
Weight Fill the weight of the product if needed.
Category Place the product in a suitable category, e.g., iron in the electronics category.
Description Describe the product that you want to sell. It helps the customer to understand more about the product.
Downloadable Information This field is for configurable or downloadable products only. So, it can be skipped while creating simple products.
Configuration

Step 5: Expand the Content section, where you can add a description for the product in the Description field. Add the description and short description here.

How to create Product in Magento 2

Step 6: In the image and video section, we can add the image or video of the product. Expand the Image and Video section and click on Browse to find or drag the image here to add the image of the product. Select the images from your system and Save.

How to create Product in Magento 2

Things to remember

  • Simple products can be included with the configurable, bundled, or grouped product types.
  • A simple product can have custom options with a variety of input controls that makes it possible to sell many product variations with a single SKU.

Create a Configurable Product

Here we will create configurable products based on the color attribute. To create the Configurable Product, follow the below steps:

Step 1: At the left of the Admin Panel, Go to Catalog >> Product, similar to the simple product.

How to create Product in Magento 2

Step 2: Click on the Add Product drop-down list and select the Configurable Product.

How to create Product in Magento 2

Step 3: Fill the product details which are required in the given fields such as product name, SKU, Quantity, etc. and click on the Save button. We can directly add the product in a particular category by clicking on Category drop-down list and even create a new Category by clicking on the Category button.

How to create Product in Magento 2

Step 4: Mark the checkbox of the category under which you want to add your product, and click on Done.

How to create Product in Magento 2

Note: Do not forget to add the product category. For the complete tutorial to add Product Category, click here.

Step 5: Expand the Content section, where we can add the description of the product in the Description field. Add the description and short description here.

How to create Product in Magento 2

Step 6: For Configurable product, we can add the configuration. It allows the customers to choose different options (e.g., Jacket color). Explore the Configuration and click on Create Configuration.

How to create Product in Magento 2

Step 7: Select the color attribute. You can also create other attributes if available for your product. Check the color and click on Next.

How to create Product in Magento 2

Step 8: Click on Create New Value and add different colors available for your product. Check or uncheck the available color for your product and click Next.

How to create Product in Magento 2

Step 9: Now, you need to configure the Image, Price, and Quantity of the product. Add the images of the product by attribute like color. We can choose any option as per our requirement. We either apply a single set of images to all SKU, unique image by attribute, or either skip it.

How to create Product in Magento 2

Step 10: Summary of the product is generated here. Now, click on the Generate Products and move ahead.

How to create Product in Magento 2

Step 11: Save the configured product from the top by clicking on the Save button. These products will be shown by selecting their attributes.

How to create Product in Magento 2

Step 12: Expand the Image and Video section and browse or drag the image here of the product. We can use any image as a base image, which will be initially visible to the customer on the website before selecting the color attribute.

How to create Product in Magento 2

Step 13: Click on the image you want to make the base image. A pop up will open where mark the Base option and get back to the previous page. Save the changes we made by clicking on the Save button. We will make the pink jacket as a base image here.

How to create Product in Magento 2

Things to remember

  • A configurable product allows the shoppers to select the options from the drop-down.
  • The attributes which are used for product variations must have a global scope, and the customers have to choose a value.
  • The thumbnail image in the shopping cart can be set to show the image from the configurable product record, or from the product variation.

Create a Grouped Product

To create the Grouped Product, follow the below steps:

Follow Step 1 to Step 6 is similar to the Simple product. Firstly add the product in the store database as a simple product, and then grouped products will be created.

Step 7: Click on the Add Product drop-down list and select the Grouped Product.

How to create Product in Magento 2

Step 8: Fill the product details which are required in the given fields and click on Save. Note that the quantity field is not enabled because the value is already taken from the individual products, which make up the group.

How to create Product in Magento 2

Step 9: Expand the Content section and provide a description of the grouped product.

How to create Product in Magento 2

Step 10: Now, expand the Grouped Product section below the Content and click on Add Product to Group.

How to create Product in Magento 2

Step 11: In the given list of products, mark the checkbox of each product which you want to add in the group. Then click on Add Selected Products as given in the below screenshot.

How to create Product in Magento 2

Step 12: The selected items will be visible in the grouped product section, as you can see in the below screenshot. Enter the default quantity of the grouped product and Save.

How to create Product in Magento 2

Click on the Remove option that is corresponding to the item, which you want to remove from the group.

Step 13: Expand the Image and Video section and click on Browse to find or drag the image here to add the image for grouped products. Select the images from your system and Save.

How to create Product in Magento 2

Things to remember

  • A grouped product is basically a collection of simple products.
  • Each product purchased appears individually in the shopping cart instead of as a part of the group.
  • The thumbnail image in the shopping cart can be set to display the image from the grouped parent product or associated product.

Create a Virtual Product

To create the Virtual Product, follow the below steps:

Step 1: At the left of the Admin Panel, Go to Catalog >> Product, similar to the simple product.

How to create Product in Magento 2

Step 2: Click on the Add Product drop-down list and select the Virtual Product.

How to create Product in Magento 2

Step 3: Fill the product details which are required in the given fields such as product name, SKU, Quantity, etc. Click on the Save button and continue.

How to create Product in Magento 2

Note that this item has no weight because the virtual product is not shipped. So, the Weight field is not enabled.

Step 4: Add the product in a specific category by clicking on the category drop-down list. If the category does not exist, then create a new category. Follow the steps given below for creating a new category.

Create a new category

  1. To create a new category of a product, click on New Category.
  2. Enter the Category Name and select the Parent Category to determine its position in the menu structure.
  3. Click on Create Category.

It is a bit difficult to create a category in the middle. So, create the categories of the product before adding the product to the website. See the previous tutorial for Product Category Creation.

How to create Product in Magento 2

Step 5: Add the description of the virtual product. Expand the Content section and provide the description and short description of the product.

How to create Product in Magento 2

Step 6: Expand the image and video section and insert the image of the product. Click on Save and continue.

How to create Product in Magento 2

Things to remember

  • Virtual products are non-tangible products, which are not shipped, such as membership, subscription, warranty, etc.
  • These are much similar to the simple product but without weight.
  • The shipping option will not appear during checkout unless the cart contains a tangible product.

Note: The process of creating a simple product and virtual product is the same.


Create a Bundled Product

The selection of the options appears when the customer clicks either the Customize or Add to Cart button. Because the products that are included in bundle vary. The SKU, Weight, and Price can be set to either a fixed or dynamic value.

The below instructions take us through the process of creating a bundle product using required fields and basic settings. Each required field while creating any product is marked with a red asterisk (*). After finishing the basics, we can complete the advanced setting and other settings.

To create the Bundle Product, follow the below steps:

Follow Step 1 to Step 6, which is similar to the Simple product. Firstly add the product in the store database as a simple product, and then the bundle product will be created.

Step 2: Click on the Add Product drop-down list and select the Bundle Product.

How to create Product in Magento 2

Note that there are some changes in the given fields to add bundle products, such as - SKU, Weight, Price, ?between fixed, and dynamic.

  1. A Dynamic SKU can be assigned to each bundled product by adding a suffix to the default SKU. By default, Dynamic SKU is set to Yes.
  2. If you want to assign a unique SKU to each bundled product, then set Dynamic SKU to No.
  3. Similarly, to charge the fixed price for the bundle, set the Dynamic Price to No, and enter the price for the bundle.
How to create Product in Magento 2

Step 3: Enter the required information in the given input fields and click on the Save.

How to create Product in Magento 2

Step 4: Now, scroll down to the Bundle item section and set the Ship Bundle Items to one of the following.

  • Separately
  • Together
How to create Product in Magento 2

Click on the Add Option and expand the fields to add options as given inside the Bundle Items at the right down corner, and do the following:

1. Enter the option title and set the input type from one of the given options:

  • Drop-down
  • Radio Buttons
  • Checkbox
  • Multiple Select

2. Mark the Required checkbox to make the field a required entry.

How to create Product in Magento 2

3. Click on the Add Product to option and select the products which you want to include in this option by marking the checkbox. If there are so many products, then we can use the filter and pagination control to find the product easily and quickly.

4. After selecting the product, click on Add Selected Products.

How to create Product in Magento 2

5. The selected products will appear inside the Option section. Enter the quantity of each product that is added to the bundle and save.

How to create Product in Magento 2

Step 5: In the image and video section, insert the image or video of the bundle product. Expand the Image and Video section and click on Browse to find or drag the image here to add the image of the product. Select the images from your system and Save.

How to create Product in Magento 2

Step 6: On the frontend, the customer can select the item by marking the checkbox of the product. The price of the items will be added accordingly. Click on the Customize and Add to Cart at the frontend.

How to create Product in Magento 2

Things to remember

  • Bundle products can be shipped separately or together.
  • SKU and Weight can be either Dynamic or Fixed.
  • The main thing about the bundle product is that the customer can "build their own" bundle product.
  • Bundle items can be virtual or simple products with custom options.

Create a Downloadable Product

To create the Downloadable Product, follow the below steps:

Step 1: At the left of the Admin Panel, Go to Catalog >> Product, similar to the other product.

How to create Product in Magento 2

Step 2: Click on the Add Product drop-down list and select the Downloadable Product.

How to create Product in Magento 2

Step 3: Fill the product details which are required in the given fields such as product name, SKU, Quantity, etc. Click on the Save button and continue.

How to create Product in Magento 2

Note that this item has no weight because the downloadable product is not shipped. So, the Weight field is not enabled.

Step 4: Add the product in a category by clicking on the category drop-down list. If the category does not exist, then create a new category. Follow the below steps to create a new category.

Create a new category

  1. To create a new category of a product, click on New Category.
  2. Enter the Category Name and select the Parent Category to determine its position in the menu structure.
  3. Click on Create Category.
How to create Product in Magento 2

Note: To create the categories of the product before adding the product to the website, see the previous tutorial for Product Category Creation.

Step 5: Add the description of the downloadable product which you are going to add in your store. Explore the Content section and provide the description and short description of the product.

How to create Product in Magento 2

Step 6: Expand the image and video section and insert the image of the product. Click on Save and continue.

How to create Product in Magento 2

The process of creating a downloadable product till the Image and Video section is much similar to the virtual product.

Step 7: Now, scroll down to the Downloadable Information section and expand it. Mark the "Is this downloadable product?" Checkbox.

How to create Product in Magento 2

The downloadable information section has two parts. The first part of the downloadable information section describes each download link, and the second part describes each sample file.

Complete Link

  1. Enter the Title that is used as a heading for download links.
  2. Marks the Links can be purchased separately checkbox if applicable.
  3. Click on the Add Link and complete the link.
  4. Enter the Title and Price of download.
  5. For both the File and Sample files, choose one of the following methods:
    • Upload File - Choose Upload File from the drop-down list to upload the distribution file to the server, and browse the file for upload.
    • URL - Choose URL to access the distribution file from a URL and then enter the full URL to the download file.
  6. Set Shareable to No, which requires the customers to log in to their account to access the download link. If Yes is set in Shareable, the customers can share the link with others through email.
  7. Enter the number of Max Download to limit downloads per customer otherwise, allow unlimited download by marking the Unlimited Checkbox.
How to create Product in Magento 2

To add another link again, click on Add Link and repeat these steps.

Complete Sample

  1. Enter the Title that is used as a heading for the samples.
  2. Click on Add Link to complete the information for each sample.
  3. Do the same as the Link section and complete the Sample part.
How to create Product in Magento 2

Things to remember

  • The downloadable product can be uploaded on the server, or linked from another server on the internet.
  • We can determine how many numbers of times a customer downloads a product.
  • The customer, who buys a downloadable product have to log in before going through the checkout.
  • The delivery of a downloadable product can be done when the order is either Invoiced or in a Pending state.





Help Others, Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA