• Resolved rayeason

    (@rayeason)


    Hello and good day.

    I am trying to indicate the quantity of stock using a plugin.

    I am using the variable _stock.

    However, my post is showing 1.000 for the stock quantity of 1 (or any number.

    Is there a different woocommerce variable I can use other than _stock?

Viewing 1 replies (of 1 total)
  • Hi there @rayeason,

    Thanks for reaching out.

    There is an option in WooCommerce to display how many product items you have in stock left. To enable this feature, go to?WooCommerce → Settings → Products → Inventory?and check the?Enable stock management?box in the?Manage stock?option.

    Once you do this, go to your?Products?section and edit the product you want to display the stock left. Then, in?Product data → Inventory, check the?Enable stock management at product level?box in the?Manage stock??Option. Once you do this, enter the?Stock quantity?you want to display and save changes.

    You can find more details from our guide here: https://woo.com/document/configuring-woocommerce-settings/#products-inventory-options.

    I hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘WooCommerce Stock Quantity’ is closed to new replies.