Cart/Quote/Package Item Count Limit

With the addition of the "Bulk Add to Cart/Quote/Package" feature, it is easy for users to add thousands of assets to a cart. A Cart/Quote/Package with a large number of items provides a bad user experience. It becomes difficult to know what items are in the package and the performance loading the package becomes slow. A configuration should specify a maximum number of items that can be added to a cart/quote/package.

The Site and Account objects now support a "Cart Item Limit" value. If no value is specified the default value is 100. When a user is adding items to a Cart/Quote/Package, those items will not be added if they push the total item count over the limit. Likewise duplication of items within a cart will also fail if that action results in a count larger than the limit.