Support » Plugin: Advanced AJAX Product Filters » Remove .00 from price in priceslider

  • Resolved jpegtobbe

    (@jpegtobbe)


    Is there any way to remove the trailing zeros from the From and To-prices in the priceslider? And maybe also add the currency. So in my case i want “123.00” to be “123 kr”.

    I tried the berocket_aapf_get_price_range filter. But the price in value of the function was “123” and not 123.00 as presented in the front end. Maybe you should run the values through the woocommerce price formatting function so you get the settings from WooCommerce?

    Best regards,
    Tobias

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author RazyRx

    (@razyrx)

    Hi Tobias,

    Unfortunately free version of plugin doesn’t have feature to change price formatting.
    Plugin can’t use WooCommerce price formatting function, because price formats via JavaScript code, but WooCommerce formatting function is for PHP.

    Regards,
    Oleg

    Warren

    (@rabbitwordpress)

    Hi Oleg,

    Does the Premium Version allow removal of .00 ?

    If yes I will purchase it.

    Kind regards
    Warren

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove .00 from price in priceslider’ is closed to new replies.