VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Shipping VM 1.1 => USPS (U.S. Postal Service) VM 1 => Topic started by: z-analysts on July 12, 2008, 00:28:41 AM

Title: Override shipping zip code?
Post by: z-analysts on July 12, 2008, 00:28:41 AM
VM 1.1.1
Joomla 1.5.4

Is it possible to override the shipping zip code in the USPS shipping module like you can in the UPS module? I am dropshipping my products so the originating zip code is different from my store zip code.

Thank you!
Title: Re: Override shipping zip code?
Post by: z-analysts on July 12, 2008, 22:57:20 PM
I believe I found the answer. In the usps.php file at line 120 replace the existing line with one that sets the shipping zip code:

//         $source_zip = substr($dbv->f("vendor_zip"),0,5);
         $source_zip = "33990";