Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2006
    Posts
    17
    Plugin Contributions
    0

    Default Do not allow order to proceed if no shipping module active

    Hi,

    Kind of new at zen cart...sorry if this has been answered elsewhere but....

    Currently, my cart is setup to have an australian zone, and a world wide zone. If the australian zone is selected, 2 shipping methods plus store pickup is active. If the world zone is active, only international shipping is available.

    In addition to this, I have implimented a code hack which disables all postage methods (i.e. only pickup in store) if tyres are in the cart (we can't post them).

    What I want to be able to do, is:

    if an international customer or address is input in the shipping field, a warning is displayed stating that the item cannot be shipped, and at that point prevent the transaction from proceeding.

    Is this at all possible to do?

    Any help would be greatly appriciated.

  2. #2
    Join Date
    Jul 2006
    Posts
    38
    Plugin Contributions
    0

    Default Re: Do not allow order to proceed if no shipping module active

    what do you mean?
    so you don't want international buyers??

  3. #3
    Join Date
    Aug 2006
    Posts
    17
    Plugin Contributions
    0

    Default Re: Do not allow order to proceed if no shipping module active

    Quote Originally Posted by nailsquare
    what do you mean?
    so you don't want international buyers??
    No thats not it at all.

    As it stands at the moment - national and international shipping work for all products EXCEPT tyres. Tyres are flagged as "walk in only" and an override disables the national and international shipping options.

    Obviously I need it to also disable "walk in only" because you cant walk into our store if you are an international customer!

    so, what i need it to do is that if ALL shipping modules are disabled (international shipping, walk in shipping because you are outside the national zone, etc), then the sale is not to proceed (a page is displayed showing "such and such products cannot be purchased outside of australia through this website. To arrange an alternative please email us" or words to that effect).

  4. #4
    Join Date
    Jan 2004
    Posts
    58,239
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Do not allow order to proceed if no shipping module active

    1. Create a new Zone Definition called "Shipping: Australia Only". In its details page, add Australia: All Zones.

    2. Now edit the "Store Pickup" shipping module settings and set its zone to "Shipping: Australia Only".

    Now if the customer's address is outside Australia, the module will be disabled during checkout.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Aug 2006
    Posts
    17
    Plugin Contributions
    0

    Default Re: Do not allow order to proceed if no shipping module active

    Quote Originally Posted by DrByte
    1. Create a new Zone Definition called "Shipping: Australia Only". In its details page, add Australia: All Zones.

    2. Now edit the "Store Pickup" shipping module settings and set its zone to "Shipping: Australia Only".

    Now if the customer's address is outside Australia, the module will be disabled during checkout.
    Ok - So if there are no shipping modules enabled, the order will not be allowed to proceed? If this is the case, will the customer be informed that this is the case, and if not is there a way to make this so?

 

 

Similar Threads

  1. Problem with Zones shipping module in Admin
    By sketman in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 6 Jun 2006, 08:40 PM

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
  •