Print Page | Close Window

BTO Price Problem

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart Build To Order
Forum Name: Customizing BTO
Forum Description: Interact with other users, resellers and developers about customizing BTO
URL: https://forum.productcart.com/forum_posts.asp?TID=1888
Printed Date: 31-May-2024 at 2:27pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: BTO Price Problem
Posted By: john123
Subject: BTO Price Problem
Date Posted: 09-August-2008 at 7:10am
Hi,
 
Not sure what happened but the customized price is not being updated in the configuration page when selecting the products.  The BTO product is $0 but the item prices have their amounts.  Even when added to the cart, the subtotal price is $0.  It was working before.
Any idea what happeneed?
 
John
 



Replies:
Posted By: Hamish
Date Posted: 09-August-2008 at 8:59am
Hi John,
  The only time I have seen this is after I made a mistake when customizing the page.
Have you made any changes to code or the product? Can you provide a link.



-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: john123
Date Posted: 09-August-2008 at 9:41am
Hi Hamish,
 
I did change the "configurePrdCode.asp" page to hide the BTO prices.  I saw the code change in posting you said a while back.  I decided to change it back and show the BTO prices so I put back the original file.  I also verified that all the other BTO files are correct.
 
There is an "error on page" message on the bottom left corner of the page after I select one of the combinations.
 
I can send you a link in PM.
 
John


Posted By: Hamish
Date Posted: 09-August-2008 at 10:11am
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"

-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: john123
Date Posted: 09-August-2008 at 10:18am

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
 


Posted By: Hamish
Date Posted: 09-August-2008 at 12:39pm
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.


-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: Hamish
Date Posted: 09-August-2008 at 12:58pm
I guess the other question is - was this working before you made & backed out the change?


-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: john123
Date Posted: 09-August-2008 at 1:09pm
Yes, the price would change dynamically whent the products were selected. 


Posted By: Hamish
Date Posted: 09-August-2008 at 2:24pm
Has your live copy of configurePrdCode.asp got the string "!defitemscount" in it? 

-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: Hamish
Date Posted: 09-August-2008 at 2:25pm
Oops -  make that  defitemscount

-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: john123
Date Posted: 09-August-2008 at 2:43pm

I searched for the string "defitemscount" and it is not there in the file



Posted By: Hamish
Date Posted: 09-August-2008 at 3:06pm
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?


-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: john123
Date Posted: 09-August-2008 at 3:18pm
configurePrdCode - 3102 lines
calculate.js - 932 lines
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net