Fix order discount input label "for" attribute
This commit is contained in:
parent
69694e7a13
commit
6610f71d5a
|
@ -110,7 +110,7 @@ class WC_Meta_Box_Order_Totals {
|
|||
<?php endif; ?>
|
||||
|
||||
<div class="totals_group">
|
||||
<h4><label for="_order_total"><?php _e( 'Order Discount', 'woocommerce' ); ?></label></h4>
|
||||
<h4><label for="_order_discount"><?php _e( 'Order Discount', 'woocommerce' ); ?></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] ) );
|
||||
|
|
Loading…
Reference in New Issue