#foreach($product in $products) #set($data = $searcher.searchById($product.id)) #set($items = $data.getInventoryItems()) #foreach($item in $items)