I am using Crave for my shop and want to manually change the order my collections are displayed on the collections page. I can only see default sorting options (e.g. A-Z etc) none of which work for me, as my collections are numbered and I want to display in number order.
Please go to Online store => Theme => Edit Code. Then, find file global.js or theme.js and insert the following JS at the end of the file:
const collectionList = document.querySelectorAll('ul#HeaderMenu-MenuList-2 li');
collectionList.forEach((element,index)=>{
for(let i=1 ;i
I hope that this can help you.