cancel
Showing results for 
Search instead for 
Did you mean: 

new product first

SOLVED

new product first

can i sort by date, i.e. the new product is displayed first!

Download.png

1 ACCEPTED SOLUTION

Accepted Solutions

Re: new product first

Hello @stathis2006b17 

Please ask the developer to fix this issue.

View solution in original post

4 REPLIES 4

Re: new product first

Hello @stathis2006b17 

Yes, you can do it.

 

Use the below attributes in your product data.

https://prnt.sc/SAIWKGTt4OM5

 

Then edit the product attribute and select the below option as "YES" available in storefront properties 

https://prnt.sc/FySI3H3eIUyy

 

Then go to catalog category display settings and set the below option.
https://prnt.sc/UOZe9CeqOXqN

I hope you get your solution to this.

 

If my answer is helpful full then please set the accept solution flag and kudos flag so other members can take the same reference.

Re: new product first

Unfortunately I get an error!

{"error":{"root_cause":[{"type":"query_shard_exception","reason":"No mapping found for [news_from_date.sort_news_from_date] in order to sort on","index_uuid":"jv8wsys2TfqhFmVEeeJmEg","index":"magento2_******_product_1_v718"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"magento2_*****_product_1_v718","node":"YEzh3IPVQd2BDobPG6IXUg","reason":{"type":"query_shard_exception","reason":"No mapping found for [news_from_date.sort_news_from_date] in order to sort on","index_uuid":"jv8wsys2TfqhFmVEeeJmEg","index":"magento2_*****_product_1_v718"}}]},"status":400}

Re: new product first

Hello @stathis2006b17 

Please ask the developer to fix this issue.

Re: new product first

now comes the message "We can't find any products that match the selection."