WebSphere Commerce Enterprise

Current Order

The current order page displays the items that have been added to the current order. If there are no items in the current order, a message is displayed indicating that the order is empty. To add an item to the current order, click the Add to Order button.

If there are a large number of items in the current order, the order can be separated into multiple pages using paging controls. Details included in the current order are the product pictures, names, availability, quantities, and prices. Promotional codes can be applied to the order, with the discounts reflected in the current order totals. If the customer qualifies for an order-level promotion, they can select a free gift for the order. Customers can also specify which contract price to apply to a specific order item.

If guest shopping is enabled, new customers can continue with the checkout process by clicking the Continue Checkout button. If guest shopping is not enabled, new customers must register with the store at checkout to complete the checkout process. Returning customers can sign in and complete the checkout process.

Elements of the Current Order page


Current Order screen capture
Full size screen capture

JSP files

  • OrderItemDisplay.jsp represents the entire page.
  • 2 OrderItemDetails.jspf displays the products contained in the current order.
    Note: EmptyShopCartDisplay.jspf is called if the current order does not contain any items.
  • 3 SingleShipmentOrderTotalsSummary.jsp displays the subtotal for the current order.
    Includes:
    • PromotionCodeDisplay.jsp displays the Promotion code text box and Apply button.
  • 4 CouponWalletTable.jsp displays the coupon wallet table, listing the unused coupon name, expiration date, and the options to apply or remove a selected coupon.
  • 5 CheckoutLogon.jspf displays sign in options to the customer.
  • B2BOrderPricingPopup.jspf allows the shopper to select a contract to apply to an order item.
  • PromotionChoiceOfFreeGiftsPopup.jspf allows the shopper to select a free gift for the order.

e-Marketing Spots

  • There are no e-Marketing Spots on the Current Order page.

Store functions

  • AJAX checkout can be enabled or disabled.
  • Promotion code entry field can be enabled or disabled.
  • Promotion choice of free gift can be enabled or disabled.

Links and buttons

  • 1 When the add button is clicked, RequisitionListPopupDisplay is called.
  • 2
    • When Remove is clicked:
      • AjaxOrderChangeServiceItemDelete is called if AJAX shopping cart is enabled.
        • Double-click handling is implemented using JavaScript to prevent multiple requests from being sent.
        • The cursor_wait() method is called and displays the progress bar.
      • OrderChangeServiceItemDelete is called if AJAX shopping cart is disabled.
        • Double-click handling is implemented using JavaScript to prevent multiple requests from being sent.
    • When Move to Wish List is clicked:
      • AjaxOrderChangeServiceItemDelete and AjaxInterestItemAdd are called if AJAX shopping cart is enabled.
        • Double-click handling is implemented using JavaScript to prevent multiple requests from being sent.
        • The cursor_wait() method is called and displays the progress bar.
      • OrderChangeServiceItemDelete and InterestItemAdd are called if AJAX shopping cart is disabled.
        • Double-click handling is implemented using JavaScript to prevent multiple requests from being sent.
    • The Quick Info pop-up window is displayed when the Quick Info button is clicked for each product.
    • The Product Details page is displayed when a product is clicked.
    • The Contract Price pop-up window is displayed when Contract is clicked.
  • 3
    • The Free Gift pop-up window is displayed when the Select your free gift button is clicked.
    • When the Apply button is clicked:
      • AjaxPromotionCodeManage is called if AJAX shopping cart is enabled.
        • Double-click handling is implemented using JavaScript to prevent multiple requests from being sent.
        • The cursor_wait() method is called and displays the progress bar.
      • PromotionCodeManage is called if AJAX shopping cart is disabled.
        • Double-click handling is implemented using JavaScript to prevent multiple requests from being sent.