HomeHome Product Discus... Product Discus...SmithCartSmithCartv 4.38. "Clear cart" button throws an exceptionv 4.38. "Clear cart" button throws an exception
Previous
 
Next
New Post
6/28/2011 2:50 PM
 
Hi,

I'm using DNN 5.6 and SC 4.38.

When I add one item to the cart then click on "clear cart", an exception is thrown. Here is the event viewer. Please advise, thanks.


AssemblyVersion: 5.6.2
PortalID: 0
PortalName:
UserID: -1
UserName:
ActiveTabID: 61
ActiveTabName: Online Store
RawURL: /OnlineStore/tabid/61/ctl/Cart/mid/460/Default.aspx
AbsoluteURL: /Default.aspx
UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: aca5a264-88ca-4e4b-a1d2-2a7d051387d8
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.Cart.GetHandlingCharge
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Smith.DNN.Modules.BuyNow.Cart.GetHandlingCharge() at Smith.DNN.Modules.BuyNow.Cart.GetTotalAfterTax() at Smith.DNN.Modules.BuyNow.Cart.UpdateTotalLabel() at Smith.DNN.Modules.BuyNow.Cart.btnClearCart_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
 
New Post
6/28/2011 10:37 PM
 
Hi Daniel,

It looks like this may be an issue with your handling setup. How do you have your shipping and handling configured? Could you post a screenshot if possible?

Thanks
 
New Post
6/29/2011 12:44 AM
 
Attached are screenshots of shipping/handling setup. Hope this helps.

 
 Login to download attachment
New Post
6/29/2011 1:46 AM
 
Hi Daniel,

I think the issue seems to be with the "Charge Handling for Selected Products Only" feature. I have sent this into programming and i will post back when an update is ready.

Thanks
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartv 4.38. "Clear cart" button throws an exceptionv 4.38. "Clear cart" button throws an exception