Removing Top or Bottom Price on Magento Product Page

Dear All,

I am posting this solution after testing my self and if you doing anything using my solution please take a backup of that file before change anything.use at your own risk and if you success just let me know.and also if any other methods you know just publish here.it will helpful to the community.

Lot of time this will display when you publish a configurable product.

To remove the Top price display:

1) Open /app/design/frontend/default/THEME/template/catalog/product/view/type/configurable.phtml.

2) At the bottom of the file, add the following code:

<script>
$$(‘div.product-shop .price-box’).invoke(‘setStyle’, { display: ‘none’ });
</script>

This is a bit of a hack and is not the most elegant solution, but most importantly it works. It removes the top price and not the bottom price. It only does this for configurable products.

To remove the bottom price display:

1) Open app/design/frontend/default/THEME/template/catalog/product/view/price_clone.phtml .

2) Comment out the below code:

<?php echo $this->getPriceHtml($_product, false, ‘_clone’) ?>

In JM templates if those file not there just create a file called price_clone.phtml and upload to the path and inside that file use
<?php
?>

like a blank page

Path…
app/design/frontend/default/JM TEMPLATE NAME/template/catalog/product/view/price_clone.phtml

Thanks
Duminda

This question is now closed

Written By

Comments