Mobile shopping cart
The shopping cart displays the items which have been added to the shopping
cart.If there are no items in the shopping cart, a message is displayed indicating that
the shopping cart is empty. If there are a large number of items in the shopping cart, the shopping
cart can be separated into multiple pages. That is, paging controls are enabled to support large
shopping carts. Details included in the shopping cart are the product names, SKU, availability,
prices, and quantities. Customers can change the quantity, remove an item, or move an item to the
wish list directly from the shopping cart page.
Elements of the mobile shopping cart page
JSP files
- OrderItemDisplay.jsp represents the entire page.
JSP file fragments
- BreadCrumbTrailDisplay.jspf displays the breadcrumb trail.
- EmptyShopCartDisplay.jspf is called if the shopping cart does not contain any items.
- CouponWalletTable.jspf displays the coupon wallet table, listing the unused coupon name, expiration date, and the options to apply or remove a selected coupon.
Links and buttons
- When a coupon is clicked, DiscountDetailsDisplay is called and displays the coupon details.
- When Remove is clicked, OrderChangeServiceItemDelete is called
- When Move to Wishlist is clicked, OrderChangeServiceItemDelete and InterestItemAdd are called.
- When Update Order Total is clicked, OrderChangeServiceItemUpdate and PromotionCodeManage are called.
- When Proceed to Checkout is clicked,CheckoutLogon is called.