Shopify themes, liquid, logos, and UX
My store has a filter button on the desktop, but once I've chosen an option, nothing changes until I refresh.
In my mobile, the button does not even present as an option.
my website is: https://ru9.vn/
Yes, I agree with you; I used the app "Filter & Search" options in Shopify, but it still does not function; what should I do?
You have to update some code in filter.js file
If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
There are several problems with your theme.
For example, in facets.js there is a hard-coded section id:
const url = `${window.location.pathname}?section_id=template--14675310936143__main-collection&${searchParams}`;
It may have worked before, but when you've modified the collection template the id is not longer matches and theme JS fails to fetch data to update product grid.
There is another place:
section: document.getElementById('product-grid').dataset.id,
where code expects your product grid element to have data-id attribute to use it later to construct URL, but it is missing.
This is probably the reason why section ID was hard-coded ...
Some CSS code is missing as well -- this is why you have duplicate options under "Availability" filter.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024