Zen Cart Logo
Forums / General Questions / Attribute Pricing Confusion

Attribute Pricing Confusion

Locked

Views: 446

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
21 Dec 2010, 12:10 PM
#1
foteek avatar

foteek

New Zenner

Join Date:
May 2008
Posts:
50
Plugin Contributions:
0

Attribute Pricing Confusion

I think I'm confused on how attribute pricing works. I have imported about 3000 products, with many attributes, and the cost isn't adding up.

Let's say I have a product that is $100. I have some options that are included already. As an example, let's say there is an option that is $10, but it's included in the cost. So I price the option at $10, but mark it as "attributes_price_base_included=1" in the database. There is another option that costs $20, so if they upgraded to that it should cost $110.

It seems zen cart was not set up this way, and instead I will need to go hack the database to offset the option costs from $10 and $20 to $0 and $10. Is that right?

That will be a painful exercise, so if there is a way to get around this please let me know.

On a related note, what is the attributes_price_factor and attributes_price_factor_offset variables in the database? Can I use those to do something tricky?

Thanks,
TJ

21 Dec 2010, 12:47 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Attribute Pricing Confusion

On a related note, what is the attributes_price_factor and attributes_price_factor_offset variables in the database?
These are not entered via the database as they are in the attributes controller in the admin

How are you doing this?