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

1
Hi

One can assign a superuser role such that one can access with the same user all stores and
which then can do everything, e.g. the user admin@konakart.com

We would like to create a user which also has access to all stores, but can only manipulate
the orders and not the customers.

Is this possible somehow?

Thanks

Michael
2
Hi

I have noticed that the following directory

C\:/Program\ Files/KonaKart/xml_io/store1/

is being created.

What is good for and how can it be re-configured (we are using a Linux system ;-)?

Thanks

Michael
3
Hi

It's not really clear to me what's the difference between getId() and getOrderNumber() re

http://www.konakart.com/javadoc/server/com/konakart/appif/OrderIf.html

because when using

myOrder = kkEngine.createOrder(sessionId, items, languageId);

then

myOrder.getId() always returns 0

and

myOrder.getOrderNumber() returns null

althought I have already some existing orders within the table "orders"?

I guess one has to set this explicitely with setId(...) and setOrderNumber(...), right?

Any hint is much appreciated.

Thanks

Michael
4
Hi

We are using the multi-store with a single DB with shared products

If one creates a product, then one can assign this product to multiple stores within konakart admin (top right tab called something like "Shops/Stores").

I would like to do this via the SOAP API, hence I thought one can do this using

http://www.konakart.com/javadoc/admin/com/konakartadmin/appif/KKAdminIf.html

somehow, but I cannot really find the methods/classes to do this for a specific product ID  and specific store ID.

Any pointers are very welcome

Thanks

Michael
5
Hi

AFAIK each customer can see/notice how many total orders have been accomplished.
This can look a bit "akward" when a new shop is setup, hence we would like to increase the number of orders.

What is the best way to do this? Just increase the counter within the DB?

Thanks

Michael
6
Hi

I am running KonaKart Enterprise 5.1.0.0.5688 on Mac OS X with PostgreSQL 8.4.
As soon as I login to konakartadmin the server will stop running throwing an OutOfMemory Exception

INFO: Server startup in 8841 ms
Sep 13, 2010 10:36:49 PM org.apache.axis.transport.http.AxisServlet logException
INFO: Exception:
java.lang.OutOfMemoryError: PermGen space
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
        at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1847)
        at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:890)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1354)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
        at org.apache.axis.AxisFault.addHostnameIfNeeded(AxisFault.java:881)
        at org.apache.axis.AxisFault.initFromException(AxisFault.java:280)
        at org.apache.axis.AxisFault.<init>(AxisFault.java:181)
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
        at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
        at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:225)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:112)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
Sep 13, 2010 10:36:52 PM org.apache.coyote.http11.Http11Processor process
SEVERE: Error processing request
java.lang.OutOfMemoryError: PermGen space

whereas the accessing the frontend "konakart" does not cause any trouble.

Any idea what might be wrong? Is it possible that "birt" does something which it shouldn't?

Thanks

Michael
7
Hi

We have the situation that based on ZIP codes we would like to manage the orders by different stores
(because the delivery of the phyisical product is based on ZIP code), but for the customer it looks like
one shop.

Hence we were thinking to have one "main store" where products and customers will be maintained, but
for each physical location we will have one "backend store", e.g. for the city of Rome one and for the city of London another one. Which means the products and customers would be shared, but not the orders.

Now it is not clear which "mode" to use for such a setup (whereas I have read http://www.konakart.com/docs/manualInstallation_EE.html, but still ;-)

Any hints are much appreciated.

Thanks

Michael
8
Installation of KonaKart / Multi-store documentation
September 07, 2010, 03:18:30 pm
Hi

I have noticed that

http://www.konakart.com/docs/manualInstallation_EE.html

is making a reference to Konakart version KonaKart-Enterprise-3.2.0.0.zip.

Is this documentation still valid for version 5.*?

Thanks

Michael
9
Hi

It seems to me there are two possibilities to change a password:

Either 1)

void changePassword(
    String sessionId,
    String currentPassword,
    String newPassword)

or 2)

sendNewPassword(
    String emailAddr,
    String subject,
    String countryCode)

The problem with 1) is that one has to know the current plain text password, hence cannot be used for "password forgot"
and 2) has the problem that KonaKart is creating/sending a new password directly to the user, whereas we would
like to send only a link with a hashed URL (contained within the email) to the user, which then the user has to click on
and can create his/her new password by her/himself, but this would requires an API method like

void changePassword(
    String sessionId,
    String newPassword)

or is there any other possibility?

Thanks

Michael

11
Programming of KonaKart / logout and shopping cart
July 26, 2010, 11:20:49 am
Hi

I have noticed that if one is doing a logout

http://www.konakart.com/javadoc/server/com/konakart/appif/KKEngIf.html#logout(java.lang.String)

then it seems that also the shopping cart is deleted, although I am still refering it with a negative customer ID
which I remember within the http session.

Is this on purpose and maybe am I doing something wrong?

Thanks

Michael
12
Hi

Before a user is registered or signed-in I use

getTempCustomerId()

in order to attach a shooping cart, e.g.

Session ID: be9a3bceb5837622d4d6cc44a079ae3c (based on a temporary user created within forceRegisterCustomer)
Customer ID: -107

but at some point the customer will register or sign-in:

String konakartSessionID = kkEngine.login(username, password);

but here it is not clear to me how to transfer the filled shopping cart to the signed-in user, because
first the above method does not seem to have any connection to the previous session, but rather creates a new session (btw. in my case the login() method returns an empty string) and second I have used the negative customer ID to add items to the shopping cart.

Any pointers are much appreciated.

Thanks

Michael
13
Hi

We are currently integrating KonaKart with Yanel CMS and other third party web-apps, whereas these
webapps should all share some common user management. Is it possible to connect LDAP or something similar
with KonaKart instead to replicate the user data within KonaKart?

Also this is kind of related to a single sign on.

Any pointers/hints are much appreciated.

Thanks

Michael
14
Miscellaneous / Session Timeout (using SOAP)
July 23, 2010, 09:56:16 am
Hi

It came to my mind that if "my" Tomcat has a longer session-timeout than the Konakart Tomcat to which
we have access via SOAP, then issues can occur.

Is it recommened to just increase the session-timeout of the KonaKart Tomcat or are there any better approaches?

Thanks

Michael
15
Hi

How can I get the expiry date of the special price via the Konakart API?

There is a method

http://www.konakart.com/javadoc/server/com/konakart/appif/ProductIf.html#getExpiryDate()

but this rather seems to be the expiry data of the product itself.

The reason I am asking is because we would like to write something like:

"This special offer/price is valid from 2010.07.05 till 2010.07.29"

on the product page.

Any pointers/hints are appreciated.

Thanks

Michael
17
Programming of KonaKart / Get image data via SOAP
July 19, 2010, 10:24:13 am
Hi

I am trying to read the image data via SOAP. The method

http://www.konakart.com/javadoc/server/com/konakart/appif/ProductIf.html#getImage() returns the image name, e.g.

hello-world.jpg

which exists at

/Users/michaelwechner/konakart-5.0.0.0/webapps/konakart/images/hello-world.jpg

but how can I retrieve the actual data via the (SOAP) API?

Thanks for your help

Michael
18
Programming of KonaKart / Using getTempCustomerId()
July 12, 2010, 12:35:09 pm
Hi

Just to make sure I understand correctly the usage of "getTempCustomerId():

I integrate KonaKart via SOAP into our CMS solution which has its own http session handling, which means
in order to allow an anonymous user to add products/items to the shopping cart one can use getTempCustomerId()
in order to create a unique (negative) customer ID, add this number to the CMS session and use it for further reference as long as the CMS session exists. Is this the correct usage? Or does anyone recommend another approach?

Thanks

Michael
19
Hi

KonaKart 5 has introduced a WYSIWYG HTML editing widget for the product description, which I think is great,
but sometimes it also is helpful to edit the HTML source directly, hence it would be nice to have a "Edit HTML" button which opens a separate Window/Textarea to edit the HTML source or disable the widget completely.

Any idea how to accomplish either one or the other?

Thanks for any pointers.

Michael
20
Miscellaneous / How to subscribe via e-mail
July 01, 2010, 08:32:34 am
Hi

Forgive my ignorance, but I am used to use regular mailing lists (like the Apache projects are using).

Is it possible to subscribe somehow to this forum just via plain e-mail?

Or at least that one is notified if new messages are being posted unrelated to my own messages.
I would be happy to share my knowledge with other users, but to keep pulling these forum-web-pages is rather
a pain, and the messages being pushed via email would be much more convenient ;-)

Thanks

Michael