cancel
Showing results for 
Search instead for 
Did you mean: 

Get bundle product children

SOLVED

Get bundle product children

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.

1 REPLY

Re: Get bundle product children

How to get a bundle product's children? https://mage2.pro/t/1228