• Welcome to KonaKart Community Forum. Please login or sign up.
 
April 24, 2024, 06:57:15 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 - PiotrN

1
Hello,

How can I update an Order object from within the server? I have already persisted an Order and I want programmatic change one if its custom fields.

Order order = ... // I already have the proper Order object
order.setCustom1("myCustomValue");

OrderMgr orderMgr = .... // I have access to OrderMgr or KKEng


What method should I invoke to update the order object?
I don't want to create new order nor to update its status - I just want to update its custom fields.

Thanks in advance,
Regards
2
Hello,

I would like to update product price using Web Services.
I am obtaining a fully populated AdminProduct object but when I invoke the following code:

public boolean updateProductPrice(AdminProduct product, BigDecimal price) {
    try {
        product.setPrice0(price);
        admin.editProduct(sessionId, product);
    } catch (KKAdminException e) {
        e.printStackTrace();
        return false;
    }
    return true;
}


The value is not updated in the database.

Do I need to explicitly invoke some kind of flush to let the correct data be inserted into DB?
3
Howdy,

I've got some problem when fetching Orders from KKWSAdmin:

KKWSAdmin konaKartAdmin = new KKWSAdmin();
AdminOrder[] ordersCreatedSince = konaKartAdmin.getOrdersCreatedSince(sessionId, since, AdminLanguageMgr.DEFAULT_LANG);


I can iterate over AdminOrders but:

adminOrder.getOrderProducts() returns null
adminOrder.getNumProducts() returns 0

Those values are returned for all orders despite the fact that from KonaKart Admin web console I can see some products for each order.

Any ideas what's going on?

Thanks in advance.
4
Reporting / Reports about sent e-mails
February 14, 2012, 02:42:59 pm
Hi,

Can I use BIRT to generate reports regarding e-mails sent to my customers using the Customers -> Customer Communications section?
The logs are saved in a flat file, so can I somehow use it as an input for BIRT report to visualize e.g. number of e-mails sent, number of wrong e-mail addresses, time of the submission, etc.?

Thanks in advance.

Regards,
Piotr
5
Hi,

Is there a way in KonaKart Engine (or Client) to send an e-mail notification to some arbitrary address to recommend the selected product to that person?

You know, like a "Recommend this product" button next to the product details which would generate an e-mail like this:

"Hey, I think you'll be really interested in *THIS* product.

Check it out.

Piotr".

Thanks in advance for your help.

Cheers!
6
Howdy,

When I checkout my cart the ordered quantities of a products are deducted from the overall shop quantity.

1. Can I deduct the quantity not when the order is accepted, but e.g. when the payment is accepted?

2. If I cancel an order, the quantity is not changed, i.e. the Product A had quantity: 10. I've ordered 5 Product A's. After checkout, the shop quantity is 5. If I cancel the order the quantity is still 5.
Do I need to manually change the quantities? Should I react upon the event when order is changing to "canceled" and execute my own code to "fix" the stock status?

Cheers and thanks in advance.
7
Hi,

If I want to add few custom pages (not related to products, cart, etc.) - e.g. my company's details or some additional, custom pages, does the KonaKart allows me to do it and provides some CMS editor for editing such pages? Or perhaps it's up to me to create such simple CMS or to use some portal system like Liferay?

Thanks in advance.
8
Howdy,

I was trying to get access to KK 6 SOAP WS, but when I access this URL: localhost:8780/konakart/services/KKWebServiceEng?wsdl an exception is thrown and the following logs are produced in catalina.out:

QuoteFeb 8, 2012 3:06:00 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8780"]
Feb 8, 2012 3:06:00 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8783"]
Feb 8, 2012 3:06:00 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8789"]
Feb 8, 2012 3:06:00 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 6090 ms
08-Feb 15:06:04 FATAL (InternalException.java:<init>:88) Exception:
java.lang.Exception: Couldn't find a matching Java operation for WSDD operation "getConfigurationValue" (1 args)
   at org.apache.axis.InternalException.<init>(InternalException.java:71)
   at org.apache.axis.description.JavaServiceDesc.loadServiceDescByIntrospection(JavaServiceDesc.java:902)
   at org.apache.axis.providers.java.JavaProvider.initServiceDesc(JavaProvider.java:477)
   at org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc(SOAPService.java:286)
   at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:500)
   at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
   at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
   at org.apache.axis.deployment.wsdd.WSDDDeployment.getService(WSDDDeployment.java:427)
   at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:231)
   at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)
   at org.apache.axis.MessageContext.setTargetService(MessageContext.java:756)
   at org.apache.axis.handlers.http.URLMapper.invoke(URLMapper.java:50)
   at org.apache.axis.handlers.http.URLMapper.generateWSDL(URLMapper.java:58)
   at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:33)
   at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
   at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:104)
   at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:446)
   at org.apache.axis.transport.http.QSWSDLHandler.invoke(QSWSDLHandler.java:68)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.axis.transport.http.AxisServlet.processQuery(AxisServlet.java:1226)
   at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:249)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
   at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:964)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
   at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
   at java.lang.Thread.run(Thread.java:662)


When I run the KK 5.5.0 it works smoothly and the WSDL is properly generated. Any idea what might be the problem?

Thanks in advance!
9
Howdy,

I'm planning to create a completely new UI for our KonaKart eCommerce, so I'm planning to use the server API instead of client API (we'll be replacing Struts with Spring MVC).

I started to skim over the Server API and bumped into a question mark. Let's say I want to add a product to the basket. The first method I noticed is the KKEngIf#addToBasket(-). However, I've realized that there is a number of *Mgr classes like BasketMgr which can help me, as it has also the addToBasket(-) method.

Are the *Mgr classes just a convenience ones and their only aim is to provide developer with easier access to the underlying storage? Is one way (KKEng or *Mgr) preferred one and should be used instead of other?

Thanks in advance.

Regards,
Piotr
10
Programming of KonaKart / Concurrent order processing
February 07, 2012, 10:13:35 am
Hi,

I'd like to know if current KonaKart core and/or admin GUI is protected from concurrent changes made by two admin-users? Let's say that U1 and U2 are two users with granted privilege to modify order's (O) current status (S1). Here's the exemplary timeline:

U1: opens order O,
U1: views the order O and sees that O in status S1 needs to be updated (but doesn't update it yet),
U2: opens order O,
U2: changes order O status to S2,
U1: changes order O status to S3.

O is in state S3 which is not the result expected by the user U2.

How can I be secured from such situations when we have more than one person who is processing the orders?

Thanks in advance.

Regards.
11
Hi,

Does KonaKart provide any other language translations than English, German and Spanish? I'm particularly interested in a Polish translation.

Thanks in advance.

Regards.
12
Programming of KonaKart / Custom backend
February 03, 2012, 03:27:45 pm
Hello,

I would like to know if there is any way I can modify the default, GWT, backend you provide with the installation package?

I know there are injection points I can use for my own purposes (like the pre/post event callbacks or custom panels, custom fields for customer, etc.). I would like, however, to modify the backen so it would e.g. display a select HTML element instead of input text for one of the customer custom fields.
Moreover, I would like to reorganize the layout (i.e. change the filter panel in list grids from upper part of the screen to lower) or change the order of buttons.

Is it possible or do I have to provide my own application which uses Admin API?
Does the situation change if I purchase the Enterprise license?

Thanks in advance.

Rergards,
Piotr