Once you have found something that you would like to buy Left-Click the sign of the chest shop and enter the amount you would like to buy in chat ('1' '2' '3' 'all' etc). Before typing the amount you would like to buy, make sure to confirm that the item you are about to buy is the item that you actually want by reading the information that is sent in your chat.