Magento Configurable Product Price Overriding Simple Product Price

1. Solution using Extension
Allow simple product prices to be used instead of the default special-case configurable product prices

https://github.com/organicinternet/magento-configurable-simple

2. Solution using Custom Development
The code below is meant for the cart/checkout process, essentially, it’s an update to the configurable price model that passes price calculation to a simple product in the event the product has been added to the cart — this solution DOES NOT display pricing on the product page itself (however there are many extensions that do that already).

Update app/code/core/Mage/Catalog/Model/Product/Type/Configurable/Price.php (ideally you use an extension or local override in app/code/local)

Join with 20M+ community If you are also interested to make money online and want to know about more business ideas.

By subscribing you agree to our terms & conditions

Update the method: getFinalPrice, change to as like below.

Now open app/design/frontend/default/yourtheme/template/catalog/product/view/type/options/configurable.phtml and paste below code anywhere in file

Now open js/varien/configurable.js and change reloadPrice function as below or you can replace this whole function as well

Prashant Rawal

I’m a freelance full-stack web developer having over 8 years of experience in Wordpress development. I am also Blogger and Affiliate Manager to help people starting their money making blogs using larget affiliate networks.

Leave a Reply

Back to top
powered by proof factor - increase conversions with social proof notifications
Share via
Copy link
Powered by Social Snap