| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Ship From address not the same as Company location address | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
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:
Next open /shipping/mod_UPS.php and find Code:
Code:
In the same file find Code:
Code:
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.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#2
|
|||||||||
|
|||||||||
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.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#3
|
|||||||||
|
|||||||||
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.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#4
|
|||||||
|
|||||||
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.
__________________
Serra Using X-Cart Gold 4.1.9 |
|||||||
|
|||
X-Cart forums © 2001-2020
|