Hi,
Thank you so much for this it really worked for my website. I searched a lot of queries for this.
But my only problem is that it’s not working on the mobile. Since the mobile code is different.
I am pasting it here for your reference. Let me know if you have a solution for this.
The sort by option is combined within my filter option in mobile view using the code below. is there anyway I can separate filter and sort by just like my desktop screen view.
{% if section.settings.coll_show_sort or show_filters %}
{% render 'faceted-filters', filter_context: collection, clear_url: collection.url, current_sort: current_sort %}
{% endif %}