Added support to add items to buy and trade with an infinite amount.

Part of #298