This blog promotes knowledge sharing through experience and collaboration. For more product information, visit our WebSphere Commerce CSE page. For easier navigation, utilize the Categories to find posts that match your interest.
Modify xsl files on Sterling side to meet pagination requirement in Get Order History
I received a problem that store page displayed wrong external order history lists when skipping page. This issue only occured in V9 and V8 jquery store since only them can skip paging when display order history. I fixed this issue by modifying the parameter passed to OMS with StartRowNumber instead of lastOHKey which remove the dependency between two pages. The fix is already included V188.8.131.52 and V184.108.40.206 greater, and if there is any client move to higher release and integrate with Sterling OMS facing the same issue, please modify the file on Sterling side:
For Sterling side, client needs to change xsl file : GetOrderToGetPageInput.xsl from resource.jar/template/xsl/scwc
1. Remove the lastOHKey related:
2. Add the following content under <Page> below <xsl:attribute name="PageSize"><xsl:value-of select="$GetOrder/_ord:DataAre
<xsl:attribute name= "StartRowNumber"><xsl:value-of select="$GetOrder/_ord:DataAre
Modify the attribute PaginationStrategy, set the value to GENERIC:
3. Rebuild the resources.jar and rebuild the ear.
Redeploy the EAR and restart the Sterling Order Management server.