I am doing a project and now it needs a requirement such that we can assign special price for the single products of a configurable product. This price must be seen with strike through with the original price. I tried out by editing configurable.php by fetching the special price of each simple product of a configurable product. The problem which I am facing is the simple product's special price which is assigned is getting correctly but for those which is not assigned in the same configurable product, the last simple product's special price is coming.

My question is can I implement my requirement on Magento or what I am doing wrong?

Please help? The following is the way I tried to implement my need.

$obj = Mage::getModel('catalog/product');    
if (isset($options[$attributeId][$value['value_index']])) {    
       $productsIndex = $options[$attributeId][$value['value_index']];    
       $_product = "";   
       foreach ($productsIndex as $pr):    
              $_product = $obj->load($pr);    
              if (!empty($_product) && !is_null($_product)) {   
                   $npr[$pr] = $_product;    
              } else {    
                  $npr[$pr] = 0;    
   } else {    
      $productsIndex = array();

  • please some one help me.
    – Akash Pius
    Nov 25, 2013 at 13:15
  • In the past we have use the module SimpleConfigurableProducts by OrganicInternet in order to use the prices of the simple product. Be aware though, this has far reaching affects across lots of aspects. Dec 12, 2013 at 21:54

1 Answer 1


Magento is very flexible and there are some ways to implement the tier prices to the custom options. You can, for example, do this through basket price rules, the extension ‘Best Configurable Products’ or individual options with the prices. You can see a comparison about these approaches in the following site: http://www.code4business.de/magento-tier-prices-custom-options/

The post also shows how to implement custom prices for each custom option virtually without rewrites.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.