abubobbob Posted February 14, 2008 Posted February 14, 2008 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
Guest Posted February 14, 2008 Posted February 14, 2008 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.
abubobbob Posted February 14, 2008 Author Posted February 14, 2008 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.
Guest Posted February 14, 2008 Posted February 14, 2008 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.
user99999999 Posted February 14, 2008 Posted February 14, 2008 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; }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.