cancel
Showing results for 
Search instead for 
Did you mean: 

sort products by newest

sort products by newest

how do i make it sort by newest is displayed.

 

without having to do anything in the code, the easiest thing to sort something, that just can't be true how bad magento 2 isSmiley Mad

4 REPLIES 4

Re: sort products by newest

Hello @bruce2004dedba 

 

Please follow the steps below to display the products Sorted by newest in Magento 2:

  • Log in to your Magento 2 admin panel and go to Stores > Attributes > Product.
  • Click on the "Created At" attribute and make sure that the "Used for Sorting in Product Listing" option is set to "Yes". This will enable the attribute to be used for sorting products.
  • Go to Stores > Configuration > Catalog > Catalog > Storefront.
  • In the "Product Listing Sort by" option, select "Created At" from the dropdown menu.
  • Save the configuration and clear the cache.

With these changes, the product listing on your storefront should now be sorted by the newest first based on the product creation date. Note that this will only apply to products that have the "Created At" attribute set correctly, and it may take some time for the changes to take effect depending on your cache settings.

 

If you find our reply helpful, please give us kudos.

 

A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.

 

WebDesk Solution Support Team

Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789

Thank You,


WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789


Location: 150 King St. W. Toronto, ON M5H 1J9

Re: sort products by newest

I don't know where that is supposed to be "Created At"

Re: sort products by newest

I don't know where that is supposed to be "Created At"!!!!!


@johnwebdes40a5 wrote:

Hello @bruce2004dedba 

 

Please follow the steps below to display the products Sorted by newest in Magento 2:

  • Log in to your Magento 2 admin panel and go to Stores > Attributes > Product.
  • Click on the "Created At" attribute and make sure that the "Used for Sorting in Product Listing" option is set to "Yes". This will enable the attribute to be used for sorting products.
  • Go to Stores > Configuration > Catalog > Catalog > Storefront.
  • In the "Product Listing Sort by" option, select "Created At" from the dropdown menu.
  • Save the configuration and clear the cache.

With these changes, the product listing on your storefront should now be sorted by the newest first based on the product creation date. Note that this will only apply to products that have the "Created At" attribute set correctly, and it may take some time for the changes to take effect depending on your cache settings.

 

If you find our reply helpful, please give us kudos.

 

A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.

 

WebDesk Solution Support Team

Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789


 

Re: sort products by newest

There are a couple easy ways to configure Magento 2 to sort category products by newest without coding:

1. In Admin, go to Catalog > Categories and edit your target category. 

2. Under Display Settings, set "Sort By" to "Set Product as New From Date"

3. Set the New From Date range to filter as needed, such as last 30 days.

4. Save the category. Newest products will now be shown first.

 

Alternatively, you can:

1. Install a free extension like Porto or Aheadworks Advanced Sorting. 

2. This will add a "New Arrivals" sort option to category pages.

3. Set this as the default sort order in Configuration.

The category display settings are the easiest built-in way to sort by newest. Extensions like Porto provide more flexibility for sort options.

Avid learner and technical marketer at devrims.com