Strictly speaking, both toffee and truffle are types of candy, but they can be also taken as favors (the flavor that the candy provides). So I would say that the sample sentence is correctly worded. I would put a comma, however, before "such" because you are giving only two examples of the many flavors available.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.