Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Shipping location dilemma

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-27-2003, 08:45 AM
 
fearthespear fearthespear is offline
 

Senior Member
  
Join Date: Apr 2003
Posts: 124
 

Default Shipping location dilemma

I only ship to USA but I can have people register from all over the world (in hopes of they have someone to ship to in the USA). How can I make sure that their shipping address is a U.S. address?

I do not want to have to refund people just because they think that my box allows you to select any country therefore I will ship anywhere. Can someone help please.
Reply With Quote
  #2  
Old 07-27-2003, 09:59 AM
 
Xcart-Man Xcart-Man is offline
 

Advanced Member
  
Join Date: Jun 2003
Posts: 81
 

Default you can always...

LOOK at the orders...u know, to SEE if the address is in the USA. Make sure you have 'only ship to US" so everybody can see it. Decline all non-US orders.
Reply With Quote
  #3  
Old 07-27-2003, 10:15 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

I would remove all countries apart from usa and make a point of stating that you only ship within the us and that if anyone wants to buy anything and they dont live in the us then they should get in touch with you
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #4  
Old 07-27-2003, 12:23 PM
 
Mad Mad is offline
 

Advanced Member
  
Join Date: Jul 2003
Location: Brooklyn, NY
Posts: 60
 

Default

Or you could prefill the "Country" field in the order/registration form, and then grey it out, so that US is fedault and that it cannot be changed.

Then also state somewhere on the site that you only accept orders from the US.
Reply With Quote
  #5  
Old 07-27-2003, 05:43 PM
 
fearthespear fearthespear is offline
 

Senior Member
  
Join Date: Apr 2003
Posts: 124
 

Default

Thanks for your input everyone. however I like Shan's idea the best. shan, how can I delete all these other countries except for USA?
Reply With Quote
  #6  
Old 07-28-2003, 04:38 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

you can run this sql statement in phpmyadmin

Code:
DELETE FROM xcart_countries WHERE "code" != "us";

or if you empty the whole countries table then just run this statement to just add US

Code:
INSERT INTO xcart_countries VALUES ('United States','US','English','iso-8859-1','Y','N','');

Be careful and backup the db first
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #7  
Old 11-02-2003, 01:48 PM
 
Cameron Cameron is offline
 

eXpert
  
Join Date: Jan 2003
Location: Washington State, USA
Posts: 224
 

Default

Maybe it's a SQL version thing, but that first string deleted all my countries, and the second wouldn't add US. I did it manually and the string that PHP myAdmin returned that was performed was:
Quote:
INSERT INTO `xcart_countries` ( `country` , `code` , `language` , `charset` )
VALUES (
'United States', 'US', 'English', 'iso-8859-1'
);

Hope that helps somebody else out there.
__________________
Current project: 4.4.2
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:27 PM.

   

 
X-Cart forums © 2001-2020