If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Attribute percentage of TOTAL calculated price

Attribute percentage of TOTAL calculated price

Started by aiwebsystems on 24 Jan 2011, 7:26 PM · Views: 909

Results 1 to 3 of 3
24 Jan 2011, 7:26 PM
#1
aiwebsystems avatar

aiwebsystems

New Zenner

Join Date:
Jan 2011
Posts:
1
Plugin Contributions:
0

Post #1 by aiwebsystems

Hello all,

I have an installation I am trying to set up here..

The attributes must be percentage, which has proven to be no problem. As it is supported by default.

BUT here is where my request is different.

If two attributes, for example, are required on a product, how do I configure the attributes, or hack on the zencart code, to make the attributes apply to the total calculated price.

ie:

Product is $100
Attr 1 is 10%
Attr 2 is also selected and is 20%

Currently the price seems to complete as BASE1.10 + BASE1.20 which yields $130.00

I need it to calculate as (BASE*1.10)*1.20 which yields $132.00

How can I accomplish this?

25 Jan 2011, 5:39 AM
#2
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,337
Plugin Contributions:
41

Post #2 by mprough

I don't think you can.... as the "base" price is used for all calculations at once, not a cumulative totaling as they are selected.

~Melanie