Okay
  Public Ticket #2499468
filter not working under $10
Closed

Comments

  • Sujon Kumar Dey started the conversation

    http://prntscr.com/tx90ui


    I want to this filter will be working under $10 , how can I do this ? Thanks

  •  2,635
    Kevin replied

    Hi

    Currently the width of the product filter slider is 10 units, when all your products are priced <10, change this to 1
    # Please add the following code in functions.php file (Appearance-> Editor / functions.php)


    function change_price_filter_step() {
            return 1;
    }
    add_filter('woocommerce_price_filter_widget_step', 'change_price_filter_step', 10, 3);