What is the difference on the “Stock update method” options?

Top WooCommerce & WordPress Plugins Forums Cost of Goods for WooCommerce What is the difference on the “Stock update method” options?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #89912
    tony
    Guest

    Hello,

    In Tools & Reports=> Bulk Edit Costs Tool.=>Manage stock: Stock update methodIgnored unless “Manage stock” checkbox is enabled above. Possible values: Update product meta; Use product functions.

    What is difference between values :

    -Update product meta
    and
    -Use product functions

    I don’t see difference action.

    thanks

    #89913
    Pablo
    Moderator
    Plugin Support

    Hi Tony,

    This is only a technical difference regarding how the stock will be updated. “Use product functions” uses $product->set_stock_quantity() method while “Update product meta” uses update_post_meta() function.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.