Stock and payment
Keep the chest stocked. Each sale takes items out of the chest and puts the payment in. Click your own sign to see the stock and how much payment is in the chest.
When the chest runs out, [Shop] turns red. When the chest is too full to take payment, [Shop] turns gold: take some payment out and it opens again.
Sales
When someone buys while you're online, you get a message. If you were offline, you get a summary of your sales the next time you join.
Hoppers
Hoppers, droppers, dispensers and crafters remember who placed them. Your own hoppers can fill or empty your shop chest, but other players' can't.
Protection
Nobody else can open or break your shop's chest or sign, or place a chest next to it to make a double chest. You can make it a double chest yourself.
Explosions, fire and pistons can't break shop signs and chests, even outside claims.
Closing a shop
Break the sign or the chest. Chat says "Shop removed."
Tip Claim the land around your shop too. The shop's sign and chest are protected, but the rest of your build is only protected if it's claimed.