Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / trying to figure out price factor/adding percentage

trying to figure out price factor/adding percentage

Views: 855

Results 1 to 4 of 4
21 Feb 2012, 4:14 AM
#1
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

trying to figure out price factor/adding percentage

Some of our products have multiple attributes. I have set the products up to be priced by attribute with a base price of $0. The prices are based on size, which is the first set of attributes. The other set of attributes are color, there are 17 color attributes. They are all priced at $0. However, there are a couple of colors that add 10% to the overall price. So if a small is $10, medium is $20 and large is $30, then selecting one of these colors makes small $11, medium $22 and large $33 since they add 10% to the overall price depending on size.

I thought that using the price factor would do what I need but it only gives the 10% increase to the lowest price, which is $10 for a $1 increase. So even if a large is selected the price comes to $31 instead of $33. I have price factor at 0.1 and offset is 0.

Am I missing something or is there no way to do this? I think I am not understanding the price factor feature and it's function. I thought that it would increase the price by 10% depending on what the price is but it seems that it's only selecting the lowest price which is the default when something is priced by attributes.

21 Feb 2012, 7:07 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: trying to figure out price factor/adding percentage

Price Factor is designed to work off the Product Price ... it really does not work well with Priced by Attribute as it then works off the lowest price of the attributes and not on the selected attributes ...

22 Feb 2012, 12:28 AM
#3
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: trying to figure out price factor/adding percentage

Ahhh, thanks for the explanation, Linda! So I guess there is no way to get this to work the way I need it? Can I alter the zen_get_attributes_price_factor function to pull the total of the selected attributes price and apply the factor to it? I don't need it for anything else but these specific products so altering it won't affect anything else.

22 Feb 2012, 1:02 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: trying to figure out price factor/adding percentage

Depends on how crafty you are ... Attributes are not fun to alter how they work ... :lamo: