Project:
UbercartCategory:
bug reportPriority:
normalAssigned:
UnassignedStatus:
patch (needs review)Simple patch to prevent the fetching of shipping quotes if delivery postal code is empty. Feel free to modify the patch to instead of returning false, to send a display message of some kind.
| Attachment | Size |
|---|---|
| uc_quote.js_.diff | 345 bytes |

Re: Shipping quotes processing with empty delivery fields
There are some cases where a postal code isn't necessary for a shipping quote. They all involve the flatrate module, but we should still display information when we can. The checkout page itself will already give an error for incomplete addresses, so we shouldn't get broken orders.
I'd much rather each shipping method handle errors as they need to since they all have different definitions of what an error is.