Troubleshooting: Order item contract problem
When you try to log on to the storefront in a B2C store, the Logon URL is used to log on to the system. If information already exists for the guest customer, the OrderItemMove URL merges the guest customer's basic information, such as their shopping cart, with the registered user. You might experience the following problem with the contracts for the guest customer order items.
Problem
When you log on to the storefront in a B2C store, the contracts are refreshed for all of the migrated order items from the guest customer. However, some eligible contracts of the migrated order items are also refreshed.Solution
The Logon URL can use the keepOrdItemValidContract parameter to decide whether to keep eligible contracts for migrated order items during log on. If this parameter is set to 1, the eligible contracts will be kept during log on. If this parameter is not specified, the default value is 0. For example:<input type="hidden" name="keepOrdItemValidContract" value="1" id="WC_UserLogonForm_FormInput_keepOrdItemValidContract_In_Logon_1"/>