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
 
OrotTech
Sr. Member
 
Avatar
Total Posts:  209
Joined:  2007-10-20
Israel
 
cushionguru - 22 July 2009 02:37 PM

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....

I think this extension is exactly what you looking for
http://www.magentocommerce.com/magento-connect/custom-options-absolute-price.html

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