Troubleshooting: Bundle cross-sell merchandising functionality does not work after migration

After migrating from IBM Websphere Commerce Version 7 or IBM Websphere Commerce Version 8 to HCL Commerce Version 9.0, cross-sell merchandising bundle functionality does not work as expected.

Problem

After migrating from IBM Websphere Commerce Version 7 or IBM Websphere Commerce Version 8 to HCL Commerce Version 9.0, cross-sell merchandising bundle functionality does not work as expected.

When a bundle of products is added as a cross-sell for a bundle of products, the cross-sell bundle is not displayed as expected on the Product description page of the second bundle on the Storefront.

Solution

Update your storefront JSP files.
    1. Open the following storefront JSP files:
      For IBM Websphere Commerce Version 7:
      • /Stores_v7/WebContent/Widgets_701/Common/ProductDescription/ProductDescription_Data.jspf
      • /Stores_v7/WebContent/Widgets_801/Common/ProductDescription/ProductDescription_Data.jspf
      For IBM Websphere Commerce Version 8:
      • /Stores_v8/WebContent/Widgets_701/Common/ProductDescription/ProductDescription_Data.jspf
      • /Stores_v8/WebContent/Widgets_801/Common/ProductDescription/ProductDescription_Data.jspf
    2. Locate the following codeblock in each file.
      <c:choose>
      	<c:when test="${!empty param.hasAssociations}">
      		<c:set var="hasAssociations" value="${param.hasAssociations}"/>
      	</c:when>
      </c:choose>
    3. Add the following portions before and after this content in each file.
      <c:if test="${hasAssociations == 'true'}">
      	<c:remove var="catalogEntryDetails" />
      </c:if>
      <c:choose>
      	<c:when test="${!empty param.hasAssociations}">
      		<c:set var="hasAssociations" value="${param.hasAssociations}"/>
      	</c:when>
      </c:choose>
      <c:set var="hasAssociations" value="false"/>
    4. Save and close both files.
    5. Restart the Transaction server.
The cross-sell bundle of products are now displayed on the Product description page for the second bundle on the Storefront, as expected.