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.1, 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.1, 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.
-
- 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
- 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>
- 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"/>
- Save and close both files.
- Restart the Transaction server.
- Open the following storefront JSP files: