Here is my requirement:
- We need to get ups account details from customer custom attribute and use it for ups shipping rate calculation in checkout page.
- We have different shipping origin zipcodes in product custom attribute. We need to get UPS shipping rates based on product zipcodes in checkout page.
How to override the ups account programmatically while fetching ups shipping rates?
How to get shipping rates for different zipcodes in checkout page dynamically based on product data?
Note: Shipping Origin Zipcode will be maintained in product level and UPS account details will be maintained in customer level