Troubleshoot and support >


Troubleshoot: Inventory action 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 shopper, the guest shopper's basic information, such as their shopping cart, is merged with the registered user. You might experience the following problem with the shopping cart merge because of an inventory action.


Problem

When you try to log on to the storefront in a B2C store, the shopping cart merge fails due to an inventory action.

For example:

  1. You are using Non-ATP inventory with product A and the available quantity is 1.

  2. A registered user logs on to the B2C store and adds product A with a quantity of 1 to the shopping cart.

  3. The registered user logs out of the store.

  4. A guest shopper adds the same product with a quantity of 1 to the shopping cart.

  5. The registered user logs on to the store again and determines that one of the order items was deleted due to insufficient inventory.


Solution

Bypass the inventory action during log on. The OrderItemMove URL can use the doInventory parameter to switch any inventory actions during log on so that no order items are deleted. If the doInventory parameter is set to N, no inventory action will be performed. If this parameter is not set, the default value is Y. For example:

<input type="hidden" name="URL" value="OrderItemMove?page=account&amp;doInventory=N&amp;errorViewName=TopCategoriesDisplayView&amp;URL=OrderCalculate%3FURL%3DLogonForm" id="WC_RememberMeLogonForm_FormInput_URL_In_Logon_1" />


+

Search Tips   |   Advanced Search