Quote from: lrkwz on December 14, 2009, 10:10:23 pm
Got it!
In webapps/konakart/WEB-INF/jsp/NewProductsWithDetail.jsp
39 <div class="tile-content">
40 <table class="tile-content" width="98%">
41 <% int i=0; %>
42 <tr>
43 <logic:iterate id="prod" name="prodArray" length="maxRows" type="com.konakart.appif.ProductIf">
44 <%prod = kkEng.getEng().getProductWithOptions(kkEng.getSessionId(),prod.getId(),-1, kkEng.getFetchProdOptions());%>
Remove line 44 which overwrites prod with default language contents.
replace the line 44 with this
44 <%prod = kkEng.getEng().getProductWithOptions(kkEng.getSessionId(),prod.getId(),kkAppEng.getLangId(), kkEng.getFetchProdOptions());%>
when -1 is passed, the default language set in the admin app is used to get the content
kkAppEng.getLangId() gives the current language in the logged in user session