• Welcome to KonaKart Community Forum. Please login or sign up.
 
March 07, 2026, 09:11:41 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 - sashwill

16
Programming of KonaKart / Import export tool
March 20, 2009, 09:26:49 pm
I'm using the import_export tool but I have found that it will not allow me to place a product into more than one category like I can do from the admin app.  Am I doing something wrong or is this a limitation of the tool.
(I am still using ver 2.2.6)
17
Since custom1 is already searchable in the app, I just added the descriptor that I wanted to identify the product to the custom1 field.  Its a bit of data duplication, but seems to work OK for me.
18
After a few weeks of digging, I finally discovered the answer.

You have to add:
<action path="/NavigateProd"/>
<action path="/NavigateAllOrders"/>

to the <portlet-url-type> tag in the struts-portlet-config.xml file and add redirect="true" to the forwards in the struts-config.xml

Here is a good resource for helping to understand the struts-portal-bridge
http://www.ja-sig.org/wiki/display/PLT/Struts+Bridge
19
Using KonaKart as a Portlet / Portal RoleManager
November 11, 2008, 05:06:59 pm
I can't seem to find a way to get the Jetspeed RoleManager.

I've tried to follow the steps outlined at:
http://portals.apache.org/tutorials/jetspeed-2/05/jetspeed-service.html
but i get hung up in a couple spots...
QuoteEdit the jetspeed-portlet.xml found in src/webapp/WEB-INF/

and
roleManager = (RoleManager) getPortletContext().getAttribute(
CommonPortletServices.CPS_ROLE_MANAGER_COMPONENT);


can't seem to find the jetspeed-portlet.xml, would i just add one and if so is there any config that needs done

then on the Role manager code how do i get the portlet context since this is not a  javax.portlet.ActionRequest?
20
I had to do this to get some details about a product:
ProductIf product = kkAppEng.getEng().getProduct(getSessionId, productId, LangId);

It seems some of the fields are not populated unless they come straight from the konakart eng.

don't know if this is your case or not.
21
I tested it on the demo at
Quotehttp://www.konakart.com/jetspeed/portal/

and the same problem happens.  Once you get over 20 orders the next button will not display the remaining orders.

I have also noticed that the next button for catalog items will not advance to the next group either.
22
QuoteOrderIf order = kkAppEng.getOrderMgr().getCheckoutOrder();
            System.out.println(order.toString());
            OrderProductIf[] op = order.getOrderProducts();
            for (OrderProductIf a : op) {
                System.out.println("custom1 =" + a.getCustom1());
                System.out.println("custom2 =" + a.getCustom2());
                System.out.println("custom3 =" + a.getCustom3());
                System.out.println("custom4 =" + a.getCustom4());
                System.out.println("custom5 =" + a.getCustom5());
              }

Looking at the above code, the order.toString() prints all the custom values for the order but not for the product and I've verified that the orders table in the database contains the values.  However all println prints all the custom values as null while other things such as name and price and quantity are correct.  Can someone tell me why?
23
I should add that i've tried this:
Quoteorder.setCustom1(sb.toString());
order.setCustom2(ccForm.getApprover());
int orderId = kkAppEng.getOrderMgr().saveOrder(/* sendEmail */false);

This created a new order id and I assume that is not what's intended, although it does save the custom1 and custom2 information.

I had hoped that by setting the payment details, the associated columns in the order would be updated.
24
How do I save the payment details in the database?
After the order is created in CheckoutConfirmationSubmitAction, the payment details are blank.( cc_type, cc_owner, custom1, custom2) as I believe they should be because nothing has been entered yet.  I go through the payment module I wrote to gather the required info and it shows up if I do a order.toString(), but it never makes it to the database.  I tried adding the following:
order.setPaymentDetails(pd);
and
int orderId = kkAppEng.getOrderMgr().saveOrder(/* sendEmail */false);   
but neither modifies the order in the database.
What am I missing?

   
25
Programming of KonaKart / payment module selection
October 27, 2008, 09:39:18 pm
Is it possible to present a different list of payment modules depending on who the customer is or what group they belong to?
26
Programming of KonaKart / vendor punchout
October 27, 2008, 09:15:46 pm
How would you go about doing a punchout?

We want to be able to have a user click on a link that takes them to the Dell website, they build the computer on the Dell site and then  the order is placed by importing it back into the Konakart? 

Does this sound doable?

27
I think I found the problem.

I was using Netbeans to import the wsdl and I think it uses JAX-RPC to create the client side objects.
When I borrowed the soap demo build script and used it to create the client side, everything started working.
28
I'm making a little progress since it will log in and return the session id but then i get this error when I try the next method call
Quotejava.rmi.RemoteException: Runtime exception; nested exception is:
        deserialization error: java.lang.NumberFormatException: For input string: ""


Is there a configuration file that needs to be changed for the adminapp soap to work?  If so , where is it located?
29
Once you get over 20 is where the problem is happening for me. 
30
Well, those aren't the actual values, but yes.  I can log into the konakartadmin by cutting and pasting the exact text that the program is trying to use.