• Welcome to KonaKart Community Forum. Please login or sign up.
 
May 14, 2024, 06:19:01 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 - pete

61
All the source that we make available can be found under the custom directory. Take a look at http://www.konakart.com/generalfaq.php .
62
If you used the installer you should just let the installer check your db connection and run the database script.

The file konakart_supplementary_demo.sql should only be used for when upgrading from a standard osCommerce installation. For a fresh installation of KonaKart you only need konakart_demo.sql.
63
Programming of KonaKart / Re: LogInBody.jsp
August 23, 2008, 08:08:32 am
Hi,

You can safely delete that script. We'll remove it in the next release.
64
All of the engine calls are done from Struts Action classes so you should look at the action classes such as LoginSubmitAction() and CustomerRegistrationSubmitAction() to figure out how to login and register a customer.
65
It's fixed in the latest release as you can see from our demo http://www.konakart.com/konakart/Welcome.do .
66
sendEmail = true means that an eMail is sent, and sendEmail = false means that it isn't sent.

It sends a blind copy so you wouldn't see it on the header.

67
Take a look at CheckoutConfirmationSubmitAction.java where the order is saved:

int orderId = kkAppEng.getOrderMgr().saveOrder(/* sendEmail */true);

sendEmail may be set to false.
68
Hi Rula,

The KKWSEngInf methods are identical to the KKEngIf methods except that they generate SOAP messages in order to communicate to the engine. Therefore you can look at the Javadoc for KKEngIf to figure out the parameters.
69
It sends a copy of all mails except the new password mail. If you are only interested in the order confirmation mail, you can easily set a rule in your mail client to delete the others.
70
Configuration of KonaKart / Re: chinese langue problem
August 19, 2008, 10:40:54 am
Hi,

Take a look at this thread http://www.konakart.com/forum/index.php/topic,78.0.html and see if it helps.
71
I'm surprised that you want to implement this, especially on product pages, since it is normally good practice to show customers where they are, regardless of how they got there.

What you need to do is to call the reset method on the CategoryManager in the action classes where you don't want the category to be displayed. i.e. ShowProductDetailsAction and CheckoutDeliveryAction which is the first step of the checkout process.

72
Programming of KonaKart / Re: Webservice, TaxRates
August 04, 2008, 06:41:07 am
Are the tax rates visible through the Admin App ? Remember that the Admin App uses the same API.
73
Programming of KonaKart / Re: Webservice, TaxRates
August 03, 2008, 08:45:58 am
Hi,

Try setting:

ss.setId(-1);
ss.setTaxClassId(0);
ss.setGeoZoneId(0);

to tell it to fetch all tax classes and zones.
74
Programming of KonaKart / Re: exception handling
July 31, 2008, 05:43:07 pm
I don't think you need to go to that level of complexity. e.g. Instead of:

return getForward(mapping, request, e, "com.konakart.app.KKUserExistsException",
                        Constants.userExists, "ApplicationError");

you need:

return getForward(mapping, request, e, "com.konakart.app.KKUserExistsException",
                        getCatMessage(request, "register.customer.body.user.exists"),
                        "ApplicationError");

The caching problem exists because Constants.userExists used to contain the message and this static variable was loaded at startup and never refreshed if a user decided to change language.
75
Programming of KonaKart / Re: exception handling
July 30, 2008, 07:08:34 pm
Sure, it's an alternative way of achieving the same goal. Although this is a feature of struts, I don't really see the advantage in our case since it isn't really something that you will want to change. Personally I prefer to keep the exception handling in the Java domain where I find it easier to read, rather than in an XML file.

By the way, my advice is not to tell the user whether they have made a mistake in the userId or in the password . This could give them valuable information and help them to hack the system. :(