Page 1 of 1

Multiple attributes per product

Posted: Tue Jul 31, 2012 11:09 pm
by watchitnow
Hi, I'm going to use an attribute filter for my site. Right now I'm testing it. It is working great!

But I have a question, I seached for the awnser on google and in the forum but I could not find it.

When you are in Catalog>Product and you edit a product's attributes you can select one of your attributes and write what color, size, material... it is. I want to put in multiple attributes. So if a product is white and zilver, but I can't choose it is possible to do both.

I will give an example to make this more clear: You got an attribute lets say watch-band color, the color of this watch band is grey, but also silver. So you put in the attribute text box "silver, grey". This will be shown as "silver, grey" in your attributes. That is not the problem. The problem is that the attribute filter also shows "silver, grey". I want the filter to show it when you select grey or when you select silver (or both).

I want to use the attribute text box just like the tags text box. So the , will be used as a seperator. Can this be done or is there another fix for this? I could not figure it out.

Thanks!

Re: Multiple attributes per product

Posted: Wed Sep 26, 2012 4:23 am
by josiahgarber
I also would love a solution to this.

I use the attribute filter. I would love to be able to give a product two attributes ie. dog, cat. We have a lot of products that can be used for multiple types of animals.

If anyone is interested in doing some custom development just PM me. Or if there is an existing solution that would be great.

Our website is www.keystonepetplace.com

Re: Multiple attributes per product

Posted: Tue Nov 20, 2012 2:06 pm
by tora0515
This won't work with dropdowns, but checkboxes will do what you are looking for.

Start by creating an attribute group called BAND or how ever you want it to be labelled.

Create an attribute for WHITE , assign it to the group TYPE and give it a sort order of 0

Create another attribute named SILVER, assign it to the group TYPE and give it a sort order of 1.

Go to your product, select the attribute tab. Add an attribute. Call it WHITE, then in the text box enter WHITE.

Add another attribute. Call it SILVER, then in the text box enter SILVER.

Save it, now you have a single product with more than one attribute.

If you are using filterpro go to catalog/view/theme/default/template/module/filterpro.tpl

Find this:

<div class="option_name"><?php echo $attribute_value['name']; ?></div>

Then comment it out.