organicinternet / magento-configurable-simple

Enhancement to Magento to allow simple product prices to be used instead of the default special-case configurable product prices
http://organicinternet.co.uk/
282 stars 266 forks source link

How to delete the "Price From" text on Catalog Page #60

Open marketing2 opened 12 years ago

marketing2 commented 12 years ago

How and where can I delete the text "price from" on the catalog page?

kiatng commented 12 years ago

There are quite a few files that contains "Price From:". You can do a search for it. To remove it from catalog page, change:

  1. /app/code/community/OrganicInternet/SimpleConfigurableProducts/Catalog/Block/Product/Price.php
  2. /app/code/community/OrganicInternet/SimpleConfigurableProducts/Catalog/Block/Product/View/Type/Configurable.php

for example:

        //if ($p->getMaxPossibleFinalPrice() != $p->getFinalPrice()) {
        //    $config['priceFromLabel'] = $this->__('Price From:');
        //} else {
            $config['priceFromLabel'] = $this->__('');
        //}