How to get the product price with currency symbol in the PHTML file.

Using Object Manager,

// Instance of Object Manager

$objectManager = \Magento\Framework\App\ObjectManager::getInstance(); 

// Instance of Pricing Helper

$priceHelper = $objectManager->create('Magento\Framework\Pricing\Helper\Data'); 

echo $priceHelper->currency($product->getFinalPrice(), true, false); 

Leave a comment

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