I would hide the money to those who are not registered but can not find the file phtml.

Some help?

P.S. I found only price_clone.phtml but when i try to change it, nothing happens.

  • You are talking about /app/code/Magento/Catalog/view/frontend/product/price.phtml ?
    – seb
    Commented Feb 8, 2016 at 13:25
  • Unfortunately no man, because i have Magento 2.0.2 and this route is valid for Magento 1.9. In my magento don't exist the folder code. Thank you for the answer. Some help?
    – Gabriel91
    Commented Feb 8, 2016 at 13:27
  • You are talking about app/code/Magento/Catalog/view/frontend/templates/product/list.phtml on line 76 is the product price no? <?php echo $block->getProductPrice($_product) ?>
    – seb
    Commented Feb 8, 2016 at 13:33

2 Answers 2


it's either in


or in


depends on how you installed magento (direct download or composer project install)

You can look up which templates are used for which types and priceCodes in the Magento\Framework\Pricing\Render\RendererPool Class. But also the template names are pretty straight forward

the price of a simple product on the product detail page has the final_price.phtml template for example.


There is also available another way how to get to know a template path.

These are template path hints.

A page with enabled template path hints will look like: enter image description here

Template path hints can be enabled/disabled in Magento backend: Stores->Settings->Configuration->Advanced->Developer->Debug section

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.