Fiko Borizqy
Fiko Borizqy

Follow

Fiko Borizqy

Follow

Magento 2: How to Get Configurable Products from Simple Product

Fiko Borizqy's photo
Fiko Borizqy
·Dec 3, 2022·

1 min read

Magento 2: How to Get Configurable Products from Simple Product

Photo by Rubaitul Azad on Unsplash

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.

 
Share this