Where do I find this warning/error message?

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
Chris Hadden
Commander (CMDR)
Commander (CMDR)
Posts: 182
Joined: Tue Jan 27, 2009 2:29 pm

Where do I find this warning/error message?

Post by Chris Hadden » Wed Jun 04, 2014 9:32 am

When the customer does not select shipping from the drop down box an error in red type comes up in the right hand column. It is not worded very well and I want to change it, but do not know what file is......... can someone point me in the right direction, Thanks

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Where do I find this warning/error message?

Post by Katie » Wed Jun 04, 2014 10:34 am

Hi Chris,

Is this the error message you want to change?

"Invalid shipping method. Either you have not selected a shipping method or the selected method is not valid."

If so, then you'll find it in the \ConLib\ShipMethodPage.ascx file. There are also a number of other warnings in that file which can be changed.

Thanks,
Katie
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

Chris Hadden
Commander (CMDR)
Commander (CMDR)
Posts: 182
Joined: Tue Jan 27, 2009 2:29 pm

Re: Where do I find this warning/error message?

Post by Chris Hadden » Wed Jun 04, 2014 11:03 am

No it is not that exact one. If I use google to inspect code it says


<div id="ctl00_wpm_CheckoutPage_ctl02_CheckoutMessagePanel" class="section">

<div class="header"><h2>Checkout Message</h2></div>
<div class="onePageCheckoutCell" align="left">
<span id="ctl00_wpm_CheckoutPage_ctl02_CheckoutMessage" class="errorCondition">Your order has not been completed and payment was not processed.<br><br>Either a selected shipping method is no longer valid or a shipment has been modified during checkout. Please verify the contents of your order and resubmit your payment.</span>
<br><br>If any or all of the shipping methods are missing, there may have been a problem communicating with the shipper. <a href="default.aspx">Click here</a> to restart the checkout.
</div>

</div>





I want to edit this but can't find where it is located......... "Your order has not been completed and payment was not processed.Either a selected shipping method is no longer valid or a shipment has been modified during checkout. Please verify the contents of your order and resubmit your payment."

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Where do I find this warning/error message?

Post by Katie » Wed Jun 04, 2014 12:31 pm

It would help if you can tell me exactly where this appears (page & location), and also what version you are using.

Thanks!
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

nadeem
Captain (CAPT)
Captain (CAPT)
Posts: 258
Joined: Tue Jul 31, 2012 7:23 pm

Re: Where do I find this warning/error message?

Post by nadeem » Thu Jun 05, 2014 12:35 am

This message is coming from ValidateShipStatus method inside Website/Conlib/OnePageCheckout.ascx.cs. To change the message, you have to update the following line:

Code: Select all

if (paymentForm) CheckoutMessage.Text = "Your order has not been completed and payment was not processed.<br /><br />Either a selected shipping method is no longer valid or a shipment has been modified during checkout.  Please verify the contents of your order and resubmit your payment.";

Chris Hadden
Commander (CMDR)
Commander (CMDR)
Posts: 182
Joined: Tue Jan 27, 2009 2:29 pm

Re: Where do I find this warning/error message?

Post by Chris Hadden » Thu Jun 05, 2014 8:06 am

yes that is where it was thanks

Post Reply