Zen Cart Logo
Forums / Addon Shipping Modules / Do not allow order to proceed if no shipping module active

Do not allow order to proceed if no shipping module active

Locked

Views: 1,978

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
3 Aug 2006, 10:57 PM
#1
b3motorsports avatar

b3motorsports

New Zenner

Join Date:
Aug 2006
Posts:
17
Plugin Contributions:
0

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.

6 Aug 2006, 7:49 AM
#2
nailsquare avatar

nailsquare

New Zenner

Join Date:
Jul 2006
Posts:
38
Plugin Contributions:
0

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

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

6 Aug 2006, 12:23 PM
#3
b3motorsports avatar

b3motorsports

New Zenner

Join Date:
Aug 2006
Posts:
17
Plugin Contributions:
0

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

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).

6 Aug 2006, 4:11 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

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.

6 Aug 2006, 11:10 PM
#5
b3motorsports avatar

b3motorsports

New Zenner

Join Date:
Aug 2006
Posts:
17
Plugin Contributions:
0

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

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?