Hi. I’m currently using Narrative theme and I want to delete some sorting options and customise some of them. But I’m struggle to find the bit of code for that.
No because this all option generate by shopify, if you want to add your custom option only then you have to create i by custom code. and remove shopify code.
As several people have noted elsewhere 'Sort by’ : Date, old to new, or Date, new to old
use the date-time the Product was added to the database - and unless products are added in the right sequence when first creating the store, there seems no way of altering/correctling it subsequently.
The best alternative for us would be to replace these two sorts with their 'Sort by’ : SKU equivalents
as (in our case) low skus are older than higher skus.
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 %}
can you help me how can I arrange the sorting of my custom code sort? My developer is mot responding to me. I want all new products to be on the ‘This season first’ sort