Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2008
    Posts
    32
    Plugin Contributions
    0

    help question Having one item that does not ship to other countries?

    I am looking if something exists for zen cart...

    I have a clothing store based in Canada and some manufacturers I order from are not allowed to have their product shipped to the US. I want to have some type of module that allows the user to see that "this item only ships to Canada" and to not allow them to check out with it if they are from a different country. Of course all of the other items should still be able to ship worldwide. I can put a notice in the item description that states that the item is only available in Canada, but that still won't stop people from other countries attempting to purchase it as well.

    Is there something like this out there, or any suggestions on how I would make it work?

  2. #2
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Having one item that does not ship to other countries?

    Since people can put items into their cart before logging in (or even before registering) it would require the Mind Reading mod, available in the Free Software Add Ons. (Just kidding. I haven't made it publically available yet.)

    So you would have to wait until the checkout process starts, then use a conditional bit of code to check the country code (if not CA) and check the product ID #s and if there's a mis-match, pop up a warning. What you do at that point is up to you... cancel the whole order? auto-remove that one item form the cart? or something else?

    Rob

  3. #3
    Join Date
    Oct 2008
    Posts
    32
    Plugin Contributions
    0

    Default Re: Having one item that does not ship to other countries?

    ^ It would be fine with just a "this item does not ship to your country. please remove it from your cart to continue checkout" warning or something in the shopping cart, and not allow that person to check out until they do so. Do you know how to do this? I'm not a programmer so I have no idea how I would even begin this.

  4. #4
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Having one item that does not ship to other countries?

    The first thing you need is a way to identify the products that can only be shipped within Canada. There are a few ways you could do this, but all would need some sort of database modification to achieve, and either modifying the existing product entry/edit page or developing a new page in Admin. (For future upgradeability, I'd recommend adding a new database table and a new page in Admin)

    Then you'd need code modifications for the shopping cart page to display a suitable advisory that there are products in the cart that are available to ship only within Canada.

    Finally, you'd need to modify the checkout process with a custom function so that if they enter a shipping address outside Canada and one of those products is in the cart, they are redirected back to the shopping cart page.

    Although most of the changes to the store-front side could use the override system, some would need to modify core files, making future upgrades a little more complex.
    Neville
    An assumption is what you arrive at when you get tired of thinking...

 

 

Similar Threads

  1. v151 Setting 2 attributes, other one has stock that is visible, other one doesnt have stoc
    By Juhanuha in forum Setting Up Categories, Products, Attributes
    Replies: 15
    Last Post: 30 May 2013, 06:53 AM
  2. How do I use FLAT RATE for one item - and UPS Ship by weight for the other 8 items?
    By MarleneF in forum Built-in Shipping and Payment Modules
    Replies: 36
    Last Post: 31 Aug 2011, 04:15 PM
  3. Flat Rate per item that does not adjust with # of items
    By jackie.taferner in forum Built-in Shipping and Payment Modules
    Replies: 16
    Last Post: 15 Jul 2009, 08:25 PM
  4. some customers can not order: message saying that I do not ship to that area
    By minshop.no in forum Built-in Shipping and Payment Modules
    Replies: 13
    Last Post: 13 Dec 2008, 05:24 PM
  5. Us zone calculates ship price / No other countries
    By boston in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 15 Mar 2008, 03:46 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR