Add help tip for schedule sales info

Closes #6863
This commit is contained in:
Bryce 2014-12-03 13:20:24 +07:00
parent 951c70de7e
commit 80ccc7b09d
1 changed files with 1 additions and 0 deletions

View File

@ -173,6 +173,7 @@ class WC_Meta_Box_Product_Data {
<input type="text" class="short" name="_sale_price_dates_from" id="_sale_price_dates_from" value="' . esc_attr( $sale_price_dates_from ) . '" placeholder="' . _x( 'From&hellip;', 'placeholder', 'woocommerce' ) . ' YYYY-MM-DD" maxlength="10" pattern="[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])" />
<input type="text" class="short" name="_sale_price_dates_to" id="_sale_price_dates_to" value="' . esc_attr( $sale_price_dates_to ) . '" placeholder="' . _x( 'To&hellip;', 'placeholder', 'woocommerce' ) . ' YYYY-MM-DD" maxlength="10" pattern="[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])" />
<a href="#" class="cancel_sale_schedule">'. __( 'Cancel', 'woocommerce' ) .'</a>
<img class="help_tip" style="margin-top:21px;" data-tip="The sale will end at the beginning of the set date." src="' . esc_url( WC()->plugin_url() ) . '/assets/images/help.png" height="16" width="16" />
</p>';
do_action( 'woocommerce_product_options_pricing' );