Problem:
No product is displayed when i click at any 'Category Name' at left menu of dashCommerce site. I am using dashCommerce3 Source package. Just a messge 'Showing 1-4 of 4 Results' is displayed. Where are products description and their images??? :(
when i tried to access Product's page by typing product url(with its ID) in browser, I got the following error message
Line 256: Sku sku = new Sku("Sku", skuId); Line 257: if(sku.SkuId > 0) { Line 258: if ((!ThisPage.Product.AllowNegativeInventories) && (sku.Inventory > 0)) { Line 259: string previouslySelectedValue = ThisPage.Quantity.SelectedValue; Line 260: ThisPage.Quantity.Enabled = true; |
Source
File: e:\Waqas
Dar\days\03-06-2008\dc_3.0_Source_B\Web\controls\attributeSelector.ascx.cs
Line: 258
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] MettleSystems.dashCommerce.Web.controls.attributeSelector.GetInventory(String skuId) in e:\Waqas Dar\days\03-06-2008\dc_3.0_Source_B\Web\controls\attributeSelector.ascx.cs:258 MettleSystems.dashCommerce.Web.product.LoadProduct() in e:\Waqas Dar\days\03-06-2008\dc_3.0_Source_B\Web\product.aspx.cs:260 MettleSystems.dashCommerce.Web.product.Page_Load(Object sender, EventArgs e) in e:\Waqas Dar\days\03-06-2008\dc_3.0_Source_B\Web\product.aspx.cs:132 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +47 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
|
kindly tell me, how to display products.
Note: I also used dashCommerce3 WebReady package. It works fine and display all products efficiently with their images and name,description etc.
But Source package doesn't:(
Best Regards,
Waqas dar