Support » Plugin: Advanced AJAX Product Filters » Price range slider wrong results for products with variations

  • Hello,
    I checked your demo and the price range slider is working wrong. For example you have a variable product Hoodie Blue Idea Back with price 200-230. If I choose 100-210 on the price slider the product is not showing which is wrong. I think it happens because it checks only the higher price of the product (230). Can you please check this and tell me what to do to correct this?
    Thank you in advance.

    The page I need help with: [log in to see the link]

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

    (@razyrx)

    Hello,

    It happens because default WooCommerce price filter work same.
    You can enable option “Search variation price” in plugin settings -> Advanced tab to search by variation price.

    Regards,
    Oleg

    Thread Starter kn784

    (@kn784)

    Hello @razyrx ,
    Thank you for your reply.
    I enabled the option “Search variation price” but it is doing the same thing. I also checked default WooCommerce price filter and it is not doing the same thing.
    Can you please help with this?

    Thank you in advance.

    Thread Starter kn784

    (@kn784)

    Hello @razyrx ,
    Any news about this?

    Plugin Author RazyRx

    (@razyrx)

    Hello,

    Please provide your site URL to check the issue.

    Regards,
    Oleg

    Thread Starter kn784

    (@kn784)

    Hello,
    My site is on localhost for now. I checked this on your demo on https://woocommerce-products-filter.berocket.com/shop/ and from your backend demo.

    Best regards!

    Plugin Author RazyRx

    (@razyrx)

    Hello,

    On our demo site option “Search variation price” is disabled.
    Same as on our backend demo this option disabled by default.

    Regards,
    Oleg

    I have the same issue the product price is 207 but the filter is set at 180 and the product shows. So I have a range 0 – 180 so I presume it will only show products in that range, yet the product that is showing is 207 so it should not display.

    It is also displaying the price range wrong as the highest price I have is 230 yet the slider only goes up to 200.

    Ok so here is the issue:

    The plugin ignores tax so it s not really filtering the products according to the price displayed but the regular price. It should actually work on the display price and not the regular price. The same with the range it should use the display price (regular price + tax) as the max price and not just the regular price as the max.

    • This reply was modified 1 year, 5 months ago by calvincanisa.
    • This reply was modified 1 year, 5 months ago by calvincanisa.
    • This reply was modified 1 year, 5 months ago by calvincanisa.
    Thread Starter kn784

    (@kn784)

    Hello @razyrx ,
    Yes I saw this. But can you check this from your side. Is this working ok on your side with this? I checked this on localhost with “Search variation price” selected and also I checked this on demo backend and it is doing the same thing. I think this is not the correct behaviour of the filter. Can you please tell me what I have to change in the code to work the way I asked??

    Thank you in advance.

    Plugin Author RazyRx

    (@razyrx)

    Hello,

    @calvincanisa Plugin has option “Use Taxes in Price Filters” in plugin settings -> Advanced tab.

    @kn784 Checked option “Search variation price” on local site
    Option “Search variation price” disabled: https://imgur.com/a/06ZRVJl
    Option “Search variation price” enabled: https://imgur.com/a/WtyoKFe
    As you can see it works correct for variable products.

    Regards,
    Oleg

    Ok great that fixed it thank you

    Thread Starter kn784

    (@kn784)

    Hello @razyrx ,
    Thank you for your reply. Maybe it has to do with another plugin conflict or with the theme but on my side it is not working. I checked the price slide filter and I saw the url changes to https://example.com?filters=price%5B11280_29002%5D when I apply and the filter is not showing any product. If I change this to https://example.com?filters=price%5B11280*29002%5D it is working ok. Can you please help me with this? What I have to change to work with “*” instead of “_”?
    Thank you in advance.

    Plugin Author Dmytro Holovnia

    (@dholovnia)

    Hello,

    We need to see it on your side. Please upload site to the web and provide a link to it.

    Regards,
    Dima

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Price range slider wrong results for products with variations’ is closed to new replies.