1

I have a shopify store. I am passing new parameters on search page using query string anyone tell me how can i get this new query string on search page

Ankit Agrawal
  • 6,034
  • 6
  • 25
  • 49

1 Answers1

0

You can't get new parameters outside the default ones using liquid. Liquid is now aware of additional query parameters.

If you really really have to take them in liquid then you will have a hacky option to capture the content_for_header argument and you can extract the arguments from there ( since there is a URL with the query params there ) with a few splits. You will need to look for the pageurl string there. But like I said this is a hacky way which should be used as a last resort.

drip
  • 12,378
  • 2
  • 30
  • 49