• Resolved c0mm

    (@c0mm)


    wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php

    Line 1381
    $sql = apply_filters( ‘woocommerce_update_product_stock_query’, $sql, $product_id_with_stock, $stock_quantity, ‘set’ );

    must to be
    $sql = apply_filters( ‘woocommerce_update_product_stock_query’, $sql, $product_id_with_stock, $new_stock, ‘set’ );

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Dev #22672’ is closed to new replies.