I have a product type references 2 optionset fields for color and network attributes

when add item to cart,it shows 2 items,each with 1 option set. how to solve this? thx!

CommentFileSizeAuthor
Clipboard01.png11.44 KBmarcolam

Comments

Anonymous’s picture

This is expected behavior. They are two different items aren't they? One has a color (black) and no network, the other has no color and a network.

Or do you want to be able to choose a color AND a network? For this you need to add both color & network fields to one single Option set, and reference this option from your commerce product.

marcolam’s picture

Got it,thanks. :)
And say if I have 10 optionsets and 20 fields,in order to show the attributes,I have to add them all to the shopping cart view and order view,etc.
Everytime I add a new optionset I have to modify all the views.
Is there an easy way to display all of them?

Anonymous’s picture

To show all the chosen options you have to adjust each cart/checkout view, yes. There is not really a way around this, there is no magic "add all my custom stuff to every view" button :)
Maybe you shouldn't have 10 different option sets but combine them all into one? Of course I don't know your setup and shat makes sense for you.

marcolam’s picture

Thank you for ur helps!

marcolam’s picture

Category: Task » Support request
Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)