When purchasing a large quantity with insufficient funds, the amount of an item is reduced to a single item (even though it is in a bundle larger than 1).
Example:
Starting money: $317.00
White Wool is selling in the shop for $230.00 per bundle of 64 [Stock: 1731]
/shop buy white wool 400
The bundle size is 64 order reduced to 384
You could only afford 1 of White Wool
You purchased 1 White Wool for 230.00 Dollars
When purchasing a large quantity with insufficient funds, the amount of an item is reduced to a single item (even though it is in a bundle larger than 1).
Example: Starting money: $317.00 White Wool is selling in the shop for $230.00 per bundle of 64 [Stock: 1731]
The shop debug output in which this happened: