Defect HC-4976

Error with ship mode when merging carts

Software

Customer case Applies to Corrected in
CS0138757 V9.0.1.9 9.0.1.14

Observed behavior

When a registered shopper's cart and a guest shopper's cart are merged, the error [CMN0207E The value of the parameter "shipModeId" is not correct] is returned.

Expected behavior

The carts should be merged seamlessly with no errors shown.

Resolution

The problem stems from differing fulfillment centers across the two orders. When the carts are merged, the physical store id (for buy online pickup in store) is not passed in, so the fulfillment center cannot be determined. The logic was changed to use the fullfillment center id that was originally stored in the ORDERITEM table when the item was first added to the cart.