View Single Post
  #276  
Old 05-09-2008, 02:53 PM
 
ReadytoCover ReadytoCover is offline
 

Senior Member
  
Join Date: Apr 2008
Posts: 124
 

Default Re: Pre-Login Shipping Calculator

Well, I figured out the Sorry, No shipping problem (at least for me). It didn't work with the Default Location unchecked in General Settings, but I noticed it DID work if I checked that box AND entered the same zipcode. Once I removed the zipcode in the Default Location it worked for that entire state. However, since you cannot de-select a state it wouldn't work for anyone who was outside of the state.

So I went into cart.php around line 415 and commented out:

Code:
$userinfo["b_state"] = $userinfo["s_state"] = $config["General"]["default_state"];


Now it works. (Make sure you have the assume default location box CHECKED in General Settings)

I'm not a code guru by any sorts so back up your file before attempting this.

Hope it helps.
__________________
x-cart 4.1.9
Reply With Quote