added multiple product handling.