I would like to add a custom attribute (bum) in the final_price.phtml file.
It doesn't work, nothing appears.
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
Can you help me please?