Forums / Setting Up Categories, Products, Attributes / Setting up Sub Attributes

Setting up Sub Attributes

Started by corygatz on 25 Jul 2012, 6:49 PM · Views: 1,704

Results 1 to 11 of 11
25 Jul 2012, 6:49 PM
#1
corygatz avatar

corygatz

New Zenner

Join Date:
Sep 2009
Posts:
71
Plugin Contributions:
0

Setting up Sub Attributes

I am wondering if there is anything available to help me list 'Sub-Attributes'. I am listing embroidery designs under a product and need to know the location of the design (3 designs available).

Example: All products have attributes for Color / Size / Embroidered Logo. I need a new attribute filed to be listed under each Embroidered Logo to specify Left Chest / Right Sleeve / Right Chest.

Please be sure to let me know if you need further explanation. Thanks in advance for any help that may be provided.

25 Jul 2012, 7:05 PM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Setting up Sub Attributes

Sounds like you're asking about 'dependent attributes' (attributes which appear depending on the selection of another attribute). That isn't supported in Zencart now.

25 Jul 2012, 7:15 PM
#3
corygatz avatar

corygatz

New Zenner

Join Date:
Sep 2009
Posts:
71
Plugin Contributions:
0

Re: Setting up Sub Attributes

Actually I am just in need of having the Location attributes show up below each option for the Embroidered Logo attribute. The Embroidered Logo attribute is a check box and the Location would be a radio button.

I just need a way to ask the customer where they would like the embroidery to be on the garment. Thanks for your help!

25 Jul 2012, 7:20 PM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,901
Plugin Contributions:
23

Re: Setting up Sub Attributes

Can there be more than one logo? If not, you would just add the attribute Location with the values Please Select, Left Chest, Right Chest, etc.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

25 Jul 2012, 8:38 PM
#5
corygatz avatar

corygatz

New Zenner

Join Date:
Sep 2009
Posts:
71
Plugin Contributions:
0

Re: Setting up Sub Attributes

There will be 3 different logos to choose from. I would like the Location attribute to appear below all logo attributes (3). I guess I would call it more of a sub-attribute rather than a dependent attribute. Thanks

26 Jul 2012, 1:34 AM
#6
gjh42 avatar

gjh42

Black Belt

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

Re: Setting up Sub Attributes

Can they have more than one logo on a garment? If not, more than one "Location" attribute is likely to confuse the customers. If so, you still just need "Logo A Location", "Logo B Location" and "Logo C Location" attributes, with sort orders to put them below each of the choices. You may want to install Flexible Attributes from Plugins to get more control of exact positions of each element.

26 Jul 2012, 2:21 AM
#7
corygatz avatar

corygatz

New Zenner

Join Date:
Sep 2009
Posts:
71
Plugin Contributions:
0

Re: Setting up Sub Attributes

Yes, customer will be able to choose more than one logo to have embroidered on their garment. I did some reading on the Flexible Attribute and it seems like it may be worth giving it a test.

Attached is a screen shot of my attribute display on the product info page. What I am looking for is to put the 'Location' attributed below each of the logos for the customer to pick the location of each logo they would like to have stitched on their garment. Thanks so much for your help!

Attachment 10872

26 Jul 2012, 3:33 AM
#8
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Setting up Sub Attributes

What if you changed the embroidery options from Checkboxes to Text fields, upload the images as attribute swatches as you do now, and then they can enter the location where they want it in the textbox?

26 Jul 2012, 3:38 PM
#9
corygatz avatar

corygatz

New Zenner

Join Date:
Sep 2009
Posts:
71
Plugin Contributions:
0

Re: Setting up Sub Attributes

Hi Jettrue, not really an ideal solution as they would be able to type whatever they want in the text field. It would however be a means to an end if needed.

Here is the real kicker. I looked over the Flexible Attribute add-on and have ruled it out as well. I have had custom coding done that shows certain logos depending on what customer is logged in. For instance, if customer A is logged in they can see all 3 logos (permission given in admin) - Customer B can only see 1 of the logos - Customer C can only see logo A and logo C.

Due to this I believe I will have to get this custom coded as well. It will most likely have to be written into the Embroidery attribute filed to show location below each of the embroidery logos. This way it will keep the location attribute from showing up if the customer who is logged in only can choose from 1 or 2 logos.

Hope this makes sense and probably should have known it would have to be custom coded. I always at least like to try to get the solution before going out to hire someone to do it for me. Thanks to everyone for the help! It is much appreciated.

26 Jul 2012, 9:29 PM
#10
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Setting up Sub Attributes

corygatz:

Hi Jettrue, not really an ideal solution as they would be able to type whatever they want in the text field. It would however be a means to an end if needed.

Here is the real kicker. I looked over the Flexible Attribute add-on and have ruled it out as well. I have had custom coding done that shows certain logos depending on what customer is logged in. For instance, if customer A is logged in they can see all 3 logos (permission given in admin) - Customer B can only see 1 of the logos - Customer C can only see logo A and logo C.

Due to this I believe I will have to get this custom coded as well. It will most likely have to be written into the Embroidery attribute filed to show location below each of the embroidery logos. This way it will keep the location attribute from showing up if the customer who is logged in only can choose from 1 or 2 logos.

Hope this makes sense and probably should have known it would have to be custom coded. I always at least like to try to get the solution before going out to hire someone to do it for me. Thanks to everyone for the help! It is much appreciated.
What about, instead of making the Logo names option values, make them option names instead, and have the dropdowns have the different locations. You can add the image and play with the option name image style to see if it looks ok.
So it could be Logo Name, Image, drop down menu with locations.

26 Jul 2012, 11:50 PM
#11
gjh42 avatar

gjh42

Black Belt

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

Re: Setting up Sub Attributes

Adding to Jade's suggestion, you would want to give each logo a default selected value like "None", so they will have to pick a location if they want that logo. This should make it obvious to customers that if they want a particular logo they need to pick a location for it.