Author Topic: [ SOLVED ] list product newest first  (Read 1505 times)

superdre

  • Beginner
  • *
  • Posts: 22
[ SOLVED ] list product newest first
« on: October 16, 2012, 15:50:34 pm »
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

  • Beginner
  • *
  • Posts: 26
Re: list product newest first
« Reply #1 on: November 07, 2012, 22:24:34 pm »
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

  • Nikos
  • Global Moderator
  • Full Member
  • *
  • Posts: 2369
Re: list product newest first
« Reply #2 on: November 08, 2012, 00:48:41 am »
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

  • Beginner
  • *
  • Posts: 26
Re: list product newest first
« Reply #3 on: November 08, 2012, 08:28:59 am »
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

  • Nikos
  • Global Moderator
  • Full Member
  • *
  • Posts: 2369
Re: list product newest first
« Reply #4 on: November 08, 2012, 14:58:40 pm »
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

  • Beginner
  • *
  • Posts: 26
Re: list product newest first
« Reply #5 on: November 08, 2012, 22:30:47 pm »
Thanks a lot!! That solved my problem, changing ASC to DSC.