BTO Price Problem |
Post Reply | Page 12> |
Author | |
john123
Newbie Joined: 09-January-2008 Location: Canada Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 09-August-2008 at 3:18pm |
configurePrdCode - 3102 lines calculate.js - 932 lines
|
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
Hmm, well that points to a file versions problem as your copy of includes/calculate.js HAS got the variable.
I've just compared the versions of configurePrdCode versions :- V311 - 3102 lines V312 - 3315 lines and calculate.js in includes/javascript :- V311 - 865 lines V312 - 932 lines Which one if either do your versions match? |
|
john123
Newbie Joined: 09-January-2008 Location: Canada Status: Offline Points: 2 |
Post Options
Thanks(0)
|
I searched for the string "defitemscount" and it is not there in the file |
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
Oops - make that defitemscount
|
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
Has your live copy of configurePrdCode.asp got the string "!defitemscount" in it?
|
|
john123
Newbie Joined: 09-January-2008 Location: Canada Status: Offline Points: 2 |
Post Options
Thanks(0)
|
Yes, the price would change dynamically whent the products were selected.
|
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
I guess the other question is - was this working before you made & backed out the change?
|
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
Hi John,
I think defitemscount is a new variable - Have you had any updates/upgrades since your original files? It should be in the copy of configurePrdCode that you are using. If not then there is a mismatch between that and the version of calculate.js that is throwing the error. |
|
john123
Newbie Joined: 09-January-2008 Location: Canada Status: Offline Points: 2 |
Post Options
Thanks(0)
|
Hi Hamish, I copied back the original files that were given to me when I purchased the BTO upgrade. How do I fix the "defitemscount is not defined"?
John
|
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
Hi John,
Are you 100% certain you put back the original versions of the code? BTW - The error on the page is "defitemscount is not defined" |
|
Post Reply | Page 12> |
Tweet
|
Forum Jump | Forum Permissions 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 |