Who is "it"?
I would write the sentence like this:
It is useful to let him know the kinds of goods in the shop.
It is useful for (the person) to let him know the kinds of goods (available?) in the shop.
"Of" can be omitted.
not a teacher
Student or Learner