Jump to content

Products currently automatically sorted by availability - how to not to have this

Go to solution Solved by Ziggy,

Recommended Posts

Posted

Site URL: https://www.theleafgallery.com.au/

Hi,

My products have recently started sorting it self automatically by availability instead of following the order on my product list. It didn't use to to do this. 

Squarespace support have advised that it has to do with code injected onto the page. If codes are disabled then it stops doing it.

The codes injected was to install a filter where customers can choose to filter products by  price, name, category or availability. It  was working fine before.

I've attached the part of the code that I can see 'availability'. I tried playing around with it but I know nothing about codes. I noticed though that now the drop down menu for filtering availability only shows "available" and "sold out". It no longer shows "all".

How can I get my product to not sort automatically by availability but to show according to the order of the product list?

 

Thanks,

Amelia

Code.png

  • Solution
Posted

It looks like you have the Universal Filter plugin installed, you can change the default sorting order within that code injection. It looks like it should be just below line 94.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.