I need a way to allow the UPS module to calculate rates determined on the address type. Currently it can only be set to one or another. I see a couple ways of doing this.
Enable the User Acccount to be designated as Commercial or Residential and pull that setting when requesting the rate quote.
You could also use the Address Validation Street Level UPS API to get determine by address. It is all XML driven. It will return the following codes based on the address.
0 = Unknown
1= Commercial
2 = Residential
The ups_quote_type could then be set from that.
Any help would be very much appreciated. Please respond and we can discuss time an rate as well.
Thanks!!