A space to discuss online store customization, theme development, and Liquid templating.
I'm building a site that has faceted searching enabled. Locally, I'm serving my theme using the shopify cli
shopify theme serve
When I run the faceted searches locally, the results are what I would expect, but when I have the exact same theme running in production, I get partial results or no results at all.
The theme I'm working on is still in development, so I'm unable to share it at this time.
Has anyone else run into this issue and know of a fix?
The term I'm searching on is
?filter.v.m.hmr.filter_material=926%20Silver,%20Enamel
Solved! Go to the solution
This is an accepted solution.
I'm still not sure why the results were different for production vs. local, but it turns out the
{{ collection.url }}?{{ filter_value.param_name }}={{ filter_value.value | url_escape | replace: ",", "%2C" }}
This is an accepted solution.
I'm still not sure why the results were different for production vs. local, but it turns out the
{{ collection.url }}?{{ filter_value.param_name }}={{ filter_value.value | url_escape | replace: ",", "%2C" }}