Reading the sign
Line 1 shows [Shop] in a color: green means open, red means out of stock, and gold means the chest is too full to take more payment. Line 2 is how many items one sale gives, line 3 is the price and line 4 is the item.
On Java, the price and item lines start with a small picture of the item. Some items, like heads, chests, banners, shulker boxes and beds, have no picture. Bedrock players see the same lines in words.
Item names on line 4 are short: an enchanted book shows its enchantment, like Mending Book, and a firework rocket shows its flight duration, like Dur 3 Rocket. A renamed item keeps its own name.
Buying
- Left-click (hit) the sign to see the details in chat: the item, its enchantments and durability, the stock and the full price. On Java, hover over the item name to see the whole item.
- Right-click the sign to buy one sale. On Bedrock, tap it.
- Sneak and right-click to buy as many sales as fit in one stack.
The payment comes out of your inventory and goes into the shop's chest. If you're short, the shop tells you how much you need and how much you have. If your inventory is full, nothing is bought.
Only the owner can open a shop's chest, so you always buy through the sign.