Changing the shipping address on checkout does not make Table Rate method to update.
Chrome 54 and Firefox 49
Disable all shipping methods but leave Table Rates enabled
Now change Country to Afghanistan
Shipping methods should update displaying Table Rate method
Shipping methods block does not update and show the same "Sorry, no quotes are available for this order at this time" text even if correct country is selected: http://prntscr.com/cz8dd2
Comment: if you refresh checkout page having Afghanistan selected the shipping method will display, proving that Table Rates was configured correctly.
I am mainly posting this to confirm that others are seeing this problem too and first poster is not alone. Tested from multiple locations and computers
Preconditions:
Steps to reproduce:
1) clear cache
2) add to cart
3) check out
4) type in a test shipping address
Expected Result
Shipping rate showing 100% of the time.
Actual Result
Shipping rate showing (sometimes...25% of the time...the rate shows correctly but 75% of the time it does not). Refresh should be automatic but the only way to get shipping rate is to press refresh in browser
More Information
Here's what a 3rd party told us:
I just tested this in Chrome and on the first test I received a shipping quote of
$9.75 UPS
once I passed the Country field in the left hand column.
However, it did not work after the 2nd test, and it did not work when I tested in firefox. The first time the refresh occurred once I passed the country field, and that refresh was not triggered on subsequent attempts.
Live site is fine:
No problem with current live site which is on 2.0.7 running with php 7.0.11 and MySQL 5.6.25
Hi, thank you for your reporting. Internal ticket was created MAGETWO-60340
Hey, having the same issue here too,, any workarounds?
( Using Amasty Table rates plugin )
It's likely this issue is related to the shipping carrier validation for tablerates.
You'll see from excerpt of shipping method validation below that the region, postcode and country are required fields for this carrier. As such shipping rates will only update when all three fields are present.
In this case, the validation is too stringent for your shipping rate table - which requires only country.
Validation for address fields (perhaps excluding country) should be "required" = false so they are used to determine whether to refresh rates but if not present, will not prevent rates being returned.
define(
[],
function () {
"use strict";
return {
getRules: function() {
return {
'postcode': {
'required': true
},
'country_id': {
'required': true
},
'region_id': {
'required': true
},
'region_id_input': {
'required': true
}
};
}
};
}
);
any update here?
Hi, also the same problem with version 2.1.4. Anyone a workaround?
Hi. Any updates on this?
2.1.5 same problem. Table rates never showing, wildcard on country and region. Postnumber defined. Giving no shipping alternatives what so ever.
Same problem, any work around?
@Turv I've used the following patch:
--- /a/app/code/Magento/OfflineShipping/view/frontend/web/js/model/shipping-rates-validation-rules/tablerate.js
+++ /b/app/code/Magento/OfflineShipping/view/frontend/web/js/model/shipping-rates-validation-rules/tablerate.js
@@ -13,16 +13,16 @@
getRules: function () {
return {
'postcode': {
- 'required': true
+ 'required': false
},
'country_id': {
- 'required': true
+ 'required': false
},
'region_id': {
- 'required': true
+ 'required': false
},
'region_id_input': {
- 'required': true
+ 'required': false
}
};
}
I used @vovayatsyuk patch to make it work again, although I only had to disable postcode validation.
@Kasoi-free, thank you for your report.
The issue is already fixed in 2.1.0
Same issue is there in Magento ver. 2.1.9 for Australian zip codes
Country | Region/State | Zip/Postal Code | Order Subtotal (and above) | Shipping Price
-- | -- | -- | -- | --
AUS | * | 3000 | 200 | 200