Zen Cart Logo
Forums / General Questions / Two attributes on one product with changing price..

Two attributes on one product with changing price..

Views: 1,794

Results 1 to 12 of 12
3 Feb 2011, 3:58 PM
#1
plymgary1 avatar

plymgary1

Zen Follower

Join Date:
Feb 2009
Posts:
121
Plugin Contributions:
0

Two attributes on one product with changing price..

Hi,

Does anyone know of a module available that does the following.

I sell ostrich feathers in three different sizes. Each size is a different price.

Am I able to set up attributes to that:

In the first column the customer selects the size of feather they need.

The attributes from the second column would then automatically update with the prices associated with the selection from the first box. Customer will then choose which option they want from this drop-down before proceeding to checkout.

Is there any way this can be done or, would I need somebody to do some custom coding?

Many thanks,

Gary :smile:

3 Feb 2011, 4:47 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Two attributes on one product with changing price..

If I understand what you're asking, that's called 'dependent attributes', where attributes offered depend on the selection of another attribute.

You can't do that in a stock Zencart installation, there's no mod available, and I think the question has been asked often enough that if it were possible for someone to code it at a price a regular Zenner could afford, it would have been done by now.

You can have multiple attributes, just not ones that depend on each other.

3 Feb 2011, 8:34 PM
#3
plymgary1 avatar

plymgary1

Zen Follower

Join Date:
Feb 2009
Posts:
121
Plugin Contributions:
0

Re: Two attributes on one product with changing price..

Thanks for the reply. Now that I've searched for 'dependant attributes' I see what you mean.

I didn't know what it was called before! :blush:

3 Feb 2011, 8:41 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Two attributes on one product with changing price..

What you describe isn't dependent attributes, just pricing by attributes, which is a stock feature.

Set your product to 0 price and "priced by attributes". Then in Attributes Controller, insert the attribute (like 18") and give it a price. You will want to remove the + prefix, since the price is not added to anything but is the whole price for the product with that option. Repeat for the other sizes, and you're done.

Unless the second set of attributes actually has separate pricing and is influenced by the first set, which you haven't described... seeing them live would be helpful in understanding your requirements.

3 Feb 2011, 8:47 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Two attributes on one product with changing price..

There apparently is a commercial mod for "length x width x height" or other such things; it is not very expensive (<$50), but I can't link to it as that would verge too much on advertising.

4 Feb 2011, 5:49 PM
#6
plymgary1 avatar

plymgary1

Zen Follower

Join Date:
Feb 2009
Posts:
121
Plugin Contributions:
0

Re: Two attributes on one product with changing price..

gjh42:

There apparently is a commercial mod for "length x width x height" or other such things; it is not very expensive (<$50), but I can't link to it as that would verge too much on advertising.

Thank you. :smile:

I think I've found the mod?

It would be much cheaper than hiring a freelancer which is what I was on the verge of doing!!

6 Feb 2011, 7:15 PM
#7
crowfan avatar

crowfan

New Zenner

Join Date:
Mar 2010
Posts:
2
Plugin Contributions:
0

Re: Two attributes on one product with changing price..

gjh42:

Set your product to 0 price and "priced by attributes". Then in Attributes Controller, insert the attribute (like 18") and give it a price. You will want to remove the + prefix, since the price is not added to anything but is the whole price for the product with that option. Repeat for the other sizes, and you're done.

Is there a way to have the product price change to reflect the attribute value instead of just listing each price next to the attribute? So, if attribute 1 is $10, the main price changes to $10...and so on.

6 Feb 2011, 7:26 PM
#8
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Two attributes on one product with changing price..

That would require some custom javascript.

7 Feb 2011, 2:09 AM
#9
crowfan avatar

crowfan

New Zenner

Join Date:
Mar 2010
Posts:
2
Plugin Contributions:
0

Re: Two attributes on one product with changing price..

gjh42:

That would require some custom javascript.

Do a forum search for "Dynamic Price Updater" from Chrome. Awesome module for updating price.

7 Feb 2011, 12:58 PM
#10
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Two attributes on one product with changing price..

Right, I forgot about that.

21 Feb 2011, 7:59 PM
#11
jhogan2112 avatar

jhogan2112

New Zenner

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

Re: Two attributes on one product with changing price..

regarding this thread... I'm at my wits end. I've read all about 'dependent attributes

We sell wood widgets, in addition to wooden spoons, chairs, etc. Products have two possible 'attributes' to determine price: size and wood species. A 3 1/2" widget costs $10 in cedar and $12.25 in redwood. Likewise, a small chair in redwood would cost more than a small chair in cedar. Unfortunately, it's not a simple static upcharge - the upcharge for redwood will be more $ the larger the widget.

That being said, can anyone (anyone, please?) offer some advice on how I could possibly accomplish this?

22 Feb 2011, 1:11 AM
#12
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Two attributes on one product with changing price..

The Product Attribute Grid mod might do what you want. I'm not sure if it only handles attribute stock or prices as well.