Dependent Attributes

Results 1 to 20 of 62
24 Apr 2008, 09:18
#1
draude avatar

draude

New Zenner

Join Date:
Apr 2008
Posts:
4
Plugin Contributions:
0

Dependent Attributes

Hello,

I'm just new with zencart, and I'm having some issues with it. Cause you see I'm trying to dependent attribute. Let's say:

Category-->Product1-->Attribute1-->Attribute2

And I need these in a drop down list that populates the sub attribute.
for example to match the above layout.

Mens-->Hoodies-->Colour-->Size

The reason I need it like this is because certain colors only have certain sizes available. Where as others might have all sizes available.

Any idea how can it be done?

Thanks in advance!
24 Apr 2008, 11:24
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Posts:
19,793
Plugin Contributions:
2

Re: Dependent Attributes

Far as I know, Zencart can't do dependent attributes yet - I think it's scheduled to be part of a future version.
07 May 2008, 12:03
#3
draude avatar

draude

New Zenner

Join Date:
Apr 2008
Posts:
4
Plugin Contributions:
0

Re: Dependent Attributes

Hopefully it will be a part of the next update. It would be a great feature... :smile: Thanks anyways for the information.:wink:
29 Aug 2008, 07:35
#4
atma_ram avatar

atma_ram

New Zenner

Join Date:
Aug 2008
Posts:
7
Plugin Contributions:
0

Re: Dependent Attributes

How do I control Attributes with other attributes?

Example:

I want to display Color(Blue and Black) and Size(4,5,6) ok...

Now I want to control Size attribute with Color Attribute.

Like when a customer selects Color Attribute as Blue -> Size attribute of 5 and 6 should only can be selected.

and when a Color Attribute Black is selected then -> Size attribute of 4 and 5 should only be selected.....

Help me urgently....


:bangin:
29 Aug 2008, 07:38
#5
kobra avatar

kobra

Black Belt

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

Re: Dependent Attributes

What you want is "dependent attributes"

Zen Cart does not have support for dependent attributes -
29 Aug 2008, 07:59
#6
atma_ram avatar

atma_ram

New Zenner

Join Date:
Aug 2008
Posts:
7
Plugin Contributions:
0

Re: Dependent Attributes

Is there any module availiable for this then? I am need of it..... What should I do?
29 Aug 2008, 08:02
#7
atma_ram avatar

atma_ram

New Zenner

Join Date:
Aug 2008
Posts:
7
Plugin Contributions:
0

Re: Dependent Attributes

Sorry i have posted this message in Basic configuaration before...

How do I control Attributes with other attributes?

Example:

I want to display Color(Blue and Black) and Size(4,5,6) ok...

Now I want to control Size attribute with Color Attribute.

Like when a customer selects Color Attribute as Blue -> Size attribute of 5 and 6 should only can be selected.

and when a Color Attribute Black is selected then -> Size attribute of 4 and 5 should only be selected.....

Help me urgently....


:frusty:
29 Aug 2008, 12:16
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Posts:
19,793
Plugin Contributions:
2

Re: Dependent Attributes

That can't be done in Zencart now. It is scheduled for a future release. There is no working mod for that function that I'm aware of. You would have to code it yourself, or hire it done.
25 Sep 2008, 19:10
#9
jeffallen100 avatar

jeffallen100

New Zenner

Join Date:
Sep 2008
Posts:
1
Plugin Contributions:
0

Re: Dependent Attributes

:clap:How do I get two attributes to be dependent, I have seen something regarding the stock issue. However, I am putting together a printing website.

The Problem is...Quantity 1,000 can be single sided 4/0 or both sides the pricing is different. The Same type of printing can be Quantity 2,500 and can be either singlke sided or double sided.

Is there someone who canhelp me or design something that works for this.


Thanks
27 Feb 2009, 08:08
#10
rabbcon avatar

rabbcon

Zen Follower

Join Date:
Dec 2006
Posts:
143
Plugin Contributions:
0

Re: Dependent Attributes

Is it possible to have "If" "Then" statements for attributes?

For example, we have custom made products. Sometimes if a customer selects Item #1 they can not have attribute A. So when they are on the custom order form and they select Item 1 (an attribute via drop down) then the attribute that would populate attributes A, B, C, D will not show A as an option. I hope my explanation is clear.

If this is possible, how? I look forward to all responses. Thank you in advance.
27 Feb 2009, 09:34
#11
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Posts:
10,475
Plugin Contributions:
9

Re: Dependent Attributes

This could be done, but is not a core feature of Zen Cart or any of the existing mods that I know about.
01 Mar 2009, 11:32
#12
accurax avatar

accurax

New Zenner

Join Date:
Mar 2008
Posts:
67
Plugin Contributions:
0

Re: Dependent Attributes

Ive just acheived this for a store im developing at the moment, if your interested send me a pm and we'll discuss it more :)
01 Mar 2009, 11:35
#13
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Posts:
10,475
Plugin Contributions:
9

Re: Dependent Attributes

Are you not willing to share publicly for the benefit of the whole community?
01 Mar 2009, 11:43
#14
accurax avatar

accurax

New Zenner

Join Date:
Mar 2008
Posts:
67
Plugin Contributions:
0

Re: Dependent Attributes

not untill ive had time to get it working properly...... however I am willing to give someone a few tips to get it going themselves...

Once this project it finished ill publish the how2 guide ..... just dont have time to make it more generic atm
03 Mar 2009, 03:21
#15
jmacdoug avatar

jmacdoug

New Zenner

Join Date:
Jun 2007
Posts:
84
Plugin Contributions:
0

Re: Dependent Attributes

I am very interested in this. Please keep it posted of progress.

Best

Jeff
10 Mar 2010, 17:28
#16
allauthors avatar

allauthors

New Zenner

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

Re: Dependent Attributes

I have an attribute scenario which I cannot figure out how to accomplish...

I have a good understanding of the basics of using attributes, options, etc. with zencart and a good working knowledge of html/javascript, and php, but I have not (yet) attempted to hack any html/javascript to solve my problem as I'm hoping there is a canonical solution within zencart.

I have zencart 1.3.8a, freshly installed.

I have a product which allows embroidery... I want to charge a minimum price for the embroidery which includes a certain number of letters, and then charge a per-letter price for each additional letter. For example assume the base-price is $16 and that would purchase up to 7 letters, and each additional letter is $1. (I have set the product to price by attribute)

I created a radio button attribute for "Include Embroidery" with a price $16.

I created a text box "Text to Embroider" with a price per letter of $1 and 7 letters free...

So far so good.

What I can't find a way to do is prevent the user from entering letters into the text box without selecting yes on the include embroidery radio button. Nor can I find any way to encode the business pricing rule described above into a single text-box attribute.

Any help would be greatly appreciated (even if it's just to say what I'm trying to do can't be done without doing some javascript hacking on zencart)...

Thanks,
10 Mar 2010, 18:17
#17
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Posts:
19,793
Plugin Contributions:
2

Re: Dependent Attributes

allauthors:

I have an attribute scenario which I cannot figure out how to accomplish...

I have a good understanding of the basics of using attributes, options, etc. with zencart and a good working knowledge of html/javascript, and php, but I have not (yet) attempted to hack any html/javascript to solve my problem as I'm hoping there is a canonical solution within zencart.

I have zencart 1.3.8a, freshly installed.

I have a product which allows embroidery... I want to charge a minimum price for the embroidery which includes a certain number of letters, and then charge a per-letter price for each additional letter. For example assume the base-price is $16 and that would purchase up to 7 letters, and each additional letter is $1. (I have set the product to price by attribute)

I created a radio button attribute for "Include Embroidery" with a price $16.

I created a text box "Text to Embroider" with a price per letter of $1 and 7 letters free...

So far so good.

What I can't find a way to do is prevent the user from entering letters into the text box without selecting yes on the include embroidery radio button. Nor can I find any way to encode the business pricing rule described above into a single text-box attribute.

Any help would be greatly appreciated (even if it's just to say what I'm trying to do can't be done without doing some javascript hacking on zencart)...

Thanks,

You asked the whole question in the title of the thread.

Zencart can't do dependent attributes, and there's no mod for them, despite many, many requests, which leads me to believe it would be a bear of a programming job.

Someone who wanted to write such a mod could make it a commercial product and make a few bucks.
10 Mar 2010, 18:26
#18
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Posts:
10,324
Plugin Contributions:
0

Re: Dependent Attributes

allauthors:

I have an attribute scenario which I cannot figure out how to accomplish...

I have a good understanding of the basics of using attributes, options, etc. with zencart and a good working knowledge of html/javascript, and php, but I have not (yet) attempted to hack any html/javascript to solve my problem as I'm hoping there is a canonical solution within zencart.

I have zencart 1.3.8a, freshly installed.

I have a product which allows embroidery... I want to charge a minimum price for the embroidery which includes a certain number of letters, and then charge a per-letter price for each additional letter. For example assume the base-price is $16 and that would purchase up to 7 letters, and each additional letter is $1. (I have set the product to price by attribute)

I created a radio button attribute for "Include Embroidery" with a price $16.

I created a text box "Text to Embroider" with a price per letter of $1 and 7 letters free...

So far so good.

What I can't find a way to do is prevent the user from entering letters into the text box without selecting yes on the include embroidery radio button. Nor can I find any way to encode the business pricing rule described above into a single text-box attribute.

Any help would be greatly appreciated (even if it's just to say what I'm trying to do can't be done without doing some javascript hacking on zencart)...

Thanks,

One possible solution is to provide TWO text input fields.

The first one is limited to 7 characters and the inputs are UN-priced.

The second one is PRICED by letter.

Then, by default, any use of the second field increments the product price (which is now set at the base price of $16).

You can use the Option Name COMMENT FIELD to insert instructions. (NOTE: This field is limited to 64 characters in the database, but can - via phpMyAdmin - be increased to a higher value if you need it).
19 May 2010, 19:38
#19
moesoap avatar

moesoap

Zen Follower

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

Re: Dependent Attributes

accurax:

not untill ive had time to get it working properly...... however I am willing to give someone a few tips to get it going themselves...

Once this project it finished ill publish the how2 guide ..... just dont have time to make it more generic atm


Take it this never happened?

Does anyone have any suggestions how to do this?
30 Jun 2010, 10:01
#20
xuanma avatar

xuanma

New Zenner

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

Re: Dependent Attributes

Does anyone know if "Accurax" manage to finish the attribute dropdown succesfully? It would be great to have one like that.