• Resolved bl1nktank

    (@bl1nktank)


    I have stock management enabled in WC product settings, on the import for one product out of all of them I set manage_stock = yes, stock = 2, and change_stock = yes. All other products have no value for any of those and import/update as In Stock, while the one I’m trying to set the stock quantity for says Out Of Stock x 0…

    https://wordpress.org/plugins/woocommerce-csvimport/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bl1nktank

    (@bl1nktank)

    Never mind, change_stock is the update amount. But what is the stock column then? It doesn’t seem to do anything even with new products.

    Plugin Author allaerd

    (@allaerd)

    stock is if you want to set the stock, change_stock is when you want to change it. And if you use it stock will be ignored.

    Example:

    product X with stock 5

    stock = 10 -> after import the stock is 10
    change_stock = 10 -> after import the stock = 15

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How to update/set stock qty for a product?’ is closed to new replies.