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.
Failed to obtain rate quote for the given ship method error
-
- Ensign (ENS)
- Posts: 2
- Joined: Tue Jul 21, 2009 2:35 pm
Re: Failed to obtain rate quote for the given ship method error
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.
-
- Ensign (ENS)
- Posts: 2
- Joined: Tue Jul 21, 2009 2:35 pm
Re: Failed to obtain rate quote for the given ship method error
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.
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.
Re: Failed to obtain rate quote for the given ship method error
Edit the BasketShippingEstimate.ascx.cs file and put
statement in its Page_Load method so that it looks like something as below
where dotted lines represents old code present in method.
Code: Select all
this.Visible = false;
Code: Select all
protected void Page_Load(object sender, EventArgs e)
{
this.Visible = false;
.......................................
.......................................
.......................................
}