VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: behemoth on July 03, 2014, 16:58:09 PM

Title: Sort products by user rating
Post by: behemoth on July 03, 2014, 16:58:09 PM
1) Sorry if this is the wrong place - I wasn't quite sure if this was the most appropriate
2) Sorry if this has been asked before - I've done *a lot* of searching and can't find anything suitable.

I want to be able to sort products by user ratings. The closest I got was this for v1.1: http://forum.virtuemart.net/index.php?topic=82567.msg273102#msg273102

I'm looking to replicate (or approximate) the functionality of something like Amazon - our customers will care how other customers have rated the products and will want to sort that way.

Anybody got any pointers? I don't mind paying for a plugin if it does exactly what we want, but so far I've found nothing.
Title: Re: Sort products by user rating
Post by: ITechnoDev on July 08, 2014, 00:07:30 AM
Hello,

You didn't mention which version of VirtueMart are you using and in which view you want to reorder the products.
Title: Re: Sort products by user rating
Post by: John2400 on July 08, 2014, 14:06:54 PM
Try,

http://extensions.virtuemart.net/products/latest-customer-reviews-module-detail

Title: Re: Sort products by user rating
Post by: behemoth on July 09, 2014, 11:59:36 AM
Hi All,

Thanks for your responses.

ITechnoDev - it's not a bug so I didn't think it was relelvant, aside from it being VM2. It's currently 2.0.24a, but we'll need to schedule an update soon anyway.

Thanks John2400, I'll take a look at that one. The description doesn't imply that it will do what I want, but it's worth a look - I'm not looking for the latest reviews, but the ability to order products by those scores, eg the most popular (5*) product at the top and the least (0* / 1*) at the bottom.
Title: Re: Sort products by user rating
Post by: GJC Web Design on July 09, 2014, 17:22:45 PM
the orderby is sent in the url to function getOrderByList()  in the product model

there is no order by ranking so you would have to code it in that function I assume