Quote from PatioL on September 5, 2019, 17:52
Hi,
I have two sliders filters, the width and the length (i guess it's meta data)
If costumer filter the width, let's say >100cm and no products are found.... but there are products with >100cm in length... I wanted them to show up.
How to both filters reverse each other value before and then show the results.
Right now, the workaround is a button at the No Product Found page, with the URL parameter reversed, forcing the costumer to click, like this:
if costumer filter /?swoof=1&slider__width=293-600&slider__length=1-207
then the button says "Sorry, try the reverse search to find more products...." then links to: /?swoof=1&slider__width=1-207&slider__length=293-600
I wrote in the wrong support, now it's right. I've tried to get the data from woof_products_query, or woof_get_request_data. But I can't debug it right the data, anyone has any idea to help? Thanks!
Hi,
I have two sliders filters, the width and the length (i guess it's meta data)
If costumer filter the width, let's say >100cm and no products are found.... but there are products with >100cm in length... I wanted them to show up.
How to both filters reverse each other value before and then show the results.
Right now, the workaround is a button at the No Product Found page, with the URL parameter reversed, forcing the costumer to click, like this:
if costumer filter /?swoof=1&slider__width=293-600&slider__length=1-207
then the button says"Sorry, try the reverse search to find more products...." then links to: /?swoof=1&slider__width=1-207&slider__length=293-600
I wrote in the wrong support, now it's right. I've tried to get the data from woof_products_query, or woof_get_request_data. But I can't debug it right the data, anyone has any idea to help? Thanks!