News:

Support the VirtueMart project and become a member

Main Menu

[ SOLVED ] list product newest first

Started by superdre, October 16, 2012, 15:50:34 PM

Previous topic - Next topic

superdre

Hi, i need to have listed the products from a category by date created but newest first, i google this but didnĀ“t finde any solution for virtuemart 2. Anyone can help?
thanks in advanced!
Andrea.

sveibern

I have the same problem. I just want to list my products, the newest first. But all I get is the oldest first. Have looked everywhere, but can't find a solution. Is this impossible in Virtuemart?

bytelord

Hello,

Under Configuration -> Product Order Settings, Default product sort order and Default category sort order does not cover you?
There is creation data and product modification data... (created_on, modified_on)...

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

sveibern

I know, but it I can't controll if the order is ascending or descending. I want to show the newest products on top, but this gives the newest on bottom, and I can't find a way to reverse this.

bytelord

Can you try this one: https://forum.virtuemart.net/index.php?topic=106219.msg366631#msg366631
I order by ordering and works fine.

Works for me, what version you are using?
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

sveibern

Thanks a lot!! That solved my problem, changing ASC to DSC.