See www.LMoor.com. There is no quantity value in the store. It doesn't appear until you go to the cart. If I enable quantity display from Drupal Commerce, it just shows as 1, with no way to change it. How do I enable a quantity selector similar to what is available in the cart?
Tue, 06/27/2017 - 16:12
Hi,
Not sure about your problem. Can you please send us some screenshots?
When viewing a shop product, there is an add to cart button, but that's it. If you wanted to order more than one of the product, you would need to hit add to cart several times, or adjust the quantity in the cart.
That said, I've found my own solution:
1) Go to the content type for the product display. By default for this theme, that's Shop_Product. Go to Manage Display, and then click the gear icon beside the Product Options field. Tick the box that says, "Display a textfield quantity widget on the add to cart form". Save your changes. This adds a text only quantity box.
2) Change MD_Avendor.js (in sites/all/themes/md_avendor/js/), adding the green lines below to the Shop Input section. This adds the arrow buttons to increase and decrease the quantity.