Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Custom Option - Change the option to show the total price
 
cushionguru
Jr. Member
 
Total Posts:  19
Joined:  2008-08-04
 

I am trying to change the way a price is shown in CUSTOM OPTIONS - at present the option shows with a +$ amount after it.

Is it possible to change this so that the the total price of the item shows instead of the option price addition

for Example

Base price of a TShirt is $20
Option shows as

T-SHIRT with Collar+ $5

I want it to show as
T-SHIRT with Collar $25

I.E. the total price of the item includling the option....

Image Attachments
Picture 15.png
 
Magento Community Magento Community
Magento Community
Magento Community
 
Star7591
Jr. Member
 
Total Posts:  12
Joined:  2008-01-11
Switzerland
 

1. copy - app/code/core/Mage/Catalog/Block/Product/View/Options/Abstract.php to app/code/local..... you know this I assume
2. - app/code/core/Mage/Catalog/Block/Product/View/Options/Abstract.php LINE ~ 112
remove the + in $sign = ‘+’;

That’s it.

 
Magento Community Magento Community
Magento Community
Magento Community
 
qwer1234
Jr. Member
 
Total Posts:  5
Joined:  2010-07-16
 

Hello star ,

Your solution is really helpfull......i was digging for it from last 2 days ..nd ven search in js files but i was unable to find the solution…

i appreciate you for this solution ......sometimes a small problem can make a man mad.....

i use app/code/local/Mage/Catalog/Block/Product/View/Options to place th file

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top