After upgrade Magento 1.8.0.0 get error on list and view page.
Fatal error: Call to a member function getStoreLabel() on a non-object in price.phtml
I got simple fix as below and its working fine for me.
Open this file : app/design/frontend/[your_package]/[your_theme]/template/catalog/product/price.phtml
Find this code:
$_specialPriceStoreLabel = $this->getProductAttribute('special_price')->getStoreLabel();
And replace it with below:
$specialPriceAttr = $this->getProductAttribute('special_price'); if (!is_null($specialPriceAttr)) { $_specialPriceStoreLabel = $this->getProductAttribute('special_price')->getStoreLabel(); } else { $_specialPriceStoreLabel = ''; }
Justwebdevelopment can also help you in...
Magento Development | PSD To Magento | Magento Theme Development | Magento Development Services
Magento Development | PSD To Magento | Magento Theme Development | Magento Development Services
Excellent write-up. I absolutely love this site.
Continue the good work!
Thanks for finally talking about >Top 10 Magento 2 Extensions – Justwebdevelopment <Liked it!