Laddawn.com : Procedure for Modifying Item Already in Cart

Goals:

To allow a user to modify an item that currently resides in the cart using the widget. The user should be unaware that the item was removed from the cart or not, unless specific error conditions exist.

Assumptions:

  1. The item will be removed from the cart and placed into a “limbo” file. This file will contain:
    1. Logged user
    2. Cart ID
    3. (Item info)
  2. Once the item is removed from the cart and placed in limbo, the widget will be reloaded with the current item’s data.
  3. The user can edit any attribute of the item, including ZIP code, etc. 
  4. If the edit does not prevent adding the item back into the cart, it is added back automatically during  the following  events:
    1. Tab reload
    2. Logout
    3. Viewing the cart tab (if the item was in the current cart to start)
    4. Viewing a saved cart  (if the item was in the saved cart to start)
    5. User adds item to another cart (the item is re-added to the original cart)
    6. Clicking off-page, to another page on laddawn.com
    7. During the timer process that automatically logs out inactive users
    8. Others?
  5. If the edit prevents the adding of the item back into the cart (changed ZIP code), a flag is set in the limbo record to indicate that an error condition exists
    1. The next time an affected user (logged in user or cart owner) a message appears:
      1. If the user who made the change – display existing ZIP code change message appears
      2. If not the user who made the change - display a message stating that the user must contact the person who made the change
  6. If an item is changed while in limbo, we will save the changes that were made into the limbo-ed item. (Quantity, packout, etc.).