HomeHome Product Discus... Product Discus...SmithCartSmithCartNew Detail Module Page in SC 3.8.5 not displaying variant imagesNew Detail Module Page in SC 3.8.5 not displaying variant images
Previous
 
Next
New Post
10/11/2010 2:07 PM
 
It used to be that on the product detail page in the last version, a visitor would choose a different color from the dropdown on the product detail page and the image for that color would display.

Did this (ajax?) feature not get moved over the new detail page module? Is the old way completely gone with the new version?

 
New Post
10/11/2010 2:14 PM
 

No that feature should still be there in v3.85. Can you confirm in your host -> module definitions for the product detail module that the "Supports Partial Rendering" box is checked?

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
10/11/2010 2:33 PM
 
Scott:

The checkbox in Host>Module Definitions>Smith.ProductDetail>Module Settings for ProductDetail.ascx>Supports Partial Rendering is checked.

Guy
 
New Post
10/11/2010 2:44 PM
 
Scott:

There's an exception being thrown when I try to select a different variant. I've seen it "most" if not all of the times I try to change variant on color. Here it is:

AssemblyVersion: 5.5.0
PortalID: 0
PortalName: Anywear Clothing
UserID: 1
UserName: host
ActiveTabID: 70
ActiveTabName: Detail
RawURL: /Detail.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://.com/Detail.aspx
UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 23b9b591-9c15-4856-81e6-071d721528f4
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.ProductDetail.ProductDetails.ddl_SelectedIndexChanged
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.ProductDetail.ProductDetails.ddl_SelectedIndexChanged(Object sender, EventArgs e) at System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs e) at System.Web.UI.WebControls.DropDownList.RaisePostDataChangedEvent() at System.Web.UI.WebControls.DropDownList.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent() at System.Web.UI.Page.RaiseChangedEvents() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Did the data model change from 3.8.1 to 3.8.5?

Regards,
Guy

 
New Post
10/11/2010 4:33 PM
 

No i dont think the data module changed but you can try to go in a re-save your variants for one of your products to see if that fixes it.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
10/11/2010 7:17 PM
 
Scott:

Do you have a full-time tester on staff? Gotta ask. Might be something to think about.

I removed all the product, category and variant data. I loaded it back up again. Same problem.
Next I went into the Variants section of your UI and did a resave as you suggested. We are still seeing the same exception as posted earlier in the thread. Looks like you have a bug in your ddl_SelectionChangedEvent member function.

This is a mainstream use case. Buyers have to be able to select a color. I've done enough testing for you. Can you check it on your side now?

Regards,
Guy
 
New Post
10/12/2010 12:13 PM
 

I will test this out on my test portal and let you know if I can replicate.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
10/16/2010 9:52 AM
Accepted Answer 
FYI. I had to uninstall SmithCart, remove all remnants of its database objects (this is best done with a stored procedure to remove the objects prefixed with "Smith_"), reinstall 3.86 and reload the product and variant information. Second time for this reinstall on this project.

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartNew Detail Module Page in SC 3.8.5 not displaying variant imagesNew Detail Module Page in SC 3.8.5 not displaying variant images