You left click an empty chest with the item you want to sell, type the price in chat, and then put the item(s) in the chest.
You left click an empty chest with the item you want to sell, type the price in chat, and then put the item(s) in the chest.