• Welcome to KonaKart Community Forum. Please login or sign up.
 

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 - MikaRinne1970

1
I got it working!

I checked CheckoutDeliveryAction and realised that I have to create the shipping quotes before inserting one into the check out order:

// Get shipping quotes from the engine
                kkAppEng.getOrderMgr().createShippingQuotes();

                // Get shipping quotes for the order and choose the first one in the list for this order
                ShippingQuoteIf[] sQuotes = kkAppEng.getOrderMgr().getShippingQuotes();
                if (sQuotes != null && sQuotes.length > 0)
                {
                   checkoutOrder.setShippingQuote(sQuotes[0]);
                   System.out.println("shipping = " + sQuotes[0]);
                }
               
                // Populate the checkout order with order totals
                kkAppEng.getOrderMgr().populateCheckoutOrderWithOrderTotals();     

Many thanks!

Konakart is kewl  8)
2
Thanks for the pointer! I will look into it!

Many thanks
3
If you are doing about the same and it's working, I'd be happy to know about it.
If you are doing something different, please infom.

Thanks again
Mika
4
Hi

I'm customly populating the order from the basket but somehow I don't think I get the shipping cost populated correctly

I'm doing this:
// Attach the shipping quote to the order
kkAppEng.getOrderMgr().addShippingQuoteToOrder("quoteflat");

(Flat shipping configured via admin)

// Populate the checkout order with order totals
kkAppEng.getOrderMgr().populateCheckoutOrderWithOrderTotals();   

Am I missing something ?

Many thanks in advance,
Mika

5
Well, I Just commented that out and this seems to work on all browsers I tested

DigitalDownloadAction.java:

  // Download as an attachment if configured to do so
  //if (kkAppEng.isDdAsAttachment())

Thanks!
6
Maybe you can help me out here.

What do I need to change to have the file downloaded with it's name instead of name "download.do" ?

Like said I'm using the out-of-the-box functionality for this.

What is this "Download as an attachment" ?

Many thanks

7
Thanks for the pointer Julie, I will look into it.

I haven't touched it yet at all

Mika
8
Guys,

when clicking the digital download (in any broser) it shows

"download.do"

as file name for downloading. Not very convenient.

How can I cange this to set the actual filename e.g. my "software.exe" for downloading it ?

Thanks in advance!
9
Programming of KonaKart / Building a pilot
May 15, 2012, 07:48:37 pm
Hi,

I've been working Konakart with eclipse, tomcat and postgres now for a while and enjoyed it!

So far I've been able to customize things I've wanted inlcuding JSPs, custom logins etc.

But now I run into something I need help with, hope you can guys help me out.

The questions is how to customize the OnePageCheckoutBody.jsp ?

I'd like to hide some options from the user, but for some reason this page seems to be
different from other JSP's in this respect; the layout just isn't there, only some values ?

Where does it come from? (Hope the question isn't completely stupid, eh)

Also, if you happen to know what are the required parameters for the order submit,
that would awesome. Namely I'd like to hide payment and address options since the
content is downloadable (digital) and for free.

I played with the page but I always keep coming back to it; CheckoutConfirmationSubmit.do
seems to take me always back to the page or least the order isn't submitted.

A sample would be fantastic!
Many thanks,

Mika
Espoo, Finland