Good morning,
I have a site where I need to differentiate between the UK countries England, Scotland, Wales, and Northern Ireland. These all fall under the country UK. In the backend, I can only add UK as a country and the others aren't listed (nor can you add them manually). I need to be able to differentiate because of different shipping fees. I can see a few options:
1. Add them as countries. Not sure if this is even possible as they don't have their own two-letter codes, only extended codes as far as I know.
2. Add them as regions under UK. This will work and gives me the option to enable/disable shipping providers for certain regions but would require some UI changes to hide the country (UK) and show the regions as countries instead.
3. Use the ZIP code filter on the Shipping Fee Provider and provide ZIP codes for the various countries. The problem here is that the ZIP code filter looks for an exact match, not a partial match. Since there are thousands of applicable ZIP codes (within a much smaller list of ZIP code areas) this doesn't sound feasible. It would be nice if ZIP codes could be partially matched so CB8 would match on CB8 7HG, CB8 7HJ and so on.
4. Go custom with a subscriber for Ecommerce.Cart.BeforeShippingCalculation, do some custom lookups for the supplied ZIP code and cancel any shipping methods that are not applicable. I.e. we'd set up four providers with four different fees and only show the one with a matching ZIP code.
All of these alternatives seem to be quite some (custom) work.
Has anyone dealt with this before? Are there other alternatives I haven't considered yet?
Thanks!
Imar