Hello
When I'm viewing a product I'm noticing the following text right below the "Add to Wishlist" and "Add to Cart" button.
[[ConLib:BuyProductDialog]] Object reference not set to an instance of an object.
I haven't been able to figure out what's causing this to show up. Anybody have any ideas on what's causing this?
Thanks!
Problem in BuyProductDialog
-
- Lieutenant, Jr. Grade (LT JG)
- Posts: 21
- Joined: Tue Mar 03, 2009 10:49 am
Re: Problem in BuyProductDialog
Do you have any customization on your product details page or any custom component placed over product details page?
-
- Lieutenant, Jr. Grade (LT JG)
- Posts: 21
- Joined: Tue Mar 03, 2009 10:49 am
Re: Problem in BuyProductDialog
I found the problem.
I had some customizations in BuildProductChoices() where I was searching for a control and then setting the visibility. However I wasn't checking for null before setting the visibility. Once I added a check the error went away.
I had some customizations in BuildProductChoices() where I was searching for a control and then setting the visibility. However I wasn't checking for null before setting the visibility. Once I added a check the error went away.
Re: Problem in BuyProductDialog
sounds good