the npc shop merely stops them from moving/changing direction. to make a shop, go into attributes while editing the map and create a shop on a space near the npc (edit shops on the same menu as edit map)