Fix tax rate saving #3884
This commit is contained in:
parent
4204b25879
commit
f81203fc76
|
@ -134,8 +134,8 @@ class WC_Meta_Box_Order_Items {
|
|||
if ( isset( $order_item_qty[ $item_id ] ) )
|
||||
woocommerce_update_order_item_meta( $item_id, '_qty', apply_filters( 'woocommerce_stock_amount', $order_item_qty[ $item_id ] ) );
|
||||
|
||||
if ( isset( $item_tax_class[ $item_id ] ) )
|
||||
woocommerce_update_order_item_meta( $item_id, '_tax_class', woocommerce_clean( $item_tax_class[ $item_id ] ) );
|
||||
if ( isset( $order_item_tax_class[ $item_id ] ) )
|
||||
woocommerce_update_order_item_meta( $item_id, '_tax_class', woocommerce_clean( $order_item_tax_class[ $item_id ] ) );
|
||||
|
||||
if ( isset( $line_subtotal[ $item_id ] ) ) {
|
||||
woocommerce_update_order_item_meta( $item_id, '_line_subtotal', woocommerce_format_decimal( $line_subtotal[ $item_id ], false ) );
|
||||
|
|
Loading…
Reference in New Issue