• Resolved stefk

    (@stefk)


    My Issue: 1. I have setup and tested multiple woocommerce product filters(Including the price range filter that comes with Woocommerce). Of which all have a price range slider which is key to the functionality I need to allow users to view products in a wide range of prices.

    All my products are setup as Variable Products (Selling a. A single bottle b. A case of 6)

    When testing the product filters, all variables work, except for when the price range slider is used.

    When the price range slider is used, it returns product results based on the most expensive variable for a single product and ignores the cheaper price (in all cases, this is the Case of 6 result)…
    For example: 1. Drink 1 is setup with a Single Bottle variable price of $60 and Case variable price of $500.

    When the slider range is set to between $0 and $100 no results are returned…but when the slider range is set to $400 and $510 then the Drink 1 result is returned.

    So from my extensive testing, it appears Woocommerce returns the results as it sees that the most expensive variable is the base price of a product.

    What I Need: 1.I need the results to rather return results based on the lowest price variable.

    Is there a function to change the behavior if this output for any price range slider / filter?
    What I have tried: 1. Checked post meta to see data is correct – all correct 2. Checked price setup of all products – all correct 3. Tested multiple free and premium product filters – all have the same pricing issue 4. Re-saves all products 5. Deleted all cache and expired transient entries etc 6. Change order of price variables for individual products – no difference 7. Setup default variable – no difference

    Environment:

    I have a setup a woocommerce store using the latest version of WordPress(5.2.3) and Woocommerce(3.70)

    All other plugins used are a combination of standard plugins that I have used for many years.

    I am using PHP 7.2

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Price Filter: Adjust product results based on their lowest price variable?’ is closed to new replies.