{"id":464,"date":"2025-03-20T17:26:59","date_gmt":"2025-03-20T17:26:59","guid":{"rendered":"http:\/\/documentation.wpgetpaid.com\/?post_type=gd_place&#038;p=464"},"modified":"2025-03-26T13:53:50","modified_gmt":"2025-03-26T13:53:50","slug":"how-to-add-item-quantity-selector-to-forms","status":"publish","type":"gd_place","link":"https:\/\/wpgetpaid.com\/documentation\/article\/discounts\/how-to-add-item-quantity-selector-to-forms\/","title":{"rendered":"How to Add Item Quantity Selector to Forms?"},"content":{"rendered":"<p>\n\tGetPaid lets you add a quantity selector for items on the checkout forms, to help your users specify quantities of certain items.&nbsp;<\/p>\n<h2>\nHow to Add a Qty Selector to Checkout Forms?<\/h2>\n<p>\n\tIf you only need to add the quantity selector for an individual item, the best way to do so is to specify 0 as the quantity when adding a Buy button or displaying a form:&nbsp;<\/p>\n<pre>[getpaid item=2120|0]\n[getpaid item=2120|0 button='Buy Now']\n<\/pre>\n<p>\n\tHowever, to display quantities on the form, you will need to&nbsp;click on the <strong>&#8220;Item totals will appear here&#8221;,<\/strong> then open the item, and check the <strong>&#8220;Allow users to buy several items&#8221;<\/strong> checkbox.<\/p>\n<p>\n\t<img width=\"600\" height=\"272\" src=\"https:\/\/wpgetpaid.com\/documentation\/wp-content\/uploads\/2025\/03\/screenshot-localhost-2021-05-25-09_59_46.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgetpaid.com\/documentation\/wp-content\/uploads\/2025\/03\/screenshot-localhost-2021-05-25-09_59_46.png 600w, https:\/\/wpgetpaid.com\/documentation\/wp-content\/uploads\/2025\/03\/screenshot-localhost-2021-05-25-09_59_46-300x136.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>\n\tThis will allow users to specify quantities of individual items.&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GetPaid lets you add a quantity selector for items on the checkout forms, to help your users specify quantities of certain items.&nbsp; How to Add a Qty Selector to Checkout Forms? If you only need to add the quantity selector for an individual item, the best way to do so is to specify 0 as [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[291,292,299],"article\/categories":[220,211],"class_list":["post-464","gd_place","type-gd_place","status-publish","hentry","gd_place_tags-multiple-items","gd_place_tags-checkout-forms","gd_place_tags-quantity-selector","gd_placecategory-discounts","gd_placecategory-tips-tricks-more"],"_links":{"self":[{"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/article\/464","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/comments?post=464"}],"version-history":[{"count":0,"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/article\/464\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/media?parent=464"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=464"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}