News:

Looking for documentation? Take a look on our wiki

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 !