Remove Price from Custom Options + Magento

IF wana remove the price change indicators on the options of configurable products. The product shows the configurable options as a dropdown box at the moment.:

“X Large + £50.00” and If want to just show the option name “X Large”

You can easily remove by overriding the JS
Open the template file
catalog/product/view/type/options/configurable.phtml

Find the
   var spConfig = new Product.Config(<?php echo $this->getJsonConfig() ?>); 

Replace with
 Product.Config.prototype.formatPrice = function(){
        return '';
    }
        var spConfig = new Product.Config(<?php echo $this->getJsonConfig() ?>);

1 comment: