tweak to last commit

This commit is contained in:
Mike Jolley 2012-11-13 15:22:27 +00:00
parent e6c72148ea
commit a278909783
1 changed files with 3 additions and 3 deletions

View File

@ -187,9 +187,9 @@ foreach ( $order_tax_rows as $order_tax_row ) {
// Add line item meta
if ( $item_id ) {
woocommerce_add_order_item_meta( $item_id, 'compound', absint( $order_item['compound'] ) );
woocommerce_add_order_item_meta( $item_id, 'tax_amount', absint( $order_item['cart_tax'] ) );
woocommerce_add_order_item_meta( $item_id, 'shipping_tax_amount', absint( $order_item['shipping_tax'] ) );
woocommerce_add_order_item_meta( $item_id, 'compound', absint( $order_tax['compound'] ) );
woocommerce_add_order_item_meta( $item_id, 'tax_amount', absint( $order_tax['cart_tax'] ) );
woocommerce_add_order_item_meta( $item_id, 'shipping_tax_amount', absint( $order_tax['shipping_tax'] ) );
}
// Delete from DB (rename)