function to get a variation model for a particular product