Samples > Starter stores > Starter store enhancements > IBM Gift Center for the Madisons starter store > Site flow and interactions


IBM Gift Center for Madisons: Registry shopping flows

The gift registry sample add-on store pages include JSP file fragments that are included in Madisons shopping flow JSP pages to support gift registry functions.

The following table summarizes the JSP file fragments that support shopping flows and identifies Web services called by specific links and buttons in the fragments.

The JSP file fragments are located in various subdirectories at this path:

File fragment description JSP file fragment Links and buttons
Add to and Buy for gift registry

A JSP file fragment included in the product display or item display pages. This fragment displays two buttons: Add to Registry and Buy for Registry. Add to Registry adds the product to the gift registry, while Buy for Registry buys the product for the gift registry and adds the product to the shopping cart.

GiftRegistryAddBuyList.jsp

  • The Add To Registry button calls AjaxAddOrderItemToGiftRegistry to add the product or item to the gift registry. If successful, a message displays stating that the product has been added to the gift registry. If not successful, an error message displays.

  • The Buy For Registry button calls AjaxAddOrderItem to add the product or item to the shopping cart. If successful, a message displays stating that the product has been added to shopping cart. If not successful, an error message displays.

Gift Item label and Gift Registry Information pop-up window

A set of JSP file fragments that are included in the checkout pages to identify a gift item from a gift registry. The first fragment displays a Gift Item label with a link that displays a pop-up window. The second fragment is a pop-up window that shows the name of the registrant to whom the gift item belongs and the event name.

OrderGiftItemDisplayExt.jspf displays the Gift Item label and the link to the pop-up window.

GiftItemInfoDetailsDisplayExt.jspf is the pop-up window.

  • The Gift Item link launches the pop-up window.

  • The Close button closes the pop-up window.

Single shipping address select display

A JSP file fragment that displays the Registrant address in the single shipment address list during checkout.

SingleShippingAddressSelectExt.jspf Select Registrant from the Shipping Address list calls the AjaxOrderChangeServiceGiftInfoUpdate service. If successful, OrderItemAddressShipMethodUpdate is called. If not successful, an error message displays.

Note that when a gift giver selects Registrant, the Add Shipping Instructions option does not display.

Multiple shipping address select display

A JSP file fragment that displays the Registrant address in the multiple shipment address list during checkout.

MultipleShippingAddressSelectExt.jspf Select Registrant from the Shipping Address list calls the AjaxOrderChangeServiceGiftInfoUpdate service. If successful, OrderItemAddressShipMethodUpdate is called. If not successful, an error message displays.

Note that when a gift giver selects Registrant, the Add Shipping Instructions option does not display.

Ship address display - single shipments

A JSP file fragment that displays the Registrant label for the shipping address of the gift item in a single shipment during checkout.

SingleShipmentSummaryExt.jspf None
Ship address display - multiple shipments

A JSP file fragment that displays the Registrant label for the shipping address of the gift item in multiple shipments during checkout.

MSOrderItemDetailSummaryExt.jspf None
Ship address display - order summary

A JSP file fragment that displays the Registrant label for the shipping address of the gift item in the order summary page during checkout.

OrderShippingBillingConfirmationPageExt.jspf None

Related reference

IBM Gift Center for Madisons: Registry home page flows

IBM Gift Center for Madisons: Registry creation flows

IBM Gift Center for Madisons: Registry management flows

IBM Gift Center for Madisons: Registry search flows


+

Search Tips   |   Advanced Search