Magento product price changed to zero

0

After you updated the magento version sometimes product price changed to zero.But product price is correctly displaying in the category page or list page.This price zero issue is mostly displaying in the product details page.So in here I’ll discuss about this issue and how to solve this.Many time this is happen because of the custom options.
Check this image, then you can get an clear idea about this.

Product price is displaying correctly in the category page

Magento price is displaying as zero

Product price changed to zero in the product details page

Magento price is displaying as zero

How to solve this product price changed to zero issue

1-Go to the following directory.
app/design/frontend/[yourtheme]/catalog/products/view/

2-Just replace the options.phtml file with correct magento version.

3-Check the page, if not different clear magento all cache and check it.

If not success,(version 1.7)
1-open app/design/[your package]/[yourtheme]/template/catalog/product/view/options.phtml

2-Find this script,

3-Replace with,

4-Save the file.

Additional

Hide product price if zero in magento 1.7?

1-Go and open the following file.
app\design\frontend\default\YOURTHEME\template\catalog\product.phtml

2-find the following script.

3-Put the following script with it and save file.

Share.

About Author

Sumith Harshan is the Web Engineer Specializes in Java Script, JQuery, HTML4/5, CSS2/3, PHP, CodeIgniter, CakePHP, J2SE, J2EE, XML, Hacking & Security, Mobile Interface Developing, Magento, Wordpress, Joomla, Drupal,PHPBB,Facebook App Developing and Open cart...etc.