Skip to main content

Command Palette

Search for a command to run...

Magento 2 - How to Get Configurable Products from Simple Product

Updated
1 min read
Magento 2 - How to Get Configurable Products from Simple Product

In this case, I already call a simple product, but I want to check or call what configurable products are currently using this simple product as their options. How can I get those configurable products?

You can create a helper to retrieve the configurable products IDs :

As you can see there is a helper and how to call it, thanks.

More from this blog

F

Fiko Borizqy (Bestafiko)

51 posts

I wrote these tutorials for myself in future when I forget for the next steps.