Skip to content

Calling magento block returning false

This probably easy and I’m forgetting something but…

product.price.final is a default xml block of magento why does it always returns false when I call it on my custom phtml.

<div>
  <?= $block->getLayout()->getBlock('product.price.final')->toHtml() ?>
</div>

Obs: this is not on catalog_product_view page