Can we sort products by date published in Liquid collection?

sergii_banga
Shopify Partner
3 0 0

Howdy! At this momeny we have in liquid 

collection.sort_options

standart sort (e.g. alphabetical, hot, by price, date created, etc) 
Can we do sort for  by date published? Thanks!

Replies 5 (5)

SideNode
Shopify Partner
159 38 42

 

f you wish to display your collection of products:

Sort by: Newest

 

Its Artzen Technologies! We will be happy to help you today.


Navigate to your theme and follow these steps:

  1. Click here.
    SideNode_0-1691670940333.png
  2. Then click here
  3. SideNode_1-1691670983165.png
  4. You will now see the collection options. Choose any collection you prefer.
  5. Click here and you will find various options nad wait some time and refresh your page . Your selected products will be displayed on your site based on the chosen options.

 SideNode_2-1691671151648.png

 

Let me know if need further assistance
Regards,
Artzen Technologies

 



  

 

If helpful, please Like and Accept this Solution to help others
SHOPIFY APP DEVELOPMENT | BOOK FREE SHOPIFY CONSULTATION

Jonathan_Touson
Shopify Partner
2 0 0

Hi @sergii_banga, Jonathan here from Kimonix (https://apps.shopify.com/kimonix).
With the app, you can create and sort collections with endless filters and sorters based on your store data. Of course, once set up the rules it will automatically resort according to the data. One of the parameters is called Published date, you can use it to sort your products based on your need. If you want it based on a new product you can define the number of days that suits your business. Each business defines new products differently. One store will say new products are published in the past week and the other will define new products in two weeks.
You really have full dynamic control over the setup of your collections.

sergii_banga
Shopify Partner
3 0 0

Hi @Jonathan_Touson ! Thank you for your answer! I really have a full access to my products, but i do not have acces to work with the collection sorting (or i don't know how to correct work with that). I need to set by date pubslihed, in dropdown, my theme is Dawn, doesent have that one option. I have checked liquid api, they do not allow to sort by date published. Your plugin fix that?

Jonathan_Touson
Shopify Partner
2 0 0

If you mean that on the front side, your customers will have the ability to sort then No this is not what we do.
If you meant that you are looking to automatically sort your collection pages, then you can really do everything using the app.

sergii_banga
Shopify Partner
3 0 0

Then your plugin is not suitable, but thanks!
I need the client to be able to choose the order in which to sort the product and the additional option was by the time when I published, not created