• Welcome to KonaKart Community Forum. Please login or sign up.
December 03, 2023, 07:46:21 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 - paulh

Is there any way of knowing if the user searched on specials? in the same way I can get the current category?
ProductIf[] products = kkEng.getProductMgr().getCurrentProducts();
for (int i=0; i < products.length; i++) {
ProductIf product = products;

always prints out null when in DVD-Action category
Programming of KonaKart / Filter by tagId
October 16, 2011, 09:43:54 am
Is it possible to add functionality where I can pass FilterProdByTags.do?tagId=2&tagId=3&tagId=4 so u could use checkbox based filtering on facets... this would also enable sliders for ranges on prices assuming u registered the price of a product as a tagt...

This would be a subtle change in the present code of reading getParameterValues() instead of getParameter()

Otherise is the code available to customize this?

Programming of KonaKart / Guest Checkout and JSP
August 02, 2011, 08:35:13 am
I wish to change the existing JSP checkout pages to guest checkout... I'd rather not go down the GWT route as I dont think its as easy to customize... I was wondering what calls I need to change to make the existing JSP checkout pages work without the customer first having to register? Is there some dummy account used in the GWT to achieve this.
Or how much would it cost to have this coded up...
It seems after the user is logged in he is taken to the MyAccount page. I would like to change it so that if the user is logging in after clicking on checkout it goes to CheckoutDelivery and if they are logging in after clicking My Account then it goes to MyAccount.

Can you give me an idea which actions I should customize - struts-config.xml???

Programming of KonaKart / customize admin
January 24, 2009, 01:52:28 pm
I have had a look at http://www.konakart.com/engine_customization_faq.php

Anyway I can customize the konakart app by just adding the classes to web-inf/classes... This doesnt seem to work with the admin app I have customized com.konakartadminapp.UpdateOrderStatus1 and have customized com.konakartadminapp.KKAdminCustomEng to point to

private UpdateOrderStatus1 _updateOrderStatus = new UpdateOrderStatus1(kkAdminEng);

so that emails are only sent to customer when status == 3 (Delivered)

And put these 2 classes in the classpath not in the jar - shouldnt the classloader use these before the ones in the jar file??? Id rather keep the jars original so I know what I cave changed by just looking at my custom classes in eclipse.

What am I missing?

When authenticating with a Microsoft SMTP server make sure u have BASIC selected as in my experience the Java Mail doesn't seem to support NTLM. If ur Mail Server and web-app are on the same machine its not insecure.

If u insert your product attributes and ur options are not contiguous ull end up with more selects that u bargain for - Im sure it will be fixed in the next release but heres a quick hack in the meantime - should be inserted before the product attributes are rendered in the productdetailsbody.jsp

                  ArrayList options = (ArrayList) selectedOpts;
                  Collections.sort(options, new Comparator() {
                   public int compare(Object arg0, Object arg1) {
                      String  s1 = "" + ((ProdOptionContainer) arg0).getId();
                      String  s2 = "" + ((ProdOptionContainer) arg1).getId();
                      return s1.compareTo(s2);

                  ArrayList newOptions = new ArrayList(options);
                  ProdOptionContainer current =  null;                  
                  for (int j=0; j < newOptions.size(); j++) {
                     ProdOptionContainer prodOptionContainer =  (ProdOptionContainer) newOptions.get(j);
                     if (current!=null && current.getName().equals(prodOptionContainer.getName())) {
                        List values = prodOptionContainer.getOptValues();
                        for (int k=0; k < values.size(); k++) {
                     } else {
                        current = prodOptionContainer;

If ur product has no manufacturer you must create a dummy one and attach it to the product otherwise u will get errors - Paolo verified this
Reporting / modifying reports with eclipse
June 06, 2007, 05:08:07 pm
Im having a problem designing one of the existing reports within eclipse. When I preview it I get the error:

Script engine error: ReferenceError: "GetDbParams" is not defined

Im wondering if I need to add some jar files to the report design project but then again report design projects dont seem to have that option in project properties.

I made an absolute reference to konakart.rptlibrary in the Product List report

Anyway u guys know so I mays well ask here

Thanks Paul
I was just wondering if there was a way of interacting with the admin functionality via WSDL and what the path is.

Thanks Paul