Problem/Motivation

Commerce Fancy Attributes Widget is always visible in the add to cart form of the product display for each attribute, even when there's only one option for the attribute.

Proposed resolution

Only build and display the Commerce Fancy Attribute widget of a given attribute if it has more than one option for the product currently displayed.

Comments

pomliane’s picture

Status: Active » Needs review
StatusFileSize
new943 bytes
artusamak’s picture

Status: Needs review » Needs work

I think that the feature you are asking for should be moved into Commerce itself because this behavior is the same for every attribute selection widget, fixing it here would not be enough.
I would say that it should also be configurable to let you decide if you want or not to have this new behavior.

artusamak’s picture

Status: Needs work » Closed (won't fix)

I'm closing this, i believe that it's out of fancy attributes scope.

Feel free to reopen it if you want to bring a new version of the patch but first discuss it in Commerce itself.