• Welcome to KonaKart Community Forum. Please login or sign up.
 
December 22, 2024, 05:16:11 pm

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Vladimir

1
Some entries with errors:

error.passwordEmpty                   = The passsword cannot be left empty

msg.ProdManyAssocManufactRemove  = There are {0} products associated with the manufacturer {0}.  Click the checkbox to remove these products as well as the manufacturer.
2
Quote from: trevor on December 23, 2009, 02:13:45 pm
Have you tried applying the patch http://www.konakart.com/forum/index.php/topic,964.msg4086.html#msg4086 ?

Sorry - I did not use forum search at this time  :-[
Thank you, it works perfect!
3
Miscellaneous / BUGS: LowStockAlert_ru.vm, KK v 4.1.0.0
December 23, 2009, 04:30:31 am
when i change first line in template from English "Low stock level alert !" to Cyrillic "Товар на складе заканчивается!", the subject field of received mail message losted Cyrillic symbols and looks like "!" or "? !" instead of excpected "Товар на складе заканчивается!".

in other messages Cyrillic symbols in subject field transmitted correctly
4
Contributions / Re: Russian translation
December 22, 2009, 05:52:12 am
E-mail Velocity templates
5
To workaround this bug, replace in ProductsBody.jsp:

<logic:greaterThan name="prodMgr" property="currentManufacturersLength" value="1">
      <html:form action="/FilterProd.do"><span class="small"><bean:message key="products.body.show"/>:</span>&nbsp;
          <html:select name="FilterByManufacturerForm" property="manufacturerId" onchange="submit()">
              <html:option key="products.body.all.manufacturers" value="<%=searchAll%>"></html:option>
              <html:options collection="manuArray" property="id" labelProperty="name"></html:options>
          </html:select>
      </html:form>
</logic:greaterThan>


to this:

<logic:greaterThan name="prodMgr" property="currentManufacturersLength" value="1">
    <logic:greaterThan name="prodMgr" property="numberOfProducts" value="0">
        <html:form action="/FilterProd.do"><span class="small"><bean:message key="products.body.show"/>:</span>&nbsp;
            <html:select name="FilterByManufacturerForm" property="manufacturerId" onchange="submit()">
                <html:option key="products.body.all.manufacturers" value="<%=searchAll%>"></html:option>
                <html:options collection="manuArray" property="id" labelProperty="name"></html:options>
            </html:select>
        </html:form>
    </logic:greaterThan>
</logic:greaterThan>
6
Contributions / Russian translation
December 20, 2009, 07:11:35 am
For now, tehere is Messages_ru.properties. Later, as the translation, i'll add to this topic more russian language resources
7
This modification make choice in product option combobox, bases on option (concrete product attribute) with Price=0.
This makes it possible to display the default configuration and price of the product, which has attributes.
In ProductDetailsBody.jsp replace the:

<td >
<html:select name="AddToCartForm" property='<%= "valueId["+i+"]"%>' >

with:

<td >
<% int selectedId = 0;
for (ProdOption option : ((ProdOptionContainer) optContainer).getOptValues()) {
    if (0 == option.getPriceExTax().intValue()) {
          selectedId = option.getId();
}
}%>
<html:select name="AddToCartForm" property='<%= "valueId["+i+"]"%>' value='<%=""+selectedId%>'>



PS its dirty, but its friday evening here, in Kazakhstan, and I'm already tired...
8
Miscellaneous / Re: Displaying multiple images, 4.1.0.0
December 11, 2009, 06:18:33 am
It's very nice, tnx!  :)

PS I wanted to write that my solution is very simple, but mistaken on upload file, and therefore post message before finished writing it  ::)
9
Miscellaneous / Displaying multiple images, 4.1.0.0
December 11, 2009, 04:47:22 am
In the Admin App it is possible to add multiple images to the Product, but in the frontend showing only one image. This modified page show up to 4 images, is if they are present:
10
Miscellaneous / Re: Paypal problem
October 29, 2009, 05:31:45 am
I faced with the same problem when develop my own payment module. As I understand it, to use the KKAppEng in payment gateway callback action, are required to log into the system and get an sessionId. This is done in module by calling sessionId = kkAppEng.getEng().login(username, password);. This sessionId is used directly in subsequent calls to the engine. But when payment module calling sending email method sendOrderConfirmationMail(kkAppEng, orderId, /* success */true), the sessionId don't passed directly in method call. Apparently, to get the sessionId, somewhere in the implementation of the method used kkAppEng.getSessionId(), but after call login method, sessionId is absent in kkAppEng! So, in my module after sessionId = kkAppEng.getEng().login(username, password);
i just put this line
kkAppEng.setSessionId(sessionId);
and then sending email processing is succeful
11
Miscellaneous / BUGS: HomePageBody.jsp, KK v 4.1.0.0
October 14, 2009, 11:39:10 am
Little bug: i think, that following lines in HomePageBody.jsp:

        <img src="images/table_background_default.gif" border="0" alt="home.page.body.welcome"
             title=" home.page.body.welcome " width="<%=kkEng.getHeadingImageWidth()%>"
             height="<%=kkEng.getHeadingImageHeight()%>">

must be a:
        <img src="images/table_background_default.gif" border="0" alt="<bean:message key="home.page.body.welcome"/>"
             title=" <bean:message key="home.page.body.welcome"/> " width="<%=kkEng.getHeadingImageWidth()%>"
             height="<%=kkEng.getHeadingImageHeight()%>">
12
Miscellaneous / Ant 1.7 compile problem
October 14, 2009, 11:21:29 am
I use 1.7.1 version of Ant for buid KK, and faced with "javac.exe CreateProcess error=87" error while execute compile task. Problem solved by changing property fork="yes" to fork="false" of this task.

PS Also let more memory to your Ant for succeful compile