Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I have international shipping setup using the zones shipping but for one of the products I do not allow overseas shipping.

 

How can I set this up so only local buyers can order this product?

 

Thanks

Posted

For one product probably the easiest way to do it would be some code on checkout_payment.php that checks if the item is in the cart, and if so if the ship to country is not your own, and if so redirect to checkout_shipping.php with an error message instructing the customer to remove the item from the cart (if you want to be really squirrelly you could have that done automatically at the same time as the redirect to checkout_shipping.php).

Do, or do not. There is no try.

 

Order Editor 5.0.6 "Ultra Violet" is now available!

For support or to post comments, suggestions, etc, please visit the Order Editor support thread.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...