• Something strange happens with the WOOF price filter in my web.

    I am checking this in my web here: https://moamoa.es/cosmetica-natural/corporal-y-bano/

    The max value of the price filter is 58€, when the highest price product is one of 69€ (in page 3 of this category, a product called “travel kit grow alchemist”). Why?

    Some searchings I have made:

    – If I put the woocommerce regular price filter widget, together with WOOF, it shows the same wrong max value (58€)
    – I I deactivate the WOOF plugin, the woocommerce regular price filter widget shows the correct value (70€). This is because I think the problem is in the WOOF plugin.
    – I have checked with twenty sixteen theme and the problem remains. It does not look a theme problem.
    – I have the last version of WOOF (1.1.3.1.) but I installed older versions (1.1.3 or 1.1.2.) and the problem remains, so it does not look a new version problem

    What could be happening?
    Thanks in advance.

    https://www.ads-software.com/plugins/woocommerce-products-filter/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author RealMag777

    (@realmag777)

    Hello

    Yes I see 1 product here: https://moamoa.es/cosmetica-natural/corporal-y-bano/?min_price=55&max_price=80

    It is: https://moamoa.es/cosmetica-natural-producto/kit-facial_-grown-alchemist-copiar/ – try to check what the difference in admin side between this product and any another, maybe price is on another textinput or smth like this … This product is the same as any another products …

    +

    Maybe another plugin is in conflict, for example any plugin which works with currency hooks ….

    I think the reason is because of the entered prices are before taxes. In woocommerce settings->tax I choose “I will enter prices exclusive of tax”.
    Then, regarding the product “travel kit grown alchemist”, the price introduced is 57,02€. Adding taxes (21%), the final price is 69€. Then, I guess the price filter is taking into account to show the max value the introduced price (57,02), when it should take into account the final value (69), in order to avoid these cases.

    Am I correct?

    Plugin Author RealMag777

    (@realmag777)

    I think the reason is because of the entered prices are before taxes. – yes! I think it is the reason … Try deactivate price range-slider in WOOF and just drop native woocommerce price widget, WOOF and that widget works fine together. Is range of native price-range slider is right (x – 69)?

    I make that:

    deactivate price range-slider in WOOF and just drop native woocommerce price widget

    and now it looks allright. Thank you.

    Plugin Author RealMag777

    (@realmag777)

    Hello

    Thank you for cooperation …

    The only solution for this problem is to delete any orphaned product variations
    please run this sql

    SELECT * FROM wp_posts o
    LEFT OUTER JOIN wp_posts r
    ON o.post_parent = r.ID
    WHERE r.id IS null AND o.post_type = ‘product_variation’

    Plugin Author RealMag777

    (@realmag777)

    @besfe

    Thank you, I will check it … By the way this code taken from woocommerce plugin, so this should be investigated …

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Price filter not working properly’ is closed to new replies.