• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

JoeB
#1 Posted : Thursday, April 26, 2007 11:38:21 AM(UTC)
JoeB

Rank: Member

Joined: 2/3/2004(UTC)
Posts: 111

Good morning.


On the product detail page, we're seeing a javascript error when we are choosing product modifiers which add costs. What used to happen is we would choose an option and it would redisplay the new calculated cost on the product detail page.



To see an example of the error please visit: http://208.74.83.11/Products/NEC-DVDCD-Sharkcopier-Tower-Duplicators__SK-NEC.aspx Then choose any option with an additional cost. The page will not change. In IE7, bottom right, we will see the javascript error message. Double click on the yellow icon and the error message will display.



Background:

<UL>
* We are upgraded to BV5 SP2. (Thanks to Justin's help)

* We are using the BVC2004 Product template for the products

* Each option whether radio button or drop down is using a product modifier with pricing

* When you add items to the cart, it IS adding the costs

* Prices are set in the MSRP, Cost, and Retail fields, Text is blank

* The javascript error states:

<UL>
* Line: 258

* Char: 5

* Error: 'null' is null or not an object

* Code: 0

* url: http://208.74.83.11/Products/NEC-DVDCD_Sharkcopier_Tower_Duplicators__SK-NEC.aspx
</UL>
* On another note, we had custom code for this. I have backed it out and recopied from the sp2. /BVModules/ProductTemplates/BVC 2004 Layout
</UL>


Thanks!

Joe
jetheredge
#2 Posted : Thursday, April 26, 2007 12:01:32 PM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

In firebug I am getting this...

form has no properties
Anthem_SetHiddenInputValue(null, "__EVENTTARGET", "ctl00$MainContentHolder$VariantsDisplay$modifierTemplate1$ModifierRadioButtonList$1")WebResource.axd (line 257)
Anthem_FireEvent("ctl00$MainContentHolder$VariantsDisplay$modifierTemplate1$ModifierRadioButtonList$1", "", function(), null, true, true)WebResource.axd (line 283)
Anthem_FireCallBackEvent(input#ctl00_MainContentHolder_VariantsDisplay_modifierTemplate1_ModifierRadioButtonList_1 93800b1b-433d-4ba6-a..., click clientX=0, clientY=0, "ctl00$MainContentHolder$VariantsDisplay$modifierTemplate1$ModifierRadioButtonList$1", "", false, "", "", "", true, null, null, null, true, true)WebResource.axd (line 575)
AnthemListControl_OnClick(click clientX=0, clientY=0, false, "", "", true, null, null, null, undefined, undefined)WebResource.axd (line 610)
onclick(click clientX=0, clientY=0)

It appears that the form parameter for a lot of these values is being passed as null. The SetHiddenInputValue is throwing an error when it tries to access this first Parameter. I'm not sure why these are showing up as null though. Let me try and contact Andy Miller (since he is the Anthem guy) and see if he has an idea as to what the error may be before I start trying to chase this one around.
Justin Etheredge
Senior Software Engineer
BVSoftware
Andy Miller
#3 Posted : Thursday, April 26, 2007 1:59:53 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
It looks like there is a very old version of Anthem on that site.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2025 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012