changed ajax to accept titles instead of IDs
modified findDistinct to accept a flag to find only fitments assigned to products