Is there a way to ignore empty query parameter?
-
Let’s say the URL is;
https://domain.com/?min_price=100&max_price=
the
max_price
is set but empty, as a result the product page will show empty. I want to ignore it so that it won’t include in the query. Is there a hook for that?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Is there a way to ignore empty query parameter?’ is closed to new replies.