Troubleshoot and support > Promotions


Customer with many items in shopping cart cannot receive promotion

When a customer tries to add a large number of items that qualify for a promotion to the shopping cart, the customer receives an error message.


Problem

When this situation occurs, the customer receives one of the following messages:

On the server, the following error message appears in the SystemOut.log file at WC_PROFILE/logs/server1:

This situation is rare and would typically require the customer to have hundreds of items in the shopping cart that qualify for a promotion with adjustment type of IndividualAffectedItems. For example:


Reason

When the promotions engine evaluates a customer order for a promotion, it creates a promotion argument containing all the validation results. This argument can become very large if the customer has many items in the cart that qualify for the promotion and when the promotion engine must apply the adjustment to each item in the shopping cart. The PX_PROMOARG table has a limitation for how large the serialized argument object can be.

In either case, the customer will not be able to add the large number of items to the shopping cart and receive the promotion.


Solution

For DB2, ask the database administrator to increase the maximum size of the PX_PROMOARG.DETAIL field so it can store larger promotion arguments.

For Oracle, this situation is a limitation; even with an increased size of the PX_PROMOARG.DETAIL field, the operation to insert the large argument in the database might time out.


+

Search Tips   |   Advanced Search