Products sorting by New or Date or timestamp

[quote name=‘cm4554’]Any body got a professional solution?[/QUOTE]

This can be reasonably done but you’re asking for custom development work. I would be happy to investigate this for you and give you a quote for doing the work in an independent fashion if at all possible. But I doubt that anyone is going to step up to doing something for free for someone where the application is not of general interest. If you are interested, drop me a private message and we’ll take this up outside the forum.

I’ve already posted it in this thread: [url]http://forum.cs-cart.com/showthread.php?t=7357[/url]



I take cash, beer, and women as forms of payment.:wink:

[quote name=‘Tool Outfitters’]I’ve already posted it in this thread: [url]http://forum.cs-cart.com/showthread.php?t=7357[/url]



I take cash, beer, and women as forms of payment.;)[/QUOTE]

How can we send women to you?:slight_smile:

I can send you this



[url]Russian Bride : error 404



:smiley:



or



[url]http://www.svyturys.lt/img/taure.gif[/url]

Ok, forget the women. They would end up costing me too much in the long run anyway.

Hey TO,



No guns!? :o


[quote name=‘Tool Outfitters’]I’ve already posted it in this thread: [url]http://forum.cs-cart.com/showthread.php?t=7357[/url]



I take cash, beer, and women as forms of payment.;)[/QUOTE]

LOL! I have plenty of those but one can not have too many.



Might as well add ammo as well because a gun without ammo is just s c r a p metal.

Any new solution to show the newest products first? Please help!

This issue caused me problems too as every product added by the client was put at the end of a category. So I did this:



Find the function called ‘function fn_get_products_sorting($simple_mode = true)’ in the file fn.catalog.php in the core directory. Around line 3323.



Add the following code (above the other array values):



‘timestamp’ => array(‘description’ => fn_get_lang_var(‘timestamp’), ‘default_order’ => ‘desc’),



Then add a new language variable in the admin area called ‘timestamp’ and set its value to ‘Newest’.



Finally choose ‘Newest’ in the Product list default sorting dropdown in ‘Design > Appearance Settings’ in the admin area.

Thanks glyndon ,your solution seems to work great and painless.



Now the issue that still remains for me (and for others as I read the forum) is the correct sorting of products added the same day in the newest block.



I am working on it and I hope I can give a solution too.