4 replies [Last post]
BrianV's picture
Offline
Joined: 01/10/2008
Juice: 67
Was this information Helpful?

I noticed with the UPS module, it always bases it's quotes on the store's main address, as opposed to the address entered as the default pickup address in the shipping quotes module.

I think it should use the default pickup address. This will be needed in occasions where a warehouse is not necessarily in the same location as the storefront. Perhaps you dropship, in which case the default pickup location may even be in a different state.

Thoughts?

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: UPS Module: Default Shipping address...

It hasn't been based on the store address for a long time. There's a default address in the shipping quotes settings that it uses first, and each product can have a different default address that is ships from. That's in the case where you dropship from several different locations. This has been implemented for a while now, so are you using the latest code? If you are, we need to figure out why it isn't working.

BrianV's picture
Offline
Joined: 01/10/2008
Juice: 67
I am using 1.5 on D5. I

I am using 1.5 on D5.

I haven't tested the per-product shipping addresses, and can't at this point since this was on a client's site.

However, the default shipping address was filled out in the Shipping Quote admin section. USPS was fetching quotes fine. However, UPS was send XML with the empty - that is, the fields were there, but contained no data.

This of course puzzled me, since I was sure I had entered the data.

It wasn't until I went to the main store config page and input the address there that the UPS requests started working. Note that the UPS XML changed when I updated the store address once or twice to verify what was going on. This indicates that it is tied to that field rather than the default shipping field where it should have been.

Hope this 'slightly clearer' description of what happened helps.

---
http://www.brianvuyk.com

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Oh, I get it. UPS actually

Oh, I get it.

UPS actually expects three addresses in a quote request: "ShipTo", "ShipFrom", and "Shipper". The first two are what you expect, but the Shipper address is just the location of the account holder, whether that's the same or different from ShipFrom. I've made Shipper correspond to the main store address and ShipFrom is the address in the quote settings (or overridden by the products).

BrianV's picture
Offline
Joined: 01/10/2008
Juice: 67
Ah - that makes sense. Sorry

Ah - that makes sense.

Sorry for wasting your time Sticking out tongue

http://www.brianvuyk.com