Failed to obtain rate quote for the given ship method error

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
zipposteve
Ensign (ENS)
Ensign (ENS)
Posts: 2
Joined: Tue Jul 21, 2009 2:35 pm

Failed to obtain rate quote for the given ship method error

Post by zipposteve » Tue Jul 21, 2009 2:43 pm

We are not using the integrated shipping methods, as we have all flat rates depending upon the weight of the order. We have deleted the Shipping Quote box from all pages that we are aware of.

Yet we receive the message "Failed to obtain rate quote for the given ship method 'First Class Mail (Delivery Time-Usually 5 To 10 Days)'" or "Failed to obtain rate quote for the given ship method 'Priority Mail (Delivery Time- Usually 3 To 4 Days)' at least once daily. When this happens we do not receive the order, and the customer can go no further on checkout.

What causes this problem and how can we fix it?

Thank you for any help.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Failed to obtain rate quote for the given ship method error

Post by mazhar » Wed Jul 22, 2009 6:08 am

Most probably this is something due to your customization, we haven't noticed any thing like this with standard package. Better instead of removing BasketShippingEstimate control set its Visible property to false.

zipposteve
Ensign (ENS)
Ensign (ENS)
Posts: 2
Joined: Tue Jul 21, 2009 2:35 pm

Re: Failed to obtain rate quote for the given ship method error

Post by zipposteve » Wed Jul 22, 2009 8:18 am

Thank you very much for your reply and help.
I saved a copy of the original page before I made the customization, and I fully agree with you that the customization is probably causing the problem.

Is the visible property I need to change to false in the basketshippingestimate.ascx or basketshippingestimate.ascx.cs ?
Can you give me an example of the string where it is located?

Thank you again.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Failed to obtain rate quote for the given ship method error

Post by mazhar » Wed Jul 22, 2009 8:47 am

Edit the BasketShippingEstimate.ascx.cs file and put

Code: Select all

this.Visible = false;
statement in its Page_Load method so that it looks like something as below

Code: Select all

 protected void Page_Load(object sender, EventArgs e)
    {
        this.Visible = false;
.......................................
.......................................
.......................................
}
where dotted lines represents old code present in method.

Post Reply