Custom Shipping calculations Ecart
I want to determine shipping rates based on weight and the left three digits of the zipcode. Rather than writing shipping rules for every combination, is there a simpler way to refer to an array? What is the function to grab the left three digits of the zipcode and what code is needed to grab a result from an array? Can someone point me to some sample code for doing something like this?