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);

aspdotnetstorefront sp1 Allow Entity Filtering Bug

by daz 1/12/2011 5:37:00 AM

 

I have discover this Bug in the lateswt release of storefront Multi-store

By putting this here i hope it will help all developers before they struggle.. Anyway i hope this is only for multistore. When you create  multiple Departement or categories in storefront you will see that your left menu navigation display all category and maybe department no mater the store or skinId you have it set.

The solution is to change  "AllowEntityfiltering"  from

bool AllowEntityFiltering = AppLogic.AppConfigBool("AllowEntityfiltering"

); to "AllowEntityFiltering"

you are smart enough to see the upper case "F" changes.

you can find this under . It is case sensitif. You will find it on this class 

AspDotNetStorefrontControls/EntityControl

 

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