Closed (works as designed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Cart
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Jan 2014 at 15:25 UTC
Updated:
6 May 2016 at 19:43 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mimrock commentedProposed patch. To tell the truth, I haven't done extensive study and testing about this, but it seems to solve my problem on my site.
Comment #2
mimrock commentedComment #3
rajmataj commentedThis has been an issue for almost a year for me. Applied this to
/profiles/commerce_kickstart/modules/contrib/commerce/modules/cart/commerce_cart.moduleand it worked!!! Using: Drupal 7.26 with commerce_kickstart-7.x-2.12.Thank you thank you thank you!!
Update: 2014-04-01:
Confirmed this patch is still necessary with Drupal 7.26 with commerce_kickstart-7.x-2.13
Comment #4
rajmataj commentedUpdating to critical since a product with only one active variation will not display its information at all for front-end users.
Comment #5
rszrama commentedThis is working as designed. Attribute fields are unrelated to the product select list that appears if you aren't using attribute fields and have more than one product referenced on a form. That's simply a product select list, not an attribute field widget.
Comment #6
gregoryshearer commentedOK then how do we show the "product select list" if it has only one product to display.
My use case is similar to this and, like I commented there, "showing a dropdown with only one option is bad ux" is a really bad answer.
https://drupalcommerce.org/questions/18691/how-can-i-have-my-add-cart-fo...