Actually you have got most of it right among a couple of the posts but technically, regardless of whether you are an int or wis based caster, EITHER the highest of your int or wis will affect trade skills, it is just that it is usually easier for wis casters to work on wis items and int casters to work on int items.