I haven't seen this done with tbaMUD, but I'll give you a thumbs up if you make a snippet
Some initial thinkings to generate some momentum follow imminently.
1.) Player accessible OLC menu to create the shop, edit the shop properties and edit the merchandise menu.
Most of this can be recycled from sedit code - neat!
2.) Shops should persist over reboots - how to save the shop information?
I might look at the house code, hedit.c on ideas for this
3.) In game practicalities:
Where can a shop be set up?
Can NPCs be shopkeepers or only the PC?
Gold from transactions go to the shopkeeper or directly to the players bank?
Multiple shops in the same room - potential problems.
Multi-room shops?
Can you attack another players shop? Turf wars..
4.) Merchandise practicalities
How do you define what is for sale / purchase
Does the shop auto-produce items?