I would like to add a custom attribute (bum) in the final_price.phtml file.
It doesn't work, nothing appears. Can you help me please?
When I tried,
<?php echo $_product->getBum(); I have this error message :
Fatal error: Call to a member function getBum() on null in /home/magento/www/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/price/final_price.phtml on line 33