Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Need 2 drop down boxes for 1 product

Need 2 drop down boxes for 1 product

Views: 5,243

Results 1 to 20 of 24
21 Dec 2008, 11:44 PM
#1
sellgourmet avatar

sellgourmet

New Zenner

Join Date:
May 2008
Location:
Houston
Posts:
9
Plugin Contributions:
0

Need 2 drop down boxes for 1 product

I have looked all over ZC forum but cannot find anything about how to add a second drop down option on a single product.

I have a product called 'mixed marriage' where a shopper can choose a base product and then choose a secondary product (college team sauces is what we sell). My challenge is to get two drop down boxes to show up in a single product window.

Can this be done? Thank you in advance!

22 Dec 2008, 12:38 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Need 2 drop down boxes for 1 product

You need to look into Attributes and creating them from Option Names and Option Values ...

If you build them ... you can add them to your Products as needed ...

See if the Tutorials/FAQs and the Wiki help in breaking these down for you to set them up on your site ... :smile:

22 Dec 2008, 6:08 AM
#3
sellgourmet avatar

sellgourmet

New Zenner

Join Date:
May 2008
Location:
Houston
Posts:
9
Plugin Contributions:
0

Re: Need 2 drop down boxes for 1 product

Thanks Ajeh,

So, what do I type in the Tutorials/FAQ & Wiki to find anything that has been written about this subject?

I have been searching for ways to do this and can't find anything that specifically says "yes, this can be done".

What I need is two physical drop down boxes on the same product screen that lets a shopper add two different attributes to the same product (color & size for example).

In the Attributes Controller page for a given product, I do not see a way to add my colors in one drop down and then, add my sizes in the same window.

Does that make sense?

Thanks for your help!:cool:

22 Dec 2008, 7:01 AM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Need 2 drop down boxes for 1 product

How do I add attributes to my products?
When you add attributes to a product in Attributes Controller, you first select the option name (like Color) and then an option value associated with it (like Red), and things like price or weight. Repeat this for all the colors you want, and then for all the sizes you want.

When you have one product set up, you can copy the attribute setup to other products or whole categories of products.

22 Dec 2008, 7:03 AM
#5
gjh42 avatar

gjh42

Black Belt

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

Re: Need 2 drop down boxes for 1 product

[hung - doubled]

23 Dec 2008, 12:39 AM
#6
sellgourmet avatar

sellgourmet

New Zenner

Join Date:
May 2008
Location:
Houston
Posts:
9
Plugin Contributions:
0

Re: Need 2 drop down boxes for 1 product

Ahhhhh...inserting a blank attribute opens a second drop down box.

I don't speak ZenCartese yet but I'm getting there!

Thanks for the help!:smile:

23 Dec 2008, 2:17 AM
#7
mamasylvia avatar

mamasylvia

Zen Follower

Join Date:
Feb 2008
Posts:
379
Plugin Contributions:
0

Re: Need 2 drop down boxes for 1 product

Blank attribute?

I have multiple choices on several of my products; I even mix choice styles: here's a link to one product with a dropdown menu, two radio boxes, and a blank text line: http://www.steigerfamily.com/ZenCart/index.php?main_page=product_info&cPath=4&products_id=25

But the bottom line is that you need to set up the attribute name under Option Name Manager (such as Color, Scent, Wax type, and Candle form on the product above), then add the options under Option Value Manager, and THEN go to Attributes Controller, select the product you want the dropdown menus on (and remember to click "display" after you've selected the product or you'll add the attributes to the wrong product -- don't ask me how I know that) and select an option name AND an option value and click Insert. You have to go through this for each option value you want to add, which is rather tedious, but once one product is set up it's easy to duplicate and have the options copied to the new product automagically.

23 Dec 2008, 4:13 AM
#8
sellgourmet avatar

sellgourmet

New Zenner

Join Date:
May 2008
Location:
Houston
Posts:
9
Plugin Contributions:
0

Re: Need 2 drop down boxes for 1 product

Like I mentioned, I don't speak Zencartese yet and I'm here asking questions because I am not a programmer but am a business owner who has grown tired of paying web programmers $50 to make little fixes to my sites. I ask questions on 'how' something works and all I get is "I'll fix it for you for $50".

This little thing may be easy for web guys to do but regular people who run a business are not going to pick it up quite as quickly. The add-on section and modules is a great tool for people who want to upgrade their sites and that is much appreciated!

One suggestion for a new module would be to allow drop down boxes (attributes in the ZC world) to be added to the 'add product' screen so you can install it from there. I have a copy of "Coffee Cup" software which is a flash form creation tool that is easy to use and very flexible which allows you to build easy drop down content for your site. I would BUY such a module because it would really enhance my site and solve lots of problems.

Thanks for all the help as I'm sure I'll be in here again in the future to get some valuable advice.

27 Dec 2008, 1:23 AM
#9
agentx avatar

agentx

New Zenner

Join Date:
Nov 2007
Location:
Virginia
Posts:
57
Plugin Contributions:
0

Re: Need 2 drop down boxes for 1 product

I have the same issue in two area.

  1. Product combinations for discounts:

My cart sells matching designer purses, umbrellas, and wallets. Right now I have each item listed seperately and in their own categories (wallets, purses, umbrellas). I get a lot of customers who want to buy a matching umbrella and handbag; matching handback and wallet, etc. in various combinations. I want to offer them discounts for the more items they buy to drive up sales. Currently customers get a little frustrated because they have to buy one item then shop for the matching other item(s). I would like to give them the option to pull down a menue to order either the single item or one of 5 or so combinations at varying prices. How can I do that?

  1. Discounts on multiple quantities of the same item:

In another part of the store I sell hand rolled cigars. They can be bought in quantities of 5, 10, 15, or a box of 24 and there is a discount the more you buy. I would like to set up an option where the customer can order any one of those combinations at the quantity price.

Can soemone help?

27 Dec 2008, 1:24 AM
#10
agentx avatar

agentx

New Zenner

Join Date:
Nov 2007
Location:
Virginia
Posts:
57
Plugin Contributions:
0

Re: Need 2 drop down boxes for 1 product

P.S. I could not find anything in the FAQ or tutorials about this

27 Dec 2008, 3:32 AM
#11
gjh42 avatar

gjh42

Black Belt

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

Re: Need 2 drop down boxes for 1 product

Look for the Better Together mod in Free Addons for the combinations.

Quantity discounts on one attribute are a native feature. I haven't looked at them in a while, but I think in Attributes Controller you can get to the Multiple Quantity Discounts page.

27 Dec 2008, 9:44 AM
#12
mamasylvia avatar

mamasylvia

Zen Follower

Join Date:
Feb 2008
Posts:
379
Plugin Contributions:
0

Re: Need 2 drop down boxes for 1 product

Being too chicken to try to install additional mods (after the stock-by-attribute blew up my store), I look for other ways to do it.

For instance, are the wallets/purses/umbrellas all the same price? If so, it would be easy to put them all under a single product and set quantity discounts for that product.

If the prices are different, it's a little more complicated but not too bad. Let's say you sell these three items in two color/patterns, grey solid and blue stripe.

First you need to set up two option names, Item and Color.

Then you need to set up option values for two colors, Grey and Blue Stripe, and three items, Wallet, Purse, and Umbrella.

Then you set up the product. Maybe you want to call it "Matching Purses, Wallets, and Umbrellas" and make the photo of all three items. Be sure to check "price by attributes" YES, and set up the quantity discounts however you want.

Say the wallets are $5, the umbrellas as $8, and the purses are $10. You could set the item price as $8, then after the product is created and you go into the Attributes Controller to add the values you created, you would mark the Wallets attribute as -$3 and the purse attribute as +$2. (If you ship by weight, you also need to set a base weight in the product and then increase or decrease it by attribute.)

Also say the base price is for the grey solid, and there is a $1 surcharge for the blue stripe product. Again, when you add the two colors with Attribute Controller, you would add the $1 extra to the Blue Stripe attribute. ZC should see all the various forms and colors as the same product and apply the quantity discount.

The downside to doing it my way is that it won't monitor stock by attribute unless you install the "stock by attribute" mod, which I have not been able to get to work. But it should make it very easy for your customers to see what matching items are available and set the quantity discounts you want.

27 Dec 2008, 2:21 PM
#13
agentx avatar

agentx

New Zenner

Join Date:
Nov 2007
Location:
Virginia
Posts:
57
Plugin Contributions:
0

Re: Need 2 drop down boxes for 1 product

Thanks for the idea I may try that.

I also am a bit skiddish of Mods being new to this, but when I contacted the developer of the Mod that allows you to sell by group (mentioned above) he has an interface built for this and another MOD that does even more combinations that he has for sale. Essentially the mod is free, but if you buy his interface it's just clicking and filling in some bozes then the program does the rest. I may experiment with the attributes a bit firt to see if it goes through or I muck it up :-)

27 Dec 2008, 11:19 PM
#14
agentx avatar

agentx

New Zenner

Join Date:
Nov 2007
Location:
Virginia
Posts:
57
Plugin Contributions:
0

Re: Need 2 drop down boxes for 1 product

I tried it but I think I'm lost in how to create the products, attributes, etc. I've never done anything like this before.

Maybe I can start with something simpler like the cigars. Can you point me to where I can do this for them as a test?

I was able to create a product called "Test Cigars"

I then went into Option Name Manager and created a option name, but I'm not sure where to go from here.

It seems what I want to do should be pretty simple. I just want the customer to be able to select any of the following options and get charged the price

5 Pack of Cigars $40.00
10 Pack of Cigars $75.00
15 Pack of Cigars $110.00
24 Cigar Box $150.00

This will save me from aming the cart over-busy by having 4 diffent entries for the same item.

28 Dec 2008, 12:24 AM
#15
mamasylvia avatar

mamasylvia

Zen Follower

Join Date:
Feb 2008
Posts:
379
Plugin Contributions:
0

Re: Need 2 drop down boxes for 1 product

Okay, the cigars seem straightforward enough.

  1. Set up a Name -- maybe Cigar Package. For your purposes, I suggest either the Radio Button or Dropdown formats - there are few enough options for the cigars that Radio Button is quite feasible and won't make the product entry look junky. I tend to use the Radio Button for options wth just a few attributes, but the Dropdown box for options with lots of attributes (like my large variety of candle scents).

  2. Set up Values for Cigar Package
    5 Pack
    10 Pack
    15 Pack
    24 Box

  3. Set up the product Cigars and click "price by attributes" YES. Leave the price as 0 and the weight as 0.

  4. Go to Attributes Controller, first select the Cigars product and click Display so you don't wind up adding attributes to the wrong product. (Don't ask me how I know that is so easy to do!) Click one of the cigar package values (doesn't matter what order you add them in) and the corresponding option name (seems silly that ZC doesn't automagically figure out what the name is, since the value was added to that specific name, but it doesn't) DO NOT CLICK INSERT YET. Scroll down to the PRICES AND WEIGHTS section. Under "price," leave the plus sign alone and put the price for that value in the next box - for the 5 pack you'd put 40.00. Then under Weight, again leave the plus sign alone and put the weight in pounds in the next box. You can ignore most of the colored boxes, but I strongly recommend you click "yes" on the Default Attribute of at least one, otherwise you WILL get orders for cigars with no attribute selected. (You don't want to know how I know THAT, either.) Add a photo for the attribute if you want, I don't. NOW you are ready to click Insert.

  5. Repeat step 4 for each of the other desired attributes.

  6. Go to your store and click on the product and admire your work. ;)

Hopefully, this will get you familiar enough with attributes to try the purse/umbrella attributes again. And there is no requirement to add everything at once, try setting up just one or two choices for one field to start with, then go back and add more choices and/or more fields.

28 Dec 2008, 4:17 PM
#16
agentx avatar

agentx

New Zenner

Join Date:
Nov 2007
Location:
Virginia
Posts:
57
Plugin Contributions:
0

Re: Need 2 drop down boxes for 1 product

Thanks for the help. So far I have made it to setting up a test cigar with all the attributes without doing any tremendous damage to myself, the store, or equipment in the vicinity :shocking:

Here is what comes up and my next dumb questions:

Robusto Cigar Package

10 Cigar Pack ( +$67.50 ) (+1lbs)
15 Cigar Bundle ( +$100.00 ) (+2lbs)
24 Cigar Bundle ( +$150.00 ) (+2lbs)
24 Cigar Bundle in Cigar Box ( +$187.00 ) (+2lbs)
5 Cigar Pack ( +$40.00 ) (+1lbs)

  1. They are all in numerical order excepr the 5 Cigar pack that should be at the top. Is there any way for me to re-order them?

  2. I like the price coming up, but the shipping weight is just for me to calculate the postage and cost of shipping materials. Is is possible to have a weight and not have it show up?

28 Dec 2008, 4:41 PM
#17
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Need 2 drop down boxes for 1 product

All Attributes have Sort Orders ...

I find using the Default Sort Orders on the Option Values the best choice then applying them to your products ...

Peek at the Catalog ... Option Value Sorter ... then pick the Option Name you want to sort the Option Values for and order them ... which ordering in increments of 10 is often helpful for the future ...

NOTE: I set any Option Value that is for Display Only as Sort Order 0 ...

28 Dec 2008, 4:50 PM
#18
agentx avatar

agentx

New Zenner

Join Date:
Nov 2007
Location:
Virginia
Posts:
57
Plugin Contributions:
0

Re: Need 2 drop down boxes for 1 product

Thanks. I have them set for 5, 10, 20, 30, etc. the 5 cigar pack is set for 5 so I thought it would come out at the top....

I'll try it again, In the meantime, I'm still trying to find a way to keep the weight from showing up next to the description in the attribute (above).

28 Dec 2008, 5:08 PM
#19
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Need 2 drop down boxes for 1 product

Make sure that if applied to the Default values of the Option Values, that you also applied those Sort Orders to the Attributes after adding them in the Attributes Controller ...

There is an Update Sort Order button there ...

NOTE: In the Tools ... Store Manager ... there is also a global update that you can use:

Update All Products' Attribute Sort Orders
to match Option Value Default Sort Orders:

29 Dec 2008, 2:20 AM
#20
weddinggowns avatar

weddinggowns

New Zenner

Join Date:
Sep 2008
Location:
Colorado Springs
Posts:
25
Plugin Contributions:
0

Re: Need 2 drop down boxes for 1 product

mamasylvia:

Blank attribute?

I have multiple choices on several of my products; I even mix choice styles: here's a link to one product with a dropdown menu, two radio boxes, and a blank text line: http://www.steigerfamily.com/ZenCart/index.php?main_page=product_info&cPath=4&products_id=25

But the bottom line is that you need to set up the attribute name under Option Name Manager (such as Color, Scent, Wax type, and Candle form on the product above), then add the options under Option Value Manager, and THEN go to Attributes Controller, select the product you want the dropdown menus on (and remember to click "display" after you've selected the product or you'll add the attributes to the wrong product -- don't ask me how I know that) and select an option name AND an option value and click Insert. You have to go through this for each option value you want to add, which is rather tedious, but once one product is set up it's easy to duplicate and have the options copied to the new product automagically.
Sylvia,
How did you get your Fabrics category to open to the other options of cotton/then colors etc?
Thanks,
Weddinggowns (Patty)