Support » Plugin: WOOF - Products Filter for WooCommerce » Changing price filter text for delete button label

  • Resolved webrightnow

    (@webrightnow)


    I changed the “Drop-down price filter text” to “Price” which works for the Dropdown label, but not for the label next to the delete button that appear once the price range filter is applied. This still displays as “price range” which makes it look inconsistent.

    I was at least able to capitalize the label by adding this style to my CSS:

    .woof_remove_ppi {
        text-transform: capitalize;
    }

    But it would be better if the text chosen in “Drop-down price filter text” was also applied to the delete label.

    Could this be implemented in a future update? I don’t want to edit the plugin code as it will just be overwritten on the next update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support mediawebster

    (@mediawebster)

    Hello

    You can override this in js file

    woof_lang.pricerange = “Price”

    Thread Starter webrightnow

    (@webrightnow)

    OK thanks. But I presume after next update I will lose the override?

    Plugin Support mediawebster

    (@mediawebster)

    Hello

    Not if you do it right.

    Add custom code in functions.php (use hook wp_head with priority 9999)

    code

    <script>
    woof_lang.pricerange = “Price”
    </script>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing price filter text for delete button label’ is closed to new replies.