Set the max stack size to the max stack size for the inventory for the
buy command.