Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Where Is the Math Equation Help

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-15-2012, 07:10 AM
 
momentum momentum is offline
 

Senior Member
  
Join Date: Jun 2011
Posts: 120
 

Default Where Is the Math Equation Help

Hello Great Forum

I cannot believe I cannot find this.

I am using a product modifier and found the formula to get a total for the item is

Price = $0.44
Modifier = $25.00
Minimum Purchase 250

If the price is $0.44 and you use the Price modifier of $25.00 it changes the price to $25.44
So you will have $25.44 x 250 = $6,360 Total Product Price

This should be simple if the formula can be found and modified and if it is not done on the fly. I want the following
(0.44 x 250) + 25 = $135 Total Product Price

I am ignorant on x-cart and maybe this is to simple minded of an idea and maybe x-cart is making this formula some other way.

So my question is: if this formula for price modifier can be easily modified if yes where is the formula?
__________________
X-Cart version 4.6.4 GOLD
X-Cart version 4.6.1 GOLD
X-Cart version 4.5.5 GOLD
X-Cart version 4.5.4 GOLD
X-cart Version 4.5.3 GOLD
X-cart Version 4.4.3 GOLD
X-cart Version 4.4.2 GOLD
PHP 5.3.27
MySQL client 5.5.37
Linux
Reply With Quote
  #2  
Old 11-15-2012, 09:42 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Where Is the Math Equation Help

You probably have to look in one of the js files in skin/.../Product_Options
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 11-15-2012, 10:27 AM
 
momentum momentum is offline
 

Senior Member
  
Join Date: Jun 2011
Posts: 120
 

Default Re: Where Is the Math Equation Help

Hello

Thanks for the reply. This is very tricky, who would have know how difficult it is to change a formula.

I did a quick search and it is amazing t see how x-cart goes about doing this. At least I now have a place to look.

Thanks again.
__________________
X-Cart version 4.6.4 GOLD
X-Cart version 4.6.1 GOLD
X-Cart version 4.5.5 GOLD
X-Cart version 4.5.4 GOLD
X-cart Version 4.5.3 GOLD
X-cart Version 4.4.3 GOLD
X-cart Version 4.4.2 GOLD
PHP 5.3.27
MySQL client 5.5.37
Linux
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:39 AM.

   

 
X-Cart forums © 2001-2020