Magento 2 Pack Item is basically "assemble your own" adaptable item.
There are six item types in Magento 2:
- Straightforward Item
- Configurable Item
- Gathered Item
- Virtual Item
- Pack Item
-Downloadable Item
Every thing in a pack can be either a straightforward item or a gathered item and in this way, can be purchased exclusively or as a combo. The ideal illustration of a group item is a corporate menswear combo including a shirt, formal jeans, tie, overcoat, and so forth.
On snap of "Redo" or "Add to Truck" button, the choice for the determination is shown. The group can comprise of fluctuated items and consequently, the SKU, cost, and weight is set to one or the other dynamic or fixed esteem.
Here is the code to programmatically create bundled product in Magento 2 store without any problem!
For more info, visit https://meetanshi.com/blog/programmatically-create-bundled-product-in-magento-2/