VirtueMart Forum

VirtueMart 2 + 3 + 4 => Frontend Modules => Topic started by: xamonix on June 08, 2013, 02:13:31 AM

Title: Display Virtuemart Top Ten Products from only one category
Post by: xamonix on June 08, 2013, 02:13:31 AM
Hi

Is it possible to display the Top Ten Products from only one category in Virtuemart 2.0?
I've been trying to look around for the code for Top Ten Products, but no luck at all.
Thanks.
Title: Re: Display Virtuemart Top Ten Products from only one category
Post by: K&K media production on June 09, 2013, 15:58:07 PM
you find the code in product model

best way without corehack is your own sql query and product output in your template override

look in the code from product model and build your own code (if you have php and mysql knowledge)
Title: Re: Display Virtuemart Top Ten Products from only one category
Post by: xamonix on June 09, 2013, 16:06:27 PM
Thanks for your reply.
"product model" is a file? If so where is it located, I've ben searching and didn't find anything woth that name.

Best regards,
SM
Title: Re: Display Virtuemart Top Ten Products from only one category
Post by: xamonix on June 09, 2013, 16:34:59 PM
Ok Thanks