• Welcome to KonaKart Community Forum. Please login or sign up.
 
August 17, 2022, 02:10:30 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.

Topics - Sony George

1
Hello friends,

the products in the "newProducts" array have there products options as null,
how can i fill it, as the default behavior of productMgr ???

regards

Sony
2
Dear Konakart,

Please do this test
1) login to konakart,
2) add some product to wishlist
3) view the wishlist, added products are in the wishlist
4) now change the language
5) wish list disappeared
6) change to another language
7) add 2, 3 products more
8 ) view the wish list, shows the old added products in the wish list tile, but not in the wishlist view
9) switch back to the language changed in step 4
10) products added in step 7 has disappeared

if each products added to wish list in different languages, then none of them list in the wishlist
adding products to wishlist and changing the languages in all combinations create different wishlist which is not usable by the customer.

i think wish list should be unique like cart for all languages, am I wrong ??

thanks and regards

Sony George



3
dear all,

In the advanced search i used custom values in search, for example, i set the dataDescriptor.setCustom6("LCD")
and made a search, then the result shows up, just after doing this search, if i click on a category, then no results are displayed,
i checked the db log and found that the dataDescriptor.setCustom6("LCD") is also applied for the select category query,
this happens for only if i set any values for any of the following methods

dataDescriptor.setCustom6
dataDescriptor.setCustom7
dataDescriptor.setCustom8
dataDescriptor.setCustom9
dataDescriptor.setCustom10

and not for dataDescriptor.setCustom5 and below

does any one faced this problem ??

please help,

Thank you



4
This error is not yet solved in Konakart 5.0

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot find bean: "konakartKey" in any scope
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:341)
org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:572)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:221)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1023)
org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:345)
org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:572)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:221)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


any one who hit this URL http://www.konakart.com/konakart/ForgotPassword.do
without a session id set by app server get this error
(remove all cookie, cache of your browser and hit this url)
it is becuase ForgotPassword.do do not have an Action Class, instead , tiles are used, so BaseAction.getKKAppEng() is never called, and so,
konakartKey is not set in session . it is a simple error which can be fixed by adding Action Class for ForgotPassword.do

i had already written in the forum, but i think it did not get noticed by konakart team

http://www.konakart.com/forum/index.php/topic,1172.msg5018.html#msg5018

Posting once again for getting noticed by KonaKart Team.
NB: Just before posting this message, i have created a couple of error by clicking the above url, please check the logs...
Regards

Sony George
5
Dear All,

in AdvancedSearchSubmitAction.java, is the following code

            /*
             * Get the current dataDescriptor from the productMgr and add a constraint on a custom
             * field if the field has been set. Then set the dataDescriptor.
             */
            DataDescriptorIf dd = kkAppEng.getProductMgr().getDataDesc();
            if (spf.getCustom1() != null && spf.getCustom1().length() > 0)
            {
                dd.setCustom1(spf.getCustom1());
            } else
            {
                dd.setCustom1(null);
            }
            kkAppEng.getProductMgr().setDataDesc(dd);


I added the following code just before setting the data desc object
dataDescriptor.setOrderBy(DataDescConstants.ORDER_BY_DATE_ADDED);

dataDescriptor.setOrderBy(DataDescConstants.ORDER_BY_DATE_ADDED);
            kkAppEng.getProductMgr().setDataDesc(dd);


but do not see any change, always konakart search order by price only,
how can i set my order by constraint ??

Regards

Sony George
6
Hello,

I need to show only the categories that have at least one product under it,
i know that i can make a category invisible using admin app,
but i need to do this at run time, i did this in CategoriesTile1.jsp by adding an
if condition if(cat.getNumberOfProducts() > 0)

but how to achieve this in the category drop down at advanced search screen

thanks and regards

Sony George
7
Dear Konakart,

When we export the data using ExportFromKKUsingEng.bat a new file is created named exportedDataEng.txt
the problem is that the export/import utility is writing this file in ASCII format,
so if there is UNICODE data like product description is lost and turned to ? ? ? ? ?
because of this , the exported file cannot be imported to database..

is there any way to write the file as unicode ??
the following is the mysql url i use
torque.dsfactory.store1.connection.url      = jdbc:mysql://localhost:3306/konakartdb?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=UTF-8&characterSetResults=UTF-8

i tried the following options,
first i created a file named exportedDataEng.txt  and made it UTF-8 encoding file, then tried the export, still the data was in ASCII,
i think the file i created in UTF-8 encoding was first deleted by kkimporter/exported and created a new ASCII file....


Please Advice

Regards
8
Hello,

I would like to search products that's name starts with "a" or "A", how can i achieve this ???

regards

Sony
9
Dear Friends,

konakart send mails, using vm templates, in that mails there are some styles (css) written
in the <head> part, but this styles are totally ignored by gmail,
but in yahoo, or hotmail, or any other desktop email client, all styles inside the .vm files are displayed correctly,

in gmail, mail is displayed as text, no styles written in the head part is applied,

does any one have solution for this problem,

regards
Sony
10
Hello,

there is no subject for the mails send by konakart, like welcome email, order Confirmation etc

i use smtp.gmail.com and using my gmail account for sending mail.

any solutions ???

regards

Sony
11

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
12
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
13
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
14
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
15
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
16

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
17
i created this for my admin app and would like to share with every one

replace this file "0AC09A37D5CA96A67654A46ECDAEEE99.cache.png" in your konakart instalation home\webapps\konakartadmin folder

regards
18
Hello,

I want to remove the validation of Manufacturer Language URL, now it is 255 char maximum,
instead of using it as URL i want to use it as a text area, to show details in multi language.

as per the documentation in CustomValidation.properties i set the value to, no minimum or maximum specified like the following

Manufacturer.url= ;
ManufacturerInfo.url= ;


but did not work,

can i set validation only for the values that have commented out in CustomValidation.properties ?
can i change Manufacturer Language URL, or Manufacturer Custom5 field  from textbox to textarea ??

regards

Sony
19
Hello,

How can i create a public wish list ? as of now, i can create a wedding registry where i have to give the bride/groom details,
i dont need that, i just want a private and a public wish list for the customer
how can i achieve this ??

regards
20
Hello,

I created a wedding gift list and made it public,
when i try to access the wish list by URL
ie: http://localhost:8080/konakart/ShowWishListItems.do?wishListId=3, the app ask for login,

i need to see the wish list if it is public with out logging in.
is there any way to see the wishlist with out logging in, like that in amazon
regards

Sony