Samples >
WebSphere Commerce portlet samples
The WebSphere Commerce portlets, when working together using cooperative portlets, can provide customers with a similar shopping experience to that of the WebSphere Commerce consumer direct storefront, while providing merchants with additional online business sales channels to other portal environments.
The following portlet samples make up the WebSphere Commerce portal:
- Catalog portlet JSP sample
- Search portlet JSP sample
- Product portlet JSP sample
- My Cart portlet JSP sample
- My Account portlet JSP sample
- My Order portlet JSP sample
For more information about portlets, refer to Portlets, in the WebSphere Portal Information Center.
- My Account portlet JSP sample
The My Account portlet provides customers with the ability to create, change, remove.
- Catalog portlet JSP sample
The catalog portlet displays a list of all active sales catalogs. When this portlet appears the first time, MVCPortlet_installdir/jsp/html/default/Catalog.jsp is used.
- Search portlet JSP sample
The Search portlet provides customers with the ability to search on a product name and description. The result is shown in the Product portlet. When this portlet appears the first time, MVCPortlet_installdir/jsp/html/default/Search.jsp is used.
- My Order portlet JSP sample
The My Order (order history) portlet provides customers with the ability to view Order history and Order history details.
- Product portlet JSP sample
The Product portlet displays product details to customers. From this portlet customers can select items to add to the shopping cart. When this portlet appears the first time, MVCPortlet_installdir/jsp/html/default/Product.jsp is used. For each product, the offer price is shown. Certain items will not have a price shown. For general products and bundles, the offer price is not available until the item is added to the shopping cart.
- My Cart portlet JSP sample
The My Cart portlet displays the shopping cart details to the user and allows the shopper to check out the order and specify shipping and payment information.
- Predefined expression builders in the WebSphere Commerce portlet samples
The WebSphere Commerce portlet samples provide many predefined expression builders which can be reused to call WebSphere Commerce services. These expression builders are defined in the component-name/get-data-config.xml files.
Related concepts
WebSphere Commerce integration with WebSphere Portal
Related tasks
Configure WebSphere Portal with WebSphere Commerce
Configure the sample portlets in the development environment
Configure basic authentication for WebSphere Portal
Configure the sample portlets in the server environment
Install the WebSphere Commerce portlet application on the WebSphere Portal server
Related reference
Predefined expression builders in the WebSphere Commerce portlet samples