Priority: High
Request:
Project ID: quiet-term-20208-31eb409d
Project Link: https://app.crowdbotics.com/dashboard/app/20208
Staging Link: N/A
Additional Info:
@anand
Filter issue with Shopify
Background : We had implemented Algolia to manage the filter and search, all was working as expected but only issue with SEO metatag, as Algolia hide those tag. To overcome that situation we build the custom solution
Comment from Developer for custom code
Filter is updating the default variable (content_for_header) of shopify. Actually we have used the default variable of shopify content_for_header to get the parameters from the url. We have passed the filter values through url. This is because by default shopify filters are based on tags. But in our site we also used the filters based on metefields. So we used to pass the filter values in url parameters on filter click and get them from url and filter that data accordingly. We have also contact the shopify support team regarding this issue. But they have not provided any solution to get url parameters.
Also tried other custom solution but it again create the same cache issue and have not updated the url. Shopify support team have sent us couple of forum links which we tried unfortunately they links not worked for us. Actually they provide the links which related to java scripts but this issue related to the shopify. Shopify by default creates the page url cache. There is no way in the shopify to fetch the url and used the url parameter.
We have found the one custom code and implement it but it is working fine with admin login because no cache created on admin login in the browser. They create issue without login. Now the only solution is that we use shopify filters app to implement the filters in proper way.
We have found the shopify app which creates the filter with metafields. Product Filter Search app. Kindly review and share your thoughts
CC @Anil Kumar ( anil.kumar@crowdbotics.com)