VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: fredrikk on August 25, 2014, 13:19:18 PM

Title: Different sorting of products in category pages
Post by: fredrikk on August 25, 2014, 13:19:18 PM
Hi!

I want to sort products in different categories with different sort orders. Ex. in category A sorting order by name and in category B sorting order by creation date. But in back-end you could just choose one way of sorting for all products in the store.

I read several threads about sorting orders but couldn't find any answer. Shouldn't there be a "override default sort order" in the category admin page?

I have VM 2.6.6, Joomla 2.5.19, PHP 5.4.28

Fredrik
Title: Re: Different sorting of products in category pages
Post by: mowlman on August 26, 2014, 21:43:56 PM
Try looking at this post: http://forum.virtuemart.net/index.php?topic=124628.msg429264#msg429264

Title: Re: Different sorting of products in category pages
Post by: kmeyer on February 10, 2015, 07:11:08 AM
I'm looking for a solution to this question. I want most of my categories to sort by product name, but I have one special category in which I need to sort by the order listed in the backend. Since I have several hundred products, it's not really practical to set the order in the backend for all the products in the other categories to match the alphabetical order. The term "Default Product Sort Order" would indicate that there is a way to override the "default" within a menu or a category, but I don't see any way to do so. If there is no way to override the default order in the backend, then can order be changed with an override? Could somone please point me to the correct place to code this, as well as sample code to sort the products array by backend ordering?

VM 3.0.4,  Joomla 3.3.6.
Title: Re: Different sorting of products in category pages
Post by: jankoo on August 24, 2015, 10:14:08 AM
hi,

im looking for the same.. i cant use different sortings by category??? omg

@kmeyer did you find something?
Title: Re: Different sorting of products in category pages
Post by: Khaostar on August 28, 2015, 14:30:19 PM
I have the exact same problem at the moment. Anyone can answer that?

I also have virtuemart 2.6.6 and Joomla 2.5.20.

Thanks
Title: Re: Different sorting of products in category pages
Post by: gugga on September 07, 2015, 15:45:19 PM
I have the problem with setting sorting to sorting. And when i want to save the products change their sorting order. How can i solwe this
Title: Re: Different sorting of products in category pages
Post by: jenkinhill on September 07, 2015, 16:22:01 PM
You must be the vendor. Sort product order with drag and drop, and configure sort order to use "ordering" - see pics  (this is with VM3.0.9.8 )
Title: Re: Different sorting of products in category pages
Post by: ZoBabe on October 07, 2015, 08:33:15 AM
The question is how to change the sort order for ONE SINGLE CATEGORY. Not site-wide. I can see the site-wide instructions have been posted twice on this thread, but no mention on a category by category basis.
  The vast majority of categories are fine. There is one special category that needs to be order by "ordering" rather than chronology. How do you change the sort order for that one category, without changing it for the rest.
  Currently:
  Joomla: 3.4.4
  Virtuemart: 3.0.10
  Thanks,
  Z
Title: Re: Different sorting of products in category pages
Post by: loppan on July 27, 2017, 01:06:33 AM
Sorry for awaking this very old thread :P.

But I'm having the exact same question. jenkinhill already showed how to change the sort order sitewide, but I'm happy with the sort order for my categories, except for just one. On this specific category, I'd like to be ably to set the sort ordering manually, just like in jenkinhill's example.

I'm using VM 3.2.3 on Joomla! 3.7.4, there has been a lot of changes to Virtuemart lately so I was hoping someone knew of an easy way to do this now :)

Thanks

Best regards

Peter