Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable the quantity field in the product detail page in woocommerce?

Tags:

woocommerce

I need to hide the "quantity" field (where one enters the quantity before adding to cart) in Woocommerce on the product detail page, and only show the "add-to-cart"-button, which would then put the quantity of 1 in the cart. The reason is because I gather the quantity based on a Gravity Forms.

like image 440
user2051753 Avatar asked Feb 07 '13 17:02

user2051753


People also ask

How do I change quantity in WooCommerce?

Navigate to WooCommerce > Settings > Products > Default quantity: Here you can simply type the new default quantity into the relevant field. It will automatically be applied to your entire store, saving you the trouble of editing each product individually.


1 Answers

  • Edit your product.
  • Click "Inventory".
  • Check the box that says "Sold Individually"
like image 92
John Chandler Avatar answered Oct 17 '22 04:10

John Chandler