Tuesday, October 8, 2013
Wednesday, October 2, 2013
Enabling guest browsing and shopping in the Elite starter store WCS-7 FEB 6 in Development environment
By default, guest customers cannot browse the Elite starter store or add items to existing orders in the Elite starter store. To allow guest customers to browse the store or to add items to a current order, enable guest browsing and shopping in the Elite starter store.
To enable guest browsing and shopping in the Elite starter store, Please go through below URL.
http://pic.dhe.ibm.com/infocenter/wchelp/v7r0m0/topic/com.ibm.commerce.elite-starterstore.doc/tasks/tsmeliteguestshopping.htm
Note: After enabled guest customers and browse the Elite starter store in WCS-7 FEB6, we have to hit store URL like as below
http://localhost/webapp/wcs/stores/servlet/StoreView?storeId=10153
but It's taking to logon page, instead of home page. so there is small code changes need in index.jsp page. To find the code snippets and correct the test condition parameter.
as per OOB code will be
<c:when test="${!userType eq guest}">
<wcf:url var="homePageUrl" patternName="HomePageURLWithLang" value="TopCategories1">
<wcf:param name="langId" value="${langId}" />
<wcf:param name="storeId" value="${requestScope.storeId}" />
<wcf:param name="catalogId" value="${requestScope.catalogId}" />
<wcf:param name="urlLangId" value="${langId}" />
</wcf:url>
</c:when>
To remove the "exclamation mark" which marked in RED color. try now, it will go to home page.
To enable guest browsing and shopping in the Elite starter store, Please go through below URL.
http://pic.dhe.ibm.com/infocenter/wchelp/v7r0m0/topic/com.ibm.commerce.elite-starterstore.doc/tasks/tsmeliteguestshopping.htm
Note: After enabled guest customers and browse the Elite starter store in WCS-7 FEB6, we have to hit store URL like as below
http://localhost/webapp/wcs/stores/servlet/StoreView?storeId=10153
but It's taking to logon page, instead of home page. so there is small code changes need in index.jsp page. To find the code snippets and correct the test condition parameter.
as per OOB code will be
<c:when test="${!userType eq guest}">
<wcf:url var="homePageUrl" patternName="HomePageURLWithLang" value="TopCategories1">
<wcf:param name="langId" value="${langId}" />
<wcf:param name="storeId" value="${requestScope.storeId}" />
<wcf:param name="catalogId" value="${requestScope.catalogId}" />
<wcf:param name="urlLangId" value="${langId}" />
</wcf:url>
</c:when>
To remove the "exclamation mark" which marked in RED color. try now, it will go to home page.
Displaying non-english characters correctly with WebSphere
Did you faced issue while displaying non-english characters/special characters likes [currency symbols] dollor, pound etc ?
Try this solution:
Try this solution:
- Select Servers ->Application Server ->server name ->Process Definition ->Java Virtual Machine ->Custom Properties –>New
- Type client.encoding.override in the Name ; Type UTF-8 in the Value column.
- Click Apply.
- Stop and restart the WebSphere Application Server
Subscribe to:
Posts (Atom)