Support & Downloads

Quisque actraqum nunc no dolor sit ametaugue dolor. Lorem ipsum dolor sit amet, consyect etur adipiscing elit.

s f

Contact Info
198 West 21th Street, Suite 721
New York, NY 10010
[email protected]
+88 (0) 101 0000 000

How To Create Bundle Products in Magento 2

According to Magento docs,

Bundle product makes it possible for the customers to customize the products as their desire. Each item in a bundle can be based on Simple products or Virtual Products.

There are six product types in Magento 2:

  1. Simple Product
  2. Configurable Product
  3. Grouped Product
  4. Virtual Product
  5. Bundle Product
  6. Downloadable Product

Among these, The bundle product is quite similar to the grouped product in Magento 2 because it is possible to add more items to one product and sell it. 

However, while your customers cannot choose among many attributes of things in the grouped products according to their needs, they can do it with the bundle products when many options are ready for their choices.

Simplistically, Using this product, one can sell the product as a kit, but contrary to a grouped product, you cannot skip any of its components. Products belonging to it cannot be sold separately, and you can only select which exactly options from offered you prefer.

An example of Magento 2 Grouped Product is a laptop where the customer can choose various monitors, processors, memory etc.

Let’s create a bundle product in Magento2 …

Or, you can create bundle products programmatically in Magento2!

Steps to create Bundle products in Magento 2:

  1. Login to admin panel
  2. Navigate to Catalog > Products
  3. Under the Add Product menu, select Bundle Product in the upper right corner
  1. Fill the below details after enabling the product:
    1. Attribute Set – Select the attribute set as default or create an attribute set.
    2. Product Name – Enter the product name
    3. SKU – Enter the SKU of the product. However, Magento takes the product name as the default SKU
  2. Price – Set the price of the product. If the bundle has Dynamic Pricing, the tax is determined for each bundle item.
  3. Tax Class – Select None or Taxable Goods. If the bundle has Dynamic Pricing, the tax is determined for each bundle item.
  4. Quantity – The quantity is not available because the value is determined for each bundle item.
  5. Stock Status – Set the stock status accordingly. Here, the default value is In Stock.
  6. Weight – Enter the weight of the product by setting No to dynamic weight option if you want to assign a fixed weight to the bundle.
    Set Dynamic Weight set Yes and leave Weight blank if you want to have the weight reflect the options chosen by the customer.
  1. Categories – Assign categories to the product using Select box and choose the existing category or create a new one.
  2. Set Product As New From – Set the dates to feature the product as new.
  3. Country of Manufacture – Select the country name from the drop-down.
  1. Content
    1. Description – Enter the main product description for displaying on the product page
    2. Short Description – Enter the short description, mainly for the RSS feed or product page, catalog page, etc
  2. Bundle Items
  1. In the Bundle Items section, set Ship Bundle Items to Separately or Together.
  2. Click Add Option and do the following:
    1. Enter an Option Title to be used field label.
    2. Set Input Type to Drop-down, Radio buttons, Checkbox, or Multiple Select.
    3. Mark the Required checkbox, To make the field required.
  1. Click Add Products to Option and select the checkbox of each product that you want to include in this option.
  2. After adding the products, if you want to display any product as default then click that checkbox of Is Default column.
  3. Next, Enter the default quantity for each product
  1. To change the order of items in a bundle section, click the Move icon at the beginning of the row and drag the item into position.
  2. And use the delete icon to remove any item from the list.
  1. Images and Videos
  2. Add images and videos to display on the product page using the popup or drag-drop functionality.
  1. Click on the image to fill up the details like Alt Text and Role:
  1. Alt Text – Enter the content to describe the image or to display in the case when the image is not loaded.
  2. Role
    1. Base – Main image for the product page
    2. Small – Image for listings on category and search results pages, and for sections such as for Up-sells, Cross-sells, and the New Products List.
    3. Thumbnail – Images for thumbnail gallery, shopping cart, blocks like related items
    4. Swatch – Used to illustrate the color, pattern, or texture
  3. Search Engine Optimization
  4. URL Key – Enter the URL key for the online address of the product
  1. Meta Title – Enter the title for the display in search results. The default meta title is based on the product name.
  2. Meta Keywords -Add relevant keywords for more visibility in search results.
  3. Meta Description – Enter the description of the product for display in the search results.
  1. Related Products, Up-Sells, and Cross-Sells – Used to promote other products in the store
  2. Related Products – Add products that are supposed to be purchased in addition to the item the customer is viewing.
  1. Up-Sells Products – Add products that are similar to the product that you are creating but probably higher quality
  2. Cross-Sells Products – Add products that are offered on the shopping cart page as last-minute purchases before the checkout process begins.
  1. Customizable Options – It generally configures to offer customers a selection of options with a variety of text, selection, and date input types 

But We can’t save custom-defined options for bundles with dynamic pricing. 

  1. Products in Websites – Select the option where the product is available as per the store hierarchy. By default, for a single website installation, the website checkbox is marked.
  1. Design
  1. Layout – Choose a layout from the dropdown
  2. Display Product Options In – Select where the product options appear on the product page from the drop-down menu
  3. Layout Update XML – Enter XML code in case of customizing the theme

 Click the save button after applying those changes.

It will display in frontend like below after following those steps.

When you click Customize and Add to cart button, It will allow choosing items from a bundle product.

That’s all! 

If you need to create a custom product type, visit here.

Any doubts in the implementation can be mentioned in the Comments section below. I’d be happy to help you out.

Do share the tutorial with beginners in Magento 2 via social media.

Thanks.

Post a Comment