Fn_Get_Products With Images!

Hi there,

Can anyone tell me how to make a call to fn_get_products and also get it to return the product main pairs? The only way I can see of doing it at the moment is doing a separate lookup of the images for each product returned, but that seems like a lot of queries for something that should be returnable with the initial query.

I assume I am just missing an obvious setting...

Cheers..

Main pairs are part of the fn_gather_additional_products_data(&$products, $params) function.

Queries for fn_get_products() are big enough already without adding additional joins, fields and conditions.

Thanks...

del