• Welcome to KonaKart Community Forum. Please login or sign up.
 
April 26, 2024, 04:08:11 am

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 - Sony George

31
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

32

when an oder is placed i need to send the invoice and packing slip to an email id , for this in OrderIntegrationMgr.java
i used velocity template OrderInvoice_em.vm. but two methods
getTotalPriceExTax() and getTotalPriceIncTax() which are in AdminOrderProduct.class
are missing in OrderProduct.class, so i am not able to create the template...

any work around ???

regards
33
Programming of KonaKart / Re: whos online
December 13, 2009, 04:50:29 pm

Yes i also would like to know the use of whos_online table

also table utility,counter and counter_history, where is the GUI implementation of these tables ??

can any one help ??

thanks and regards

Sony
34
Quote from: lrkwz on December 10, 2009, 05:39:36 pm
No comments? I think THIS is  a bug


a work around for this is to add these line just before

return mapping.findForward("SetLocale");  of SetLocaleAction.java


// Get the new products for all categories
kkAppEng.getProductMgr().fetchNewProductsArray(ProductMgr.DONT_INCLUDE);

35
Quote from: vpod on December 10, 2009, 12:50:38 pm
I checked it. The value is correct. The "Intereses" OrderTotal Module appears in the admin correctly, but the error still persists.


did u put the konakart_ordertotal_intereses.jar in both konakartadmin\WEB-INF\lib and konakart\WEB-INF\lib folders ??

36
what value u have given in webapps\konakartadmin\WEB-INF\classes\konakartadmin.properties ??

it should be

konakart.modules.ordertotal=Shipping SubTotal Tax Total ProductDiscount TotalDiscount Intereses

please check
37
Quote from: lrkwz on December 09, 2009, 09:17:03 pm
If as firsts action in a new instance of a browser i go to http://localhost:8780/konakart/SetLocale_it_IT.do I am forwarded to Welcome.do with no newProducts.
If I go to http://localhost:8780/konakart/Welcome.do then to http://localhost:8780/konakart/SetLocale_it_IT.do I'm redirected back to the Welcome.do page correctly populated.

I do not want users to have to choose their interface language so I would like to define two virtual hosts such as:


It seems that the prodMgr's newProducts property is empty at firrst access if forwarded from SetLocale_xx_XX.do



I also face this problem, but the main problem for me is,
this do not happen always, still did not get a chance to re-produce this problem for a debug
to report to konakart
38
Hello Trevor,

consider this scenario

we have category "Electronics" with 5 products under it with 5 different manufactures
we have another category "House Hold" with 0 products under it

click on Electronics category and ProductsBody.jsp will show 5 products and the drop down of 5 manufactures, no problem good.
then next click on "House Hold" category, ProductsBody.jsp will show that there is no products under this category,
but the previous screen's drop down of 5 manufactures is shown in this House Hold category

see the attached screen shot

regards

Sony
39
hello,

always for the first time ie: before manually calling setLocalAction, the konakart engine set locale as wrong
for example if we print <%=kkAppEng.getLocale%> the value returned is en_EN, or if we set
German as the default language in the admin app then
de_DE is returned, and of course there is no locale like that.
i think, in the table languages for the code column, only 2 char is supported
and konakart is setting up the locale as

new Locale("languages.code","languages.code");
In BaseAction.java the following code would not work
line no 103

            String locale = kkAppEng.getLocale();
            if (locale != null)
            {
                String[] codes = locale.split("_");
                // Set the currrent locale so that it's picked up by Struts
                setLocale(request, new Locale(codes[0], codes[1]));
            }

because locale value is de_DE and there is no resource file Mesage_de_DE.properties in the app
so for the first time default language is not picked up by struts application
40
Hello,


I created a message resource for my language and set it as the default language in admin app,
also created message resource in konakart.
then in IE-->Tools-->Internet Options-->General -->Languages Button i added my language and moved
my language to top and browsed konakart app
but the English locale is showing by struts, but if i do it by SetLocale action, it works fine

i did this test for http://www.konakart.com/konakart/
ie: i added Germen [de] and Germen (Germeny) [de-DE] to top of IE-->Tools-->Internet Options-->General -->Languages
and browsed http://www.konakart.com/konakart/ ,but the app did not show the German language but the English language

usually, the struts app should automatically select the message resource according to the client locale
but this does not happen to konakart, is there any specific reason to prevent this, or any bug ??

regards

Sony
41
Quote from: trevor on December 04, 2009, 09:43:10 am
Are you sure that Washimg Machine and Microwave have different manufactures? A drop list will only be shown if there is more than one manufacturer.


Yes trever

all the 7 products are having different manufactures, so in this case we can say total 7 manufactures
42
Hello trever,

consider this scenario,

we have category named "Electronics" catid = 6
we have another category named "House Hold" catid = 10

we have the following 7 products
TV, Washing machine, Microwave, music system, ipod, computer

we set the above 7 product's category to "Electronics", so now Electronics category have 7 products

then we set this two products, Washing machine and  Microwave to "House Hold" category, so
Washing machine and  Microwave are in both Electronics and House Hold category.


if we click on the Electronics category, then products will be listed and all manufactures select drop down will be displayed

but if we click on House Hold category, then no manufactures select drop down is displayed

this happens when one products is in multiple category.

regards

Sony
43
Quote from: trevor on November 30, 2009, 11:22:12 am
Thanks for pointing that out. It's been fixed for the next release.


Dear Trevor,
the bug related to above is in the admin app also,
for example if we have products like this, in "Software" 0 and under it total 4,
Software ->  ( 4 )
  Action  (1)
  Simulation  (1)
  Strategy  (2)

then if i take the #kk_panel_products page and give a search only by selecting the category option as "Software"
then all the 4 products will be listed,
but if we have no products for the children category and only products in the parent category,
like in the following "Software " category is having products directly under it
Software ->  ( 5 )
  Action  (0)
  Simulation  (0)
  Strategy  (0)
then no result will be displayed and if like this

Software ->  ( 7 )
  Action  (0)
  Simulation  (0)
  Strategy  (2)

then only 2 in the category "Strategy  " will be displayed

regards

44
Hello,

can i empty table kk_cookie in development mode ?? if yes is there any other table(s) referenced to it, to be cleared also??

regards

Sony
45

Hello
Consider the following scenario,

under category software we have 3 sub category, and each sub category have products in it, and the "Software" category don't have any products under it directly. like following
Software ->  (4)
  Action  (1)
  Simulation  (1)
  Strategy  (2)
in this scenario everything works fine

but if i add 1 or more products to the "Software" category directly, then in the listing screen the products shown is of "Software category only, not of the products of the subcategory" it is correct, but the "Show:manufacture drop down shows manufactures in the subcategory" but the listed product's manufactures are not in the dropdown
Software ->  ( 8 )
  Action  (1)
  Simulation  (1)
  Strategy  (2)

to reproduce the problem
add 1 or more products directly under Software category,
click on "Software" category and look in the Show: manufacture drop down

regards

Sony