May 8, 2015 at 5:20 pm 43407
|towhid||Hi, Is it possible to let users fill in the amount of items left (stock). I know there is a stock meta key but how does that work? _stock as a text field and then let the user fill in a number? Thanks!|
May 9, 2015 at 11:02 am 43436
Step 1: From “Custom Field” select “Text” field and set title as – “Stock”. Which will allow users to set their stock.
Step 2: Use meta key: _stock
Please check this documentation to know more about the process – http://docs.wedevs.com/woocommerce-with-wp-user-frontend-pro-tutorial-part-1/
Please let me know the result after finish above works.
Thank you 🙂
May 21, 2015 at 8:22 pm 44848
Thanks for your response!
Unfortunately it doesn’t work. Users are still able to choose an unlimited amount of that product. So for example if someone puts 3 in the _stock field. You can still buy 9.
May 23, 2015 at 3:41 pm 44955
Make sure you have not enabled “Allow Backorders? = Do not Allow”
Please check this screenshot.
May 23, 2015 at 3:44 pm 44956
Thanks, but how does a user enable this setting on the front-end for his/her product?
May 23, 2015 at 5:23 pm 44972
I am really sorry to say we do not have this kind of feature right now. If you need this function urgent you can customize on your own you can hire a developer.