Hi,
I'm currently using Product.GetProductByID(productID, variantID) inside an orderlines loop, but I want to optimize that to a single DB call.
I've checked the method Product.GetProductsByProductIDs(productsIDs) but this retrieves all products and variants.
I've found the GetProductsByProductIDsAndVariantIDs() but is not a public function.
Is there any public method that I can send a list of productsIDs and variantIDs and get a filtered colletion already?
BR, Mário