News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Search module : avoid homonym products

Started by fightman62, May 19, 2015, 15:51:09 PM

Previous topic - Next topic

fightman62

Hello there !

I'm using VM 3.0.8 and I'd like to custom the search module :

I've different products with same name (from different manufacturers, not same prices etc..).
I'd like the search module to display only the cheapest product of all the products with the same name. Do you think it's possible ?
I know I'd have to modify the code of the function sortSearchListQuery located in components\com_virtuemart\models\product.php

Could you give me a hand ?
Thanks !