Forums / Setting Up Categories, Products, Attributes / Help Needed with Compex Attributes

Help Needed with Compex Attributes

Results 1 to 5 of 5
14 Jun 2012, 20:51
#1
shannonphx avatar

shannonphx

New Zenner

Join Date:
May 2012
Posts:
28
Plugin Contributions:
0

Help Needed with Compex Attributes

Is there a way to set up sub-attributes? Or, text option values? Here's an example of what I need to accomplish:
Lets say a product can be engraved with either a single initial or a monogram (not both). If the customer chooses the single initial, they need to be able to enter the initial somewhere. Sames goes for the monogram. But, I don't want to set up 2 text option names because the customer will likely fill out both, & I won't know which one they actually want. There doesn't seem to be a way to create text option values.

Or, is there a way to set up the attribute, where depending on which selection they make (single initial or monogram), another set of choices appears, allowing the customer to enter the monogram or initial?
The URL below is an example of a site (not ZenCart) that does this. Add the product to the cart & the attributes will appear. Select one of the personalization options & additional choices appear:

marilynskeepsakes.cathysexpress.com/product.html?prod_id=30503

Any assistance is MUCH appreciated!
15 Jun 2012, 03:26
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Posts:
21,876
Plugin Contributions:
6

Re: Help Needed with Compex Attributes

What you are asking for is known as "dependent attributes", and is not supported by stock Zen Cart (or any other general purpose free e-commerce program, as far as I know). It could be custom coded, if you are proficient with PHP and javascript.

You could make a radiobutton or dropdown attribute for initial/monogram (it is possible to require an actual choice here), and a text attribute that can take up to three (or whatever you want) letters. It would still be possible for someone to select "initial" and enter three letters, but there would not be confusion about which choice they selected - you would just have to get them to tell you the initial if they mistyped. To help thwart idiots, you could add a comment to the text attribute like "Enter 1 letter for initial, or up to 3 for monogram". Do the choices have different prices?
15 Jun 2012, 05:22
#3
shannonphx avatar

shannonphx

New Zenner

Join Date:
May 2012
Posts:
28
Plugin Contributions:
0

Re: Help Needed with Compex Attributes

Thanks so much for the reply!
Yes, "dependent attributes" are exactly what I was looking to create. I'm shocked that there's not a module available for this. I have no PHP or javascript skills whatsoever, so I'd have to have to hire someone to custom code it for me. However, your suggestion would certainly be a very viable option. My products' personalization options are free of charge, so there would be no issues with different prices. Unless a "Module Fairy" appears and magically creates a module for dependent attributes, I'll most likely use your suggestion -- THANK YOU!
15 Jun 2012, 13:12
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Posts:
21,876
Plugin Contributions:
6

Re: Help Needed with Compex Attributes

The problem with dependent attributes is that there are so many ways that someone could want them to work that a simple structure could not handle even a fraction of them. Any one method would be straightforward for an expert to code, but a comprehensive setup would be hideously complex. This is why you don't see a mod available now. Verbal descriptions can sound clear and simple, but they must be translated into precise, detailed code with all steps and choices spelled out explicitly.
15 Jun 2012, 17:15
#5
shannonphx avatar

shannonphx

New Zenner

Join Date:
May 2012
Posts:
28
Plugin Contributions:
0

Re: Help Needed with Compex Attributes

That makes sense.
I did a little digging & found some forum posts where people were able to create dependent attributes by installing Stock by Attributes AND Dynamic Drop Downs for Stock by Attributes. But... I haven't been able to find any info about whether those modules are compatible with Zen Cart 1.5.0. Anyone know the answer to this?
I e-mailed the original authors of both modules. Hope they respond.