Out of the box Magento supports Bundle products, You can customize the item from the given option selection and add items to a single click of add to cart.
catalog_product_bundle_selection table used to store the bundle item’s relation with the child item id, option id, qty, position of the item and default item selection from the given option. Continue reading “How to Get Selection Id by parent and child item id of bundle product in Magento 2?”
When you are working with the Bundle Product related customization and you required to parent product id by the Option id, You can easily achieve it by the option id with some programming stuff.
Each Bundle Product generated by the combines of options selection. Each option contains the list of a product like a simple or virtual. Continue reading “How to Get Bundle Item Parent id by option id in Magento 2?”
You can retrieve the option type by option id of the bundle product Magento 2. There is four option type available for the bundle product like Checkbox, radio, drop-down and Multiple select.
You can check the given option type by its id using programmatically from the catalog_product_bundle_option table. A table used to store option id, type, parent_id, required and position field. Continue reading “How to get option type by option id in bundle product programmatically Magento 2?”