Skip to main content

Magento 2 - How to Get Configurable Products from Simple Product

Updated 1 min readMarkdown
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.

About the author

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

No comments yet. Be the first to comment.

More from this blog