Skip to content

Magento 2 : How can I get simple product id on category page for configurable product

We have a configurable product on the front end

How can I get the final simple product ID on the product list page?

Does anyone have any idea how to get it?