commit
b18daf05a8
|
@ -346,7 +346,7 @@ function woocommerce_order_items_meta_box( $post ) {
|
|||
|
||||
<th class="quantity"><?php _e( 'Qty', 'woocommerce' ); ?></th>
|
||||
|
||||
<th class="line_cost"><?php _e( 'Cost', 'woocommerce' ); ?> <a class="tips" data-tip="<?php _e( 'Line subtotals are before pre-tax discounts, totals are after.', 'woocommerce' ); ?>" href="#">[?]</a></th>
|
||||
<th class="line_cost"><?php _e( 'Totals', 'woocommerce' ); ?> <a class="tips" data-tip="<?php _e( 'Line subtotals are before pre-tax discounts, totals are after.', 'woocommerce' ); ?>" href="#">[?]</a></th>
|
||||
|
||||
<?php if ( get_option( 'woocommerce_calc_taxes' ) == 'yes' ) : ?>
|
||||
<th class="line_tax"><?php _e( 'Tax', 'woocommerce' ); ?></th>
|
||||
|
|
|
@ -228,6 +228,8 @@ jQuery( function($){
|
|||
$row.find('input.line_total').val( total );
|
||||
$row.find('input.line_subtotal_tax').val( tax );
|
||||
$row.find('input.line_tax').val( total_tax );
|
||||
|
||||
$(this).trigger('quantity_changed');
|
||||
});
|
||||
|
||||
// When subtotal is changed, update the unit costs
|
||||
|
|
Loading…
Reference in New Issue