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.
A good blog always comes-up with new and exciting information and while reading I felt that this blog has good quality content that qualifies a blog to be a good one.
ReplyDeletehttp://goo.gl/7cj6Kf