Discussions

Can I change product attributes on products listed from a view?

I created a view where I list my products. I have various attributes of the products by size and color.
In the "store" I have created a product type with "List Text" fields for sizes and colors
and "Enable this field to function as an attribute field on Add to Cart form.".
Everything works fine directly on the node, I can change between the different attributes
and it changes the size and color but in my view, the form to change between the different attributes. I dont know or if that option is there in views to get it done, the "attribute-widgets".

Appreciate any response

/Robert

Posted: Jan 31, 2012

Comments

rfay Randy Fay on January 31, 2012

On a view of *products* there's nothing that the view could do to present different attributes in an add-to-cart form, because the various attributes come from different products. The add-to-cart form with its ability to present attributes is a feature of the product reference field... I suppose you could add a product reference field to a product.

You can use a view of product display nodes and present the add-to-cart form, and it will work.