Sort by dropdown menu not working

OptikkoUkkonen
Tourist
8 0 1

Hi!

I just noticed today that the sort by menu is not working on my online store. I'm not sure how long this has been the case though. Today I edited some code in my store so it displays the current stock levels on my product pages but I don't know if that caused the problem (I used the guide on this site to edit it: https://help.shopify.com/en/manual/online-store/themes/themes-by-shopify/vintage-themes/customizing-... ). Everything else seems to work fine in the store, it's just that the sort by menu is blank when I go to collections page and when I click sort by and select for example Price low to high, nothing happens.

Any idea what might have caused this and how to fix it?

 

Thanks!

Replies 2 (2)

azamgill
Shopify Partner
323 47 73

Hey @OptikkoUkkonen 
It's possible that the changes you made to display current stock levels on your product pages may have inadvertently affected the functionality of the sort by menu on your Shopify store.

Do you have some backup themes? or if you made the changes with online editor then the previous code will be there in the history. 

Azam Gill
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- Encourage me ❤️

Come and visit us at Wbify

Bhakti_Makadia
Shopify Partner
5 0 0

Hello @OptikkoUkkonen 

Could you kindly provide your store's URL and, if it's protected, the password as well? There might been some code modifications, so if you're not comfortable with the code, please feel free to send me a collaborator request.

If helpful then please Like and Accept Solution. Want modification or custom changes to the store? Hire me. Feel free to contact me at appsquads@gmail.com | Shopify Design Changes | Custom Modifications to Shopify Theme | Migration | Upgrade