I want the Custom Options in Magento to calculate percentage cost from the already changed price (of other custom options) and not the base price.
I can get the desired results here of calculating percentage based on the changed price value rather than the base price by changing this line of code in app/code/core/Mage/Catalog/Model/Product/Type/Price.php to $finalPrice instead of $basePrice
from this:
$finalPrice += $group->getOptionPrice($quoteItemOption->getValue(), $basePrice);
to this:
$finalPrice += $group->getOptionPrice($quoteItemOption->getValue(), $finalPrice);
However - this successfully updates in the cart price, but does not update the on the fly option price on the product page itself.
Any clue on how to change the price on the product page???