You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UPS returns residential shipping rates by default, but if it has enough information to determine that a destination is a commercial address, it can return cheaper commercial shipping rates.
Spree::Calculator::Shipping::ActiveShipping::Base#build_location currently sends only country, state, city and zip. To get commercial rates UPS also needs the street address fields.
I have a client for whom low shipping rates are important, so I've made the following monkey patch:
This seems to be working well, and is giving significantly better shipping rates for customers at commercial addresses. Should it be the standard behaviour for spree_active_shipping?
The text was updated successfully, but these errors were encountered:
UPS returns residential shipping rates by default, but if it has enough information to determine that a destination is a commercial address, it can return cheaper commercial shipping rates.
Spree::Calculator::Shipping::ActiveShipping::Base#build_location
currently sends only country, state, city and zip. To get commercial rates UPS also needs the street address fields.I have a client for whom low shipping rates are important, so I've made the following monkey patch:
This seems to be working well, and is giving significantly better shipping rates for customers at commercial addresses. Should it be the standard behaviour for spree_active_shipping?
The text was updated successfully, but these errors were encountered: