Home Forums Plugin Support WP User Frontend Pro set quantity field

This topic is: not resolved

This topic contains 5 replies, has 2 voices, and was last updated by  towhid 4 years, 2 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #43407

    Fernon c
    Member
    Post count: 12

    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!

    #43436

    towhid
    Participant
    Post count: 4505

    Hello Fernon,

    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 ๐Ÿ™‚

    #44848

    Fernon c
    Member
    Post count: 12

    Hi Towhid,

    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.

    see screenshot:

    [img]https://www.imageupload.co.uk/images/2015/05/21/ScreenShot2015-05-21at4.20.28PM.png[/img]

    #44955

    towhid
    Participant
    Post count: 4505

    Hello Fernon,

    Make sure you have not enabled “Allow Backorders? = Do not Allow”

    Please check this screenshot.
    Order

    Thanks

    #44956

    Fernon c
    Member
    Post count: 12

    Thanks, but how does a user enable this setting on the front-end for his/her product?

    #44972

    towhid
    Participant
    Post count: 4505

    Hello Fernon,

    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.

    Thanks

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘set quantity field’ is closed to new replies.