i was trying to set to all my bundle products with all the options selected.
Instead of doing it manually, i wants to make it by code.
I think i should get first all the bundleproducts from my shop and then makes a loop to change all the simple products of it, and put it default, but i cant make it and i haven´t seen nothing like that.
Anyone have any idea?
This is how my front-end is show.
And this is on backend:
I dont know which is the best solution, i think it could be easy if i change it on backend, not?
The result should be all the options selected by default.