Configuring Bundled Products in Magento
Magento is a powerful e-commerce platform that offers extensive customization options for product configurations. One common requirement is to create a bundled product that allows customers to combine configurable items like t-shirts and shorts on a single product page with multiple attributes.
Understanding the Requirement
In your scenario, you want to have two separate configurable products - a t-shirt and a short - which are then combined into a single “bundle” product for sale. The customer should be able to select the color and size of each item, as well as specify the quantity desired for each.
Setting Up Configurable Products
Before creating the bundle, you need to set up your configurable products separately. For each (t-shirt and short), follow these steps:
- Go to Catalog > Add New Product.
- Select Configurable Product from the drop-down menu.
- Fill in the basic product information like name, SKU, price, etc.
- Under Inventory, set the Stock Status to “In stock”.
- Save and continue editing.
Configuring Attributes
Next, you need to configure the attributes for each configurable product:
- In the main menu bar, click on Attributes.
- Click on Manage Attributes in the submenu.
- Find your attribute (e.g., Color or Size) and note its ID.
- Go back to your product edit page (t-shirt or short).
- Under Product Details, expand the Configurations section.
- For each attribute, enter the IDs from step 3 into the corresponding field (Attribute Set ID).
Creating the Bundle Product
Now you can create the bundle product that will combine the t-shirt and short:
- Go to Catalog > Add New Product.
- Select Bundle Product as the type.
- Fill in the basic information for your bundled product (name, SKU, price).
- Under Product Details, find the Bundle Items section.
Adding Bundle Items
This is where you will combine the t-shirt and short into a single bundle:
- Click on Add New Option.
- In the Title field, enter “T-Shirt”.
- Select Configurable Product from the drop-down menu.
- In the Product ID field, enter the SKU of your t-shirt product.
- Set the QTY to a reasonable maximum value (like 10).
- Click on Add.
Repeat these steps to add the short as another option in the bundle.
Displaying Selection Options
In the Bundle Items section for each item, you will see options like Selection Type, Required, and Default QTY:
- The Selection Type determines how customers choose items. For your t-shirt and shorts, use Radio Buttons.
- Set Required to “Yes” if customers must select an option.
- Default QTY is the initial quantity value.
Save your bundle product settings after adding both the t-shirt and short options.
Testing on the Frontend
When you view your new bundled product on the frontend store, you should see a page with two sections - one for the t-shirt and one for the short. Each section will have:
- A title (T-Shirt)
- Selection boxes for Color and Size
- An input field for Quantity
- Option to add or remove items
Customers can now select attributes for each item, choose quantities, and add both products to their cart with a single click.
Conclusion
Creating bundled configurable products in Magento requires careful setup of individual product types and proper configuration of the bundle itself. By following this process, you can offer customers a seamless shopping experience where they can combine multiple configurable items into a single purchase.
Remember that proper attribute management is key for maintaining clean and functional configurations across your catalog. Always ensure your attributes are well-defined and used consistently throughout your products.
If you’d like to explore more advanced customizations or need expert assistance, feel free to reach out to our team at Laravel Company. We specialize in Magento development services and can help you optimize your e-commerce platform for success.