disable steps in checkout

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
15 years ago
Just downloaded the new version and still no luck........
I am surprised One Page Checkout wasn't added
15 years ago
One Page Checkout wasn't added
15 years ago
Hi njdave71

I have been using VWD, however I got advise from this forums, that once you have amended the code (source version) you need to recompile the application using Visual studio.  VWD does not support the 'publish' feature to recompile the application , however you can download a 90 day free trial of visual studio 2010 from the MS website,.
15 years ago
Thank you for the Tip....
15 years ago
How do I keep the default Billing and Skip this step.

I just need Shipping address on Checkout to complete an order.
15 years ago
My scenario was a little different, but here is how I solved it.

Problem:
Some products are for $0.  This means that it is possible to complete the checkout process with a $0 shopping cart.  I needed a way to prompt for payment only if the shopping cart subtotal was greater than zero.

Solution:

Check the subtotal of the cart.  If it is zero, then create a mock placeholder for the payment info and store it into the session needed by the confirm page.  NOTE: My PaymentMethodID is 9 by default which is CreditCard.  You may choose any valid PaymentMethodID.  The ID can be found in the Admin Tool by hovering over the "Edit" link of your payment methods.

/Modules/CheckoutShippingMethod.ascx.cs

protected void Page_Load(object sender, EventArgs e)
        {
            if ((NopContext.Current.User == null) || (NopContext.Current.User.IsGuest && !CustomerManager.AnonymousCheckoutAllowed))
            {
                string loginURL = CommonHelper.GetLoginPageURL(true);
                Response.Redirect(loginURL);
            }

            Cart = ShoppingCartManager.GetCurrentShoppingCart(ShoppingCartTypeEnum.ShoppingCart);
            if (Cart.Count == 0)
                Response.Redirect("~/ShoppingCart.aspx");

            // ADDITION If the shopping cart sum is 0, then skip the payment info page and go straight to confirm.
            if (ShoppingCartManager.GetShoppingCartSubTotal(Cart, NopContext.Current.User) == 0)
            {
                // Create the payment info object and store in the session needed by the confirm page
                PaymentInfo pInfo = new PaymentInfo();
                pInfo.PaymentMethodID = 9;
                this.Session["OrderPaymentInfo"] = pInfo;
                Response.Redirect("~/CheckoutConfirm.aspx");  // Skips the Payment screen
            }
            // END ADDITION
15 years ago
.
15 years ago
Any one did disabled Billing Address?
15 years ago
i think its on the roadmap for the next release, it might even have been done - you should check out (excuse the pun) codeplex
15 years ago
Hey all.

Like others, I'd like to get rid of the billing address altogether.

I am just selling digital downloads and memberships. All I need is the payment info...

Can someone PLEASE help??

All of us would appreciate any advice on this one... as everyone wants an expedited checkout.

Other than that... I'm loving nc.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.