As mentioned in the previous page, you can create shops by placing a sign on an empty chest, and filling it with the correct text depending on the type of shop you want to create.
Sell to others
Buy from others
Buy & Sell
The basic structure of a shop sign is as follows: