Page 1 of 1
Checkout Error 7.03
Posted: Fri Nov 06, 2009 2:20 pm
by Jaz
Several of my customers are getting this error in checkout after upgreading to 7.03:
[[ConLib:custom/OnePageCheckout]] d:\Internet\TrickConcepts.com\ConLib\Custom\OnePageCheckout.ascx.cs(1336): error CS0103: The name 'OrderBelowMinimumAmountMessage' does not exist in the current context
Any thoughts?
Re: Checkout Error 7.03
Posted: Fri Nov 06, 2009 8:36 pm
by AbleMods
I see you're using a customized OnePageCheckout user control - If you upgraded to 7.0.3, did you transition your modifications to the new version of the OnePageCheckout user control as well?
OnePageCheckout has been modified quite a bit over the past several AC7 versions. The "OrderBelowMinimumAmountMessage" HTML object no longer exists in 7.0.3.
In previous versions of AC7, an order not meeting the minimum/maximum order amount of the store displayed a message in the Checkout page. In 7.0.3, the visitor is simply redirected back to the basket page and the min/max warning message was removed.
Not sure I entirely agree with that particular change, but it is what it is

Re: Checkout Error 7.03
Posted: Fri Nov 06, 2009 8:49 pm
by Jaz
Yes, it is modified, but it was modified after upgrading it to 7.03. I can't find a reference to it anywhere in the code.
Re: Checkout Error 7.03
Posted: Sat Nov 07, 2009 6:38 am
by jmestep
Did you modify the one in the custom folder after the upgrade? Try switching to the unmodified one in the ConLib folder and see what happens.
Re: Checkout Error 7.03
Posted: Sat Nov 07, 2009 7:37 am
by AbleMods
I wonder if it's pulling the unmodified code
Re: Checkout Error 7.03
Posted: Sat Nov 07, 2009 3:13 pm
by Jaz
I never foudn a refereence to custom/OnePageCheckout anywhere, but that seems to be where is is comming from. I coppied the the one I modified (in the conlib to the custom folder and I think it solver the problem, but now I have a security problem due to images at the top of the header, which I have mentioned in another post.
Re: Checkout Error 7.03
Posted: Sun Nov 08, 2009 8:20 am
by AbleMods
Jaz wrote:I never foudn a refereence to custom/OnePageCheckout anywhere
the reference would be in the scriptlet assigned to the body of the checkout page.
Re: Checkout Error 7.03
Posted: Sun Nov 08, 2009 9:58 pm
by Jaz
Yea. You would think. the body of that page calls out pulling the file from conlib/, but the the error is from conlib/custom. Got me? Anyhow, I got it fixed.
Re: Checkout Error 7.03
Posted: Mon Nov 09, 2009 7:33 am
by AbleMods
The only other possibility is the code/html files are messed up. The HTML file in the /custom/ folder could still be pointing to the code file in the /conlib/ folder (or visa versa). Look at the first line in the HTML (.ascx) file and make sure it's pointing to the code file in the same folder as the HTML file....