Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2008
    Posts
    4
    Plugin Contributions
    0

    help question Attribute Question, Order of Math Operations

    Hello,

    I am having an issue getting my pricing correct. I am using quantity based pricing. I offer 9 colors included in price, I also have check boxes that the user can click to add additional colors for .10 each (limit 14).

    Now, let's say the product price is 1.34 and they click for three more colors. The total is now 1.64 each. All that works perfect. I then have another option after that for Metallic color, if they select that option then it adds 20% to the cost.

    Here's the problem, it should calculate it up as...

    1.34 + .10 +.10 + .10 = 1.64 * 20% = whatever

    it's actually calculating it at

    1.34 * 20% then +.10 +.10 + .10

    How do I fix this?

    I have the options ordered correctly in the attribute manager. What else is there to do?

    Thanks,
    Rick

  2. #2
    Join Date
    Sep 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Attribute Question, Order of Math Operations

    Anyone? I could really use some help.

  3. #3
    Join Date
    Sep 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Attribute Question, Order of Math Operations

    Ok, Here's what it seems like it is doing after some more digging....

    The 20% is being figured on the base price, no matter what. If I include the options in the base parice and then place an order for the product and all of the attributes then the price is correct. But if they do not select all of the attributes then the price is wrong.

    What I need is the 20% based on the base price + whatever options they choose. Can that be done?

 

 

Similar Threads

  1. order of operations for calculating tax?
    By AmandaBTO in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 25 Apr 2008, 10:29 PM
  2. general operations question
    By defkiss in forum Managing Customers and Orders
    Replies: 2
    Last Post: 23 Apr 2007, 01:31 AM
  3. Simple math is looney
    By nomaad in forum Bug Reports
    Replies: 3
    Last Post: 24 Dec 2006, 05:58 PM
  4. Attribute Math Functions
    By kobra in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 20 May 2006, 03:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg