Quantcast
Viewing all articles
Browse latest Browse all 20145

Display only when parameter are included in URL

Hi there,

Are there any conditionals I can use to display/hide elements on search results pages? Basically I want to display a reset button only when a user has already searched for something:

www.domain.com/search-products => do not display reset button
www.domain.com/search-products/?price%5B%5D=&… => display reset button

Ideally this wouldn't depend on a particular parameter in the URL but rather work like URL without parameter/URL with parameter.

Cheers,
Thomas


Viewing all articles
Browse latest Browse all 20145

Trending Articles