Ship From address not the same as Company location address
* Please move if not in the right forum *
This was tested on 4.1.10 Gold only and UPS Real Time USA only. By default X-Cart uses company location address as Ship From address. If these 2 adresses are different for you (in other words your company is in CA and the warehouse you ship from in KS) using the default X-Cart behaviour will result in inaccurate rates. This code makes it possible to have Ship From address different from company location address. Use at your own risk. No warranties of any kind. Make sure you backup first before making any changes. The code works for me. Here it is Apply the following SQL patch (i did it with phpMyAdmin) Code:
INSERT INTO `xcart_config` (`name`, `comment`, `value`, `category`, `orderby`, `type`, `defvalue`, `variants`, `validation`) VALUES Next open /shipping/mod_UPS.php and find Code:
# Code:
# In the same file find Code:
<ShipFrom> Code:
<ShipFrom> That's it. I will assume that for USPS and FedEx there will be similar changes but I do not use them so I didn't bother to check. |
Re: Ship From address not the same as Company location address
How does this affect your tax structure? I mean, suppose I am in California, and your product ships from Kansas. Do I get charged Cal Sales Tax? What if I lived in Kansas, same question.
|
Re: Ship From address not the same as Company location address
This change has nothing to do with taxes. It only applies for real time shipping rates - ship from / ship to addresses send to UPS to calc the shipping charge.
|
Re: Ship From address not the same as Company location address
Quote:
That depends on state law. Normally, if you have a location in a specific state, then you have to charge tax in that state. If you have a location in CA and KS, then you charge state tax for shipments in both states. |
All times are GMT -8. The time now is 07:46 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.