Tags/topics: 
2
Answers
Vote up!
0
Vote down!

How do I enable the Quantity field Widget on Add To Cart?

How do I enable the Quantity field (so users can order say -5- of an item) ?

I've been reading the Kickstart 2 docs and the Add To Cart section does not match what I see on the Product Edit screen for the demo site we set up. According to the docs, I should see a screen like this, but I see no way to access

/Admin /Structure / Content Types / Product Display

https://drupalcommerce.org/user-guide/cart#add-to-cart-examples

https://drupalcommerce.org/sites/default/files/docs/Add-to-Cart-Form-Man...

Referring to the above image, where is that widget at the right edge of the table?

One WAG... I'm using the demo data. Is this one of those things where one cannot see the widget unless one completely starts over (ie. empties the demo data?)

TIA

Asked by: suntower
on October 2, 2014

2 Answers

Vote up!
0
Vote down!

suntower,

The User Guide is written for vanilla Drupal Commerce. One thing that makes this complicated is that Drupal excels in forcing the UI to your workflow. That's good for people that know that, but it's hard to document anything reliably.

That being said, you can modify the add-to-cart formatter for your product reference field on Kickstart 2.

For example:

To get there hover over "Content" and then click "Content Types" and click "Manage Display" on one of the product content types. Look for the field called "Product Variations" and click the gear to the right.

admin/structure/types/manage/bags-cases/display

Josh Miller
Answer by: Josh Miller
Posted: Oct 3, 2014

Comments

Thanks. In my install 7.2.15... that widget is hidden. When I saw your screencap I went on a search, found the code that hides it and hacked it temporarily so I could -see- it. I read that you don't want issue reports here. Where does one post a bug? This has been frustrating me for a while... I thought I was going nuts.

- suntower on October 3, 2014
Vote up!
0
Vote down!

BTW: I totally get and appreciate the 'enforcement' aspect of a CMS. I do think the docs could be clearer... especially wrt to KickStart. If there is a place to volunteer to help in this area, I'm happy to do so.

Answer by: suntower
Posted: Oct 3, 2014