I'm currently searching for a way to list bundle product children on the product view page.
Here is what I've done so far:
I've created the bundle product and the underlaying simple products. The bundle product has a single option named "Products", which holds all simple products.
I now need to know how to get all those simple products listed under the option and show them in the form of a table on the product view page. The table should contain the product SKU and some attributes.
How can I do this?
Note: I've been seeing a lot of module developers on this forum throwing their module around whenever someone asks a question. I don't need a module to do this, I just need a simple code snippet, which will do the trick for me.
Solved! Go to Solution.
You can get all the children items of a bundle product by Bundle product id in Magento 2 easily.
Check the link, Get children of bundle product Magento 2