The past tense of have a preference is had a preference.
The third-person singular simple present indicative form of have a preference is has a preference.
The present participle of have a preference is having a preference.
The past participle of have a preference is had a preference.