Mobile product compare
The mobile product compare page is a valuable tool which enables the customer
to compare up to two products at the same time. The products are displayed with their
pictures, descriptions, stock availability, and product-specific attributes in an organized table.
The product compare enables customers to easily compare products without navigating to each product
page and manually comparing the features of each product. Products can directly be removed from the
compare list without leaving the product compare page.
Elements of the mobile product compare page
JSP files
- ProductCompareResultDisplay.jsp represents the entire page.
- CachedHeaderDisplay.jsp displays the store's header.
- CachedFooterDisplay.jsp displays the store's footer.
JSP file fragments
- BreadCrumbTrailDisplay.jspf displays the breadcrumb trail.
Links and buttons
- When Home is clicked in the breadcrumb trail, storeHome is called.
- When Clear list is clicked, all items are removed from the compare list.
- When a product is clicked, ProductDisplay is called.
- When Remove is clicked, the corresponding item is removed from the compare list.