KonaKart Community Forum

Installation / Configuration => Configuration of KonaKart => Topic started by: fizzlepop on December 06, 2010, 03:00:13 pm

Title: Disabling "One Page Checkout" requires customer to log in to place order
Post by: fizzlepop on December 06, 2010, 03:00:13 pm
Hello,

I am using konakart 4.2.0.1 with "Enables Checkout Without Registration" set to true, and "Enables One Page Checkout" set to false.  However, whenever I add an item to the cart and attempt to checkout I am redirected to the login page.  Looking at the code of CheckoutDeliveryAction.java, I see the following Java code:


            // Check to see whether one page checkout is enabled
            boolean onePageC = isOnePageCheckout(kkAppEng);

            // Check to see whether the user is logged in unless we allow one page checkout
            if (!onePageC)
            {
                custId = this.loggedIn(request, response, kkAppEng, "CheckoutDelivery");
                if (custId < 0)
                {
                    return mapping.findForward(loginForward);
                }
            }


What is the proper way to modify this Action class such that is allows Checkout Without Registration?

Thanks.
Title: Re: Disabling "One Page Checkout" requires customer to log in to place order
Post by: fizzlepop on December 07, 2010, 04:49:46 pm
Let me summarize, since no one has replied.

The "Enable Checkout Without Registration" setting DOES NOT WORK if you set "Enable One Page Checkout" to FALSE.

Title: Re: Disabling "One Page Checkout" requires customer to log in to place order
Post by: trevor on December 09, 2010, 06:02:21 pm
You could add JSPs and Action Classes to make it work. The reason it doesn't work is that checkout without registration has only been implemented in the Google GWT One Page Checkout code.