Merge pull request #5951 from grey-rsi/master

class-wc-widget-price-filter.php - add filter
This commit is contained in:
Mike Jolley 2014-08-05 11:08:02 +01:00
commit a186e1e52f
1 changed files with 2 additions and 2 deletions

View File

@ -157,8 +157,8 @@ class WC_Widget_Price_Filter extends WC_Widget {
<div class="price_slider_wrapper">
<div class="price_slider" style="display:none;"></div>
<div class="price_slider_amount">
<input type="text" id="min_price" name="min_price" value="' . esc_attr( $min_price ) . '" data-min="'.esc_attr( $min ).'" placeholder="'.__('Min price', 'woocommerce' ).'" />
<input type="text" id="max_price" name="max_price" value="' . esc_attr( $max_price ) . '" data-max="'.esc_attr( $max ).'" placeholder="'.__( 'Max price', 'woocommerce' ).'" />
<input type="text" id="min_price" name="min_price" value="' . esc_attr( $min_price ) . '" data-min="'.esc_attr( apply_filters( 'woocommerce_price_filter_widget_amount', $min ) ).'" placeholder="'.__('Min price', 'woocommerce' ).'" />
<input type="text" id="max_price" name="max_price" value="' . esc_attr( $max_price ) . '" data-max="'.esc_attr( apply_filters( 'woocommerce_price_filter_widget_amount', $max ) ).'" placeholder="'.__( 'Max price', 'woocommerce' ).'" />
<button type="submit" class="button">'.__( 'Filter', 'woocommerce' ).'</button>
<div class="price_label" style="display:none;">
'.__( 'Price:', 'woocommerce' ).' <span class="from"></span> &mdash; <span class="to"></span>