A certain clothing item sold on the e-shop I am setting up is available in one-size, just like some items on the CK demo store.

For products with a single option in the size (or other) attribute, the attribute is hidden because there is no actual choice to be made.

However, it would be handy to have this one option shown or have a setting to "show attribute even if only one option available". Otherwise the visitor does cannot necessarily guess that one-size is implied.

Is there such a setting that I am unaware of?

Thank you

CommentFileSizeAuthor
#3 screenshot-product-display-setting.png57.63 KBjsacksick

Comments

marktheshark’s picture

I'm thinking the Commerce Product Attributes is probably the correct module for this issue (however I don't see this module in Commerce Kickstart...) and that this is a bug rather than a feature request.

Customers have no way of seeing an attribute with one value, unless there is also a multi-valued other attribute at the same time.

e.g. the One-size size attribute does not appear unless the item also has e.g. multiple colors.

Please indicate if this should be reassigned to a different area.

marktheshark’s picture

Title: How to enable display of one-size (or single available size) attribute value on add to cart form » One-size (or single available size) attribute value not displayed on add to cart form
Category: support » bug
jsacksick’s picture

Category: bug » support
Status: Active » Fixed
StatusFileSize
new57.63 KB

This can be done by checking "Show attribute widgets even if the Add to Cart form only represents one product. " on the formatter settings of the product reference field attached to your node type.

screenshot-product-display-setting.png

marktheshark’s picture

Excellent, thanks. Perhaps this would make sense as a default (Or show as text instead as combo box when only one option).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

clarification