Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

International blocking


abubobbob

Recommended Posts

Posted

Hi all, Just wondering if anyone could help me maybe there is a quick solution to this one. Is there a way that i can make some items unavalible to people outside of my country.

 

Thanks

 

Regards

 

Bob

Posted
Hi all, Just wondering if anyone could help me maybe there is a quick solution to this one. Is there a way that i can make some items unavalible to people outside of my country.

 

Thanks

 

Regards

 

Bob

 

I have a sort of similar question, so i'll piggy back yours. Hope you don't mind.

 

How can i lock a customers into a certain payment method depending on their location (US domestic ship only UPS / International ship only USPS)? Same for Payment method. Anyone have this?

 

Thank you.

Posted
I have a sort of similar question, so i'll piggy back yours. Hope you don't mind.

 

How can i lock a customers into a certain payment method depending on their location (US domestic ship only UPS / International ship only USPS)? Same for Payment method. Anyone have this?

 

Thank you.

 

piggy on my friend :D... I know there is already contributions out there that sort your problem with shipping... Ive got one but its tailored around the UK services.

Posted
piggy on my friend :D... I know there is already contributions out there that sort your problem with shipping... Ive got one but its tailored around the UK services.

 

I guess i'll go back to hunting through the contributions. Thanks. I'm guessing the coding would be similar to yours.

Posted

To block items being sold to certain countries will be difficult because you don't know where they are from until half way through checkout but you could put a check there and make someone remove items from their cart before continuing.

 

 

To enable/disable payment/shipping modules put something like this in the module class constructor.

 

global $order;
... 
...
if ($order->delivery['country']['iso_code_2'] != "US") {
 $this->enabled = false;
}

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...