Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Ups Shipping - Residential Vs Commercial Rate Topic   - - - - -

  • netsplash
  • Member
  • Members
  • Join Date: 14-Oct 16
  • 41 posts

Posted 11 April 2018 - 07:15 PM #1

Most of our customers are to offices rather than homes.

As a result, our shipping rates are high sometimes.


I spoke with UPS Developers today and they said that the UPS API Request and Response indicates

Residential as the Default for CS-Cart ( at least for us)


Where in the Files or Database can I change that?


And what would I change it to????



Greatly Appreciated!!!




  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19273 posts

Posted 12 April 2018 - 05:29 AM #2

All UPS integration code can be found here



GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.

  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11288 posts

Posted 13 April 2018 - 12:26 AM #3

UPS also has an address verification service that when used, will return whether the address is residential or commercial so you don't get surprise fees.  Feel free to make a feature request.  I don't know if anyone still reads the old "User Voice" where these type of requests used to be made.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.

  • netsplash
  • Member
  • Members
  • Join Date: 14-Oct 16
  • 41 posts

Posted 18 April 2018 - 01:43 PM #4

Thank you for your responses, I appreciate it!!!.

  • straygecko
  • Advanced Member
  • Members
  • Join Date: 01-May 13
  • 93 posts

Posted 24 December 2018 - 01:06 AM #5

cs-cart used the UPS api properly in 4.4.3 and prior and would let UPS determine the address type and charge the correct shipping based on the address type.  They introduced a bug in the rewrite of the UPS api in 4.5.1 and stuck the address lines in the wrong element so UPS ignores it.  I opened a bug report here:




The bug is in app/Tygh/Shippings/Services/Ups.php lines 346 and 348.  Change $rating_request['Shipment']['ShipTo'] to $rating_request['Shipment']['ShipTo']['Address'] in both lines and correct rates will be charged based on whether the address is residential or commercial.