aspdotnetstorefront Bug on Order Notes not saving.

by daz 1/18/2011 12:24:00 AM

The cart doesn't seem to be saving order notes for aspdotnetstorefront admin Sp1. code was missing from the shoppingcart.aspx.cs file. So in order for you to fix this bug,

Just insert the following

if (!AppLogic.AppConfigBool("DisallowOrderNotes"))
{
  if (OrderNotes.Text.Trim().Length > 0)
  {
SqlParameter sp = new SqlParameter("@OrderNotes", SqlDbType.NText);
sp.Value = OrderNotes.Text.Trim();
SqlParameter[] spa = { sp };

ThisCustomer.UpdateCustomer(spa);
  }
}

 

Under the following

 

 UpdateCartQuantity();

            // save coupon code, no need to reload cart object
            // will update customer record also:
            if (cte == CartTypeEnum.ShoppingCart)
            {
                cart.SetCoupon(CouponCode.Text, true);

Comments (2) -

1/18/2011 4:48:48 PM

nike scuba

Google Checkout works accurately with real time shipping rates.
curt

nike scuba Switzerland

1/24/2011 7:02:22 PM

Craig Higdon

Thank you for sharing your fix with the community!  

This is a known bug for us and we're working to get it fixed with our next release.

Thanks again for your support of AspDotNetStorefront.

Craig

Craig Higdon United States

About the author

Name of author
DavidZ
.Net Programmer
E-mail me Send mail
WebHosting Canada USA

Partners

Espace d'échange rencontre burkinabés

Recent comments

Archive

Authors

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2012

Sign in