Forums / Setting Up Categories, Products, Attributes / Attribute Price Dependent on another Attribute

Attribute Price Dependent on another Attribute

Locked

Started by dpinkus on 15 Nov 2010, 12:00 AM · Views: 875

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
15 Nov 2010, 12:00 AM
#1
dpinkus avatar

dpinkus

New Zenner

Join Date:
Oct 2010
Posts:
13
Plugin Contributions:
0

Attribute Price Dependent on another Attribute

Hello,

I've searched the forums and found some information from swguy and his contributions, but none of them are exactly what I want.

Imaging selling a single product...let's say it's a photograph.

You can order it in different sizes (an attribute).
You can order different frame styles (another attribute).

The frame style prices should be based on the size. A larger photograph will have a larger frame cost.

How is this best done? Both from an implementation and presentation perspective?

My preference is to display the information to the customer while they are making the selection, not wait until only at check-out.

I'll complicate it slightly by saying that the frame styles attributes may also have images with them; if this is too complicated, I'm content to have a pop-up window illustrating all styles.

I have no aversion to JavaScript/PHP or any other technique to implement, but would prefer if possible to have this a configuration change. I would also like that as the visitor chooses a size, the prices for the frame styles adjust on the screen as well.

I fear that I may have to have multiple products (one at each size) and then add the frame styles to each of those as attributes, but hopefully somebody has a better technique for doing this :)

Thank you!!!! :cool:

15 Nov 2010, 5:03 AM
#2
kobra avatar

kobra

Black Belt

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

Re: Attribute Price Dependent on another Attribute

Dependant attributes are not a featue in ZenCart

From your explanation - - one could add attributes of picture only in sizes and picture with frame in sizes all in one drop box

Zen-Venom Get Bitten

15 Nov 2010, 5:15 AM
#3
dpinkus avatar

dpinkus

New Zenner

Join Date:
Oct 2010
Posts:
13
Plugin Contributions:
0

Re: Attribute Price Dependent on another Attribute

Thank you. So if I understand correctly, I'd have one list, a Frame Size and Color Option, with the values looking like:

Frame Size & Color:
< Small with Black Frame >
< Small with Silver Frame (+5.00) >
< Small with Gold Frame (+10.00) >
< Medium (+40.00) with Black Frame >
< Medium (+40.00) with Silver Frame (+7.00) >
< Medium (+40.00) with Gold Frame (+12.00) >

That gets a little confusing obviously, so perhaps the options are:

  • Small with Black Frame ($50.00)
  • Small with Silver Frame ($55.00)
  • Small with Gold Frame ($60.00)
  • Medium with Black Frame ($100.00)
  • Medium with Silver Frame ($115.00)
  • Medium with Gold Frame ($122.00)

Is this the best recommendation? I see it as manageable until 5 x 4 combinations, maybe 5 x 5, but that starts to be a lot of scrolling...

Thank you for your advice.

15 Nov 2010, 5:15 PM
#4
kobra avatar

kobra

Black Belt

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

Re: Attribute Price Dependent on another Attribute

Your second is cleaner and can be done by pricing by attributes

Zen-Venom Get Bitten