Troubleshooting: Multiple shipments are applied when shopping cart exceeds 50 items

The Aurora starter store contains logic that automatically applies multiple shipments when the shopping cart exceeds 50 items. This is due to performance reasons, since retrieving all of the order items might dramatically impact performance for large orders.

Solution

The logic to handle this issue is defined in the OrderShippingBillingDetails.jsp file, which uses the maxOrderItemsToInspect variable to define this threshold. If you have a business need to increase the definition of a large order, you can change this value.

To resolve this issue, update the storedir/Common/EnvironmentSetup.jspf file and redefine the variable to a larger value. For example, 100:

<c:set var="maxOrderItemsToInspect" value="100"/>