Add label explaining discount field Closes #5300

This commit is contained in:
Mike Jolley 2014-04-09 15:58:22 +01:00
parent 3228fecbe5
commit 7fd971b3ff
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class WC_Meta_Box_Order_Totals {
<?php endif; ?>
<div class="totals_group">
<h4><label for="_order_discount"><?php _e( 'Order Discount', 'woocommerce' ); ?></label></h4>
<h4><label for="_order_discount"><?php _e( 'Order Discount', 'woocommerce' ); ?> <span class="tips" data-tip="<?php _e( 'This is the total discount applied after tax.', 'woocommerce' ); ?>">[?]</span></label></h4>
<input type="text" class="wc_input_price" id="_order_discount" name="_order_discount" placeholder="<?php echo wc_format_localized_price( 0 ); ?>" value="<?php
if ( isset( $data['_order_discount'][0] ) )
echo esc_attr( wc_format_localized_price( $data['_order_discount'][0] ) );