HomeHome Product Discus... Product Discus...SmithCartSmithCartAnomalies in latest releaseAnomalies in latest release
Previous
 
Next
New Post
5/19/2011 4:30 PM
 

I'm seeing a couple of interesting anomalies in the latest release:

I have Smith.FeaturedProducts module on my home page.  I have 2 featured products, one of which has options.  The featured product with options has a "Select" button (as opposed to an "Add to Cart" button, or the previous label "Options").

When a user clicks the "Select" button for the featured product... I get a nonsense display and the following URL shown in the browser:

http://store.xyz.com/Default.aspx?tabid=116&error=Unable+to+cast+object+of+type+'System.Web.UI.WebControls.LinkButton'+to+type+'System.Web.UI.WebControls.Button'.&content=0

(bolding mine, the xyz.com is my correct domain, simply hidden for this post.  The rest... exactly as shown above)

Also... users are not prompted to login -- Even if I set "must be logged in to add to cart."  I *am* using Dynamic Login from Data Springs (in fact, I discovered your cart via their site).. could this be related?

Thanks for whatever help you can provide,

Peter

 
New Post
5/19/2011 10:42 PM
 
The select or options button is only displayed when you have product variants defined for a product that require you to go to the product detail page to select the variant before adding to the cart. On the featured products module we will change the value in the resx to options so its consistent with the options button in the buynow module. All the button text is localized in resx files so its easily changed by modifying the resx file for the page. Also we will try to replicate the error you reported clicking the select button on the featured products module and report back with your findings

Thanks for your feedback!
Dave

At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
5/20/2011 2:20 PM
 
Hi Peter,

I just tried to re-produce this error with the Smith.FeaturedProducts module on my test portal and was unable to recreate the error but I may not have the exact same configuration as you. Have you configured the settings for the module for BuyNow Page Name and Product Detail Page Name?

Thanks, Kevin
 
New Post
5/22/2011 12:36 PM
 
Hi Kevin,

Thanks for the rapid follow-up.

Yes, both the "buy now" and "product detail" pages are configured. I even (just now) deleted and re-installed the FeaturedProducts module on the home page. Repros every time.

There are two featured products in my store: One without any variants, the other with 2 variants.

The product with no variants work correctly from the FeaturedProducts display. The button shows "Add to Cart" and clicking this puts the product in the shopping cart and brings me to a page showing the cart and asking for my shipping info. This is all as it should be (though, it SHOULD be asking me to login.. but that seems to be a separate problem).

For the product with variants, the button reads "Select" -- Clicking it causes a bad display on the current (home) page with the URL containing the error message I listed above. Clicking on the product picture brings me to the product details page, as it should. From the product details page, I can select either variant and click "Add to Cart" and the works as expected.

As additional information: From the product listing page, clicking "Add Options" for the product with variants that is also a featured product also results in things working as expected (I'm taken to the product details page and can then select which variant to order).

This does happen regardless of the browser I use.

There are two product variants, no conditionals, and they are quite ordinary (one adds 2 ounces and $5 to the price, the other has no shipping or weight impact). They are set "required."

Adding the same variants (copying the variants) to the other featured product causes the same behavior -- that is, a "select" button is shown and clicking it causes the browser mess previously described, with the same message.

Adding a new (different) set of variants to the other featured product ALSO causes the bad behavior.

This is quite troublesome. Please let me know if there's anything else I can do to help you repro the problem. Sadly, the site is NOT available on the itnernet.

Peter
 
New Post
5/23/2011 3:16 PM
 
Hi Peter,

I have been able to replicate the error when you click on select for m the featured products module and have sent it into programming. I will post back with an update.

Thanks, Kevin
 
New Post
5/23/2011 7:01 PM
 

Hi Peter,

Here is the hotfix to fix the issue with the featured products module. Please copy this file to the /bin directory on your server.

Thanks, Kevin

 
 Login to download attachment
New Post
5/24/2011 8:59 AM
 
Wow... you guys are FAST.

Thanks... I can confirm that this update does indeed fix our problem.

I see several other hotfixes have been issued in the past week. At some point do you guys release a "hot fix accumulator" or "service pack" or something that'll allow all of us to get on the latest and greatest and avoid encountering each of the problems that have already been discovered, rare though they may be?

Peter
 
New Post
5/24/2011 2:29 PM
 
Hi Peter,

All of the the hotfixes are added to the most recent build of the full version. You can download the full version and when installing use the repair option. Or do a clean install with data backup as described on this forum post: http://www.smith-consulting.com/Forums/forumid/13/postid/3931/scope/posts.aspx

Thanks, Kevin
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartAnomalies in latest releaseAnomalies in latest release