Posted on

Magento 2 How can we get product url with product collection?

I am able to load product collection by using

[$objectManager->create(‘MagentoCatalogModelResourceModelProductCollection’)]

in my phtml file.But in that collection product url is not there how can we get Product url also with that collection.

Leave a Reply

Your email address will not be published. Required fields are marked *