• Welcome to KonaKart Community Forum. Please login or sign up.
 
May 04, 2024, 08:26:58 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.

Topics - David

1
Hi,

I'm developing a web with konakart 2.2.0.7 and I need to see some files before I start doing changes. Is possible to download that version of konakart anywhere?

Regards

David
2
Hi,

I tried to get the customer from KonaKart, and fill it with the new directions, but only the default address works. I'm doing something like this:

Quotecustomer = conKK.getCustomerForId( ... );

customer.setDefaultAddr(myDefaultAddress);
customer.setAddresses(myOtherAddresses);

conKK.updateCustomer( ... );


maybe I should use another function, I'm not sure, but I don't see any error

Regards

David
3
Programming of KonaKart / Avoid login from some users
January 29, 2008, 09:33:01 am
Hi

I want to avoid login from some users (like those who don't pay). I do this checking a custom field. how can I do this?? I supose I have to modify LoginSubmitAction.java, but I'm a bit lost

thanks in advance

David
4
Miscellaneous / problem with Internet Explorer
January 04, 2008, 03:50:48 pm
Hi,

I'm finishing my first shop with KonaKart (the second will be soon), but I have a big problem with internet explorer.

My shop have a fixed width, everything is ok if you see it with mozilla, but with internet explorer it's a little mess  >:(

I tried some things I saw in Internet but it still failing.

By the way, this is my shop, it's not the best but here it is: www.gdonline.es

I hope you like it  ;D
5
Hi,

is there any way to overwrite getBillingFormattedAddress() and getDeliveryFormattedAddress() ?

I don't like the way the information is displayed and i like to change it, but I don't know what file should I write

Regards

David
6
Hi,

is there any way to search products in the shop looking for a custom field?

I saw the AdvancedSearchSubmitAction class but the SearchProductForm does not allow it

Regards

David
7
Hi,

I'm adding products to my shop, some of them are like this:

price ex. tax = 0
price with attribute1 = 0.60
price with attribute2 = 0.75
price with attribute3 = 1

the problem is that when I see the product in my shop only the price of the attribute3 is shown

any idea to solve it?

Regards

David
8
Miscellaneous / some help with HTTPS and SSL
December 18, 2007, 11:56:21 am
Hi, i'm finishing my site with KonaKart, now I'm trying to use HTTPS.

I saw the FAQ section and I changed the options to enable HTTPS (http://www.konakart.com/configurationfaq.php#SSL).

When I try to log in I can see the certificate, but it expired months ago. I wonder if somebody could explain how to change that certificate and put another one with my info.

Regards

David
9
Programming of KonaKart / Error when the order is saved
December 14, 2007, 08:12:24 am
Hi again  ;D

I have a little problem when I insert an order. I modified in CheckoutConfirmationSubmitAction.java a lot of things:

  • in the OrderProducts I save my own FinalPriceExTax, FinalPriceIncTaxPrice and Price

  • in the CheckOutOrder I use the custom1 field, and modify TotalExTax, TotalIncTax and the PaymentMethod field

  • I also modify the OrderTotals array using my own title, text and value



This is the error I've got when the order is saved:

Exception Name = com.konakart.app.KKException
Exception Message = org.apache.torque.TorqueException: java.lang.ArrayIndexOutOfBoundsException
Exception Stack Trace =
at com.konakart.app.KKEng.saveOrder(KKEng.java:1404)
at com.konakart.al.OrderMgr.saveOrder(OrderMgr.java:301)
at com.imatia.elastic.clienteTV.actions.CheckoutConfirmationSubmitAction.execute(CheckoutConfirmationSubmitAction.java:276)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

Exception Cause = org.apache.torque.TorqueException
at org.apache.torque.util.BasePeer.throwTorqueException(BasePeer.java:106)
at org.apache.torque.util.BasePeer.insertOrUpdateRecord(BasePeer.java:653)
at org.apache.torque.util.BasePeer.doInsert(BasePeer.java:531)
at com.konakart.bl.OrderMgr.saveOrder(OrderMgr.java:358)
at com.konakart.app.KKEng.saveOrder(KKEng.java:1397)
at com.konakart.al.OrderMgr.saveOrder(OrderMgr.java:301)
at com.imatia.elastic.clienteTV.actions.CheckoutConfirmationSubmitAction.execute(CheckoutConfirmationSubmitAction.java:276)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)


the problem is that I don't have these files: com.konakart.app.KKEng.saveOrder com.konakart.al.OrderMgr.saveOrder and I can't see where is the error. If somebody could see where is the problem in the original source or give me some clue...

Thanks in advance

David
10
Programming of KonaKart / use external payment details
December 03, 2007, 04:41:36 pm
Hi,

The payment method on my web depends on the customer who is logged in. I need to show in the page of the payment details some information picked up from an external aplication and after that I must save the selected option in the order. ¿is this possible?

regards

david
11
Miscellaneous / Documentation of KonaKart
November 30, 2007, 03:21:06 pm
Hi,

I was trying to search orders matching with orderStatus = 1, I tried a lot of combination and finally a could get the order I needed. This is what i did:

   bus.setOrderStatusId(1);
   bus.setCustomerId(-1);
   bus.setOrderId(-1);
   bus.setPurchaseDate(null);
   
   res = conKK.getOrders(sesionKK, bus, 0, 100, -1);

is there any place in the api or in the documentation of konakart where says that the correct parameters to do that search are those?

I think it should be in the api of konakart. Maybe you should put this information to do it easier

David
12
Hi again,

as I say other times, I am integrating KonaKart with an external ERP. The prices I show on the web are not the same prices that are on KonaKart database, I get them in real time from my application.

Now I'm working on the orders and I wonder if it's possible to save my special price on the database.

I tried it on OrderIntegrationMgr.java, with the methods of setFinalPriceExTax and setPrice of the OrderProductIf, but it doesn't work.

Regards

David
13
Programming of KonaKart / One Page Checkout code
November 27, 2007, 12:33:47 pm
Hi,

¿where is the source code for the One Page Checkout? I saw konakart-gwt-dev-kit.zip in the FAQ, ¿is this the code I should modify?

Regards

David
14
Programming of KonaKart / Extra job when showing prices
November 13, 2007, 12:27:26 pm
Hi,

I need to do some some extra things when I show the price of the products in KonaKart and I don't know how can I do that. I was thinking on overwrite the methods getPriceIncTax() and getPriceExcTax() but I don't know if I can do that because I don't know what class I must inherit from. Thanks very much in advance.

Regards,

David
15
I don't know if I'm doing something wrong, but maybe this could be an error.

I need to find a product for a custom field. First I tried it with the searchForProducts method, I've got an AdminProduct with the product I need, but the field categories is null ¿?

if I use the getProduct method with the ID i've got in the first step I've got the product again, with the same information, but with the correct categories field.

bye
16
Programming of KonaKart / Problems with insertProduct
October 22, 2007, 09:08:49 am
Hi,
I have a problem when I try to insert a product on KonaKart. This is the error i've got:

Quotejava.rmi.RemoteException: The String parameter called description must be given a value. It cannot be set to null or be left empty.<br>Exception Stack Trace = <br>   at com.konakartadmin.bl.AdminBaseMgr.checkRequired(AdminBaseMgr.java:266)<br>   at com.konakartadmin.bl.AdminProductMgr.validateProduct(AdminProductMgr.java:661)<br>   at com.konakartadmin.bl.AdminProductMgr.insertProduct(AdminProductMgr.java:103)<br>   at com.konakartadmin.bl.KKAdmin.insertProduct(KKAdmin.java:2257)<br>   at com.konakartadmin.ws.KKWSAdminSoapBindingImpl.insertProduct(KKWSAdminSoapBindingImpl.java:1126)<br>   at .........


I think that I fill all descriptions of the product but I don't understand that error. This is a piece of my source code:

QuoteAdminProduct articulo = new AdminProduct();

      //Categorías
      AdminCategory[] categorias = new AdminCategory[numCategorias];
      
      AdminCategory cat = new AdminCategory();
      for(int i=0; i<numCategorias; ++i){
         cat = port.getCategory(((Number) idCategorias.get(i)).intValue(), false, 1);
         categorias=cat;
      }
      
      //categorias[0] = port.getCategory(5,false,1);
      articulo.setCategories(categorias);
      
      //Descripción
      AdminProductDescription[] desc = new AdminProductDescription[3];
      desc[0] = new AdminProductDescription();
      desc[0].setLanguageId(1);
      desc[0].setName((String) res.get(DESC_ARTICULO));
      desc[0].setDescription((String) res.get(OBSERVACIONES));
      desc[1] = new AdminProductDescription();
      desc[1].setLanguageId(2);
      desc[1].setName((String) res.get(DESC_ARTICULO));
      desc[1].setDescription((String) res.get(OBSERVACIONES));
      desc[2] = new AdminProductDescription();
      desc[2].setLanguageId(3);
      desc[2].setName((String) res.get(DESC_ARTICULO));
      desc[2].setDescription((String) res.get(OBSERVACIONES));
      articulo.setDescriptions(desc);
      articulo.setDescription((String) res.get(DESC_ARTICULO));


Regards

David
17
Hi again,

I'm adding new products to KonaKart throw the WebService API, but I get this error when I try to upload something:

java.rmi.RemoteException: The String parameter called name must be given a value. It cannot be set to null or be left empty

This is part of my code, as you see I insert the parameter called name. I don't know if there is another name I must include:

articulo.setName("Unbelievable");
...
...
...
port.insertProduct(sesion, articulo); ->Error

Thank you in advance

David
18
Miscellaneous / Confusion with names
October 05, 2007, 08:29:14 am
Hi, I am adding new clients throw the web service API.

To add a new zone I must find it with methods like getZone and objects like AdminZoneSearch or AdminZoneSearchResult. But when I want to add it to KonaKart I must use a method named setState  ???

I think it's a bit confusing, maybe it sould be better if you change the name of the method to setZone (I needed 30 minutes to see it :D)

Regards

David
19
Hi again!!

I have another doubt, now with the parameters of getCountries() function on KKAdminIf. This is the API:

QuotegetCountries

AdminCountrySearchResult getCountries(AdminCountrySearch search,
                                      int offset,
                                      int size)
                                      throws KKAdminException

    This returns an AdminCountrySearchResult object.

    Parameters:
        search -
        offset - the offset in the db
        size - the number of records from the specified offset
    Returns:
        Returns an AdminCountrySearchResult object
    Throws:
        KKAdminException


I fill the AdminCountrySearch with one parameter, in this case TwoLetterCode("ES") but I don't know what are the offset and the size of that call. I tried with 0, 1, the lenght of the countries list....but I never got anything on the results array. ¿I'm doing something wrong?
20
Configuration of KonaKart / Change Customer Details
October 03, 2007, 09:14:50 am
Hi,

I have a little problem with customers details. I used the configuration on KonaKart Admin to uncheck all the values of gender, date of birth, state...

Now I need to add a new customer to KonaKart using SOAP, I use the function public int registerCustomer(java.lang.String in0, com.imatia.elastic.cliente.tienda.webServices.AdminCustomerRegistration in1) throws java.rmi.RemoteException; but I've got this error:

AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.rmi.RemoteException: Exception caught in registerCustomer(); nested exception is:
java.lang.Exception: com.konakartadmin.app.KKAdminException: The Date parameter called birthDate must be given a value. It cannot be set to null.


Maybe I need to change this options in other place to use them with soap, or maybe I have to use another funcion, I'm not sure ¿¿some help??

Thanks

david