[API] Removed test in WC_API_Orders::set_line_item()
This commit is contained in:
parent
ed919ae2f5
commit
d5524a62bf
|
@ -949,8 +949,6 @@ class WC_API_Orders extends WC_API_Resource {
|
|||
$item_args['totals']['subtotal_tax'] = floatval( $item['subtotal_tax'] );
|
||||
}
|
||||
|
||||
error_log( print_r( $item_args, true ) );
|
||||
|
||||
if ( $creating ) {
|
||||
|
||||
$item_id = $order->add_product( $product, $item_args['qty'], $item_args );
|
||||
|
|
Loading…
Reference in New Issue