MB2 132a: Entering a Spice Store (217:1-2)

According to the Shulchan Aruch, if you enter a store that sells spices you make a bracha of borei minei besamim. When does this halacha apply?