I am able to load product collection by using
[$objectManager->create('Magento\Catalog\Model\ResourceModel\Product\Collection')]
in my phtml file.But in that collection product url is not there how can we get Product url also with that collection.
Best Answer
$productCollection = $productObj;
Gives from product collection url using loop the collection,