Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Add UPS for International free Shipping

Add UPS for International free Shipping

Views: 3,263

Results 1 to 20 of 22
1 Oct 2011, 2:50 PM
#1
aditya369 avatar

aditya369

New Zenner

Join Date:
Oct 2011
Posts:
36
Plugin Contributions:
0

Add UPS for International free Shipping

Hello All,

I would like to add UPS (United Parcel Service) module for international free shipping for orders more that $100. Can any one help me in this issue?

If an international order is less than 100 it is showing me "Worldwide Expedited". But if an international order is more than 100, it is just showing "free shipping". But, I would like to show UPS options like
Next Day Air Early AM - $62.91
Next Day Air - $57.79
Next Day Air Saver - $28.46
2nd Day Air - $22.43
3 Day Select - $12.28
Ground $12.28

Can any one have any suggestions in doing this?

Thanks,
Adyboy

3 Oct 2011, 1:21 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add UPS for International free Shipping

Could you look in the Modules ... Order Totals ... Shipping ot_shipping and see if you have Free Shipping enabled? Then set it to enabled and for 100.00 and for International ... then the shipping will be Free on Orders of $100.00 for International Customers only ...

If you do not want the Free Shipping for International then just deisable it ...

4 Oct 2011, 7:54 AM
#3
aditya369 avatar

aditya369

New Zenner

Join Date:
Oct 2011
Posts:
36
Plugin Contributions:
0

Re: Add UPS for International free Shipping

Ajeh:

Could you look in the Modules ... Order Totals ... Shipping ot_shipping and see if you have Free Shipping enabled? Then set it to enabled and for 100.00 and for International ... then the shipping will be Free on Orders of $100.00 for International Customers only ...

If you do not want the Free Shipping for International then just deisable it ...
Hello Ajeh, Thanks for your response. I had already followed the steps suggested by you and its already working. But my question is that "for international orders above $100, it is just showing free shipping only. How can I show UPS options for this order? Is this feasible? "

Thanks again,
Aditya

4 Oct 2011, 1:07 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add UPS for International free Shipping

What shipping modules and settings do you now have installed and do you have a setting on the Modules ... Order Totals ... Shipping ot_shipping for Free Shipping as well?

4 Oct 2011, 2:17 PM
#5
aditya369 avatar

aditya369

New Zenner

Join Date:
Oct 2011
Posts:
36
Plugin Contributions:
0

Re: Add UPS for International free Shipping

Hello Ajeh, please find my settings as below.
free shipping for international orders more than $100 works fine. but my problem is that, I want the user choose how to deliver the order.

Modules->Shipping->UPS
United Parcel Service

Enable UPS Shipping
True

UPS Pickup Method
CC

UPS Packaging?
CP

Residential Delivery?
RES

Handling Fee
0

Handling Per Order or Per Box
Box

Tax Class
--none--

Tax Basis
Shipping

Shipping Zone
--none--

Sort order of display.
10

Shipping Methods:
Nxt AM, Nxt AM Ltr, Nxt, Nxt Ltr, Nxt PR, Nxt Save, Nxt Save Ltr, 2nd AM, 2nd AM Ltr, 2nd, 2nd Ltr, 3 Day Select, Ground, Canada,World Xp, World Xp Ltr, World Xp Plus, World Xp Plus Ltr, World Expedite
1DM, 1DML, 1DA, 1DAL, 1DAPI, 1DP, 1DPL, 2DM, 2DML, 2DA, 2DAL, 3DS, GND, STD, XPR, XPRL, XDM, XDML, XPD


Modules->Shipping->USPS
United States Postal Service

You will need to have registered a Web Tools account with USPS at their website to use this module.

USPS expects you to use pounds as weight measure for your products.

Enable USPS Shipping
True

Enter the USPS Web Tools User ID
710FLEAM6509

Which server to use
production

Handling Fee
0

Handling Per Order or Per Box
Box

Tax Class
--none--

Tax Basis
Shipping

Shipping Zone
United States

Sort Order
1

All Packages are Machinable
False

USPS Options
Display weight, Display transit time

Domestic Shipping Methods
EXPRESS, PRIORITY, PARCEL

International Shipping Methods
Express Mail Int, Express Mail Int Flat Rate Env, Priority Mail International, First Class Mail Int Lrg Env, First Class Mail Int Package, First Class Mail Int Letter

Debug Mode
Off


Modules->Order Total->ot_shipping
Order Shipping Cost

This module is installed
true

Sort Order
200

Allow Free Shipping
true

Free Shipping For Orders Over
$100.00

Provide Free Shipping For Orders Made
international

4 Oct 2011, 2:32 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add UPS for International free Shipping

Unfortunately, that is not an option when doing the Free Shipping ...

You determine the method that you want to use for the Free Shipping ...

Now you could use the Free Shipping Options freeoptions rather than the Modules ... Order Totals ... Shipping ot_shipping for the Free Shipping choice and then that would allow the customer to chose an alternative to the Free Shipping if they are in a hurry for the order and want a faster method as the Free Shipping Options freeoptions will show at the same time as UPS and USPS vs the Free Shipping on the Shipping ot_shipping that is the only choice when it shows ...

12 Oct 2011, 5:28 AM
#7
aditya369 avatar

aditya369

New Zenner

Join Date:
Oct 2011
Posts:
36
Plugin Contributions:
0

Re: Add UPS for International free Shipping

Ajeh:

Unfortunately, that is not an option when doing the Free Shipping ...

You determine the method that you want to use for the Free Shipping ...

Now you could use the Free Shipping Options freeoptions rather than the Modules ... Order Totals ... Shipping ot_shipping for the Free Shipping choice and then that would allow the customer to chose an alternative to the Free Shipping if they are in a hurry for the order and want a faster method as the Free Shipping Options freeoptions will show at the same time as UPS and USPS vs the Free Shipping on the Shipping ot_shipping that is the only choice when it shows ...
Hello Ajeh,

All National orders should show both USPS and UPS shipping modules

International orders less than 100 should show both USPS and UPS shipping modules [it is just showing UPS]

International orders more than 100 should show free shipping along with USPS and UPS shipping modules(if they are in a hurry for the order and want a faster method) [it is just showing free options only]

Could you please explain me on how to do this?

Thanks,
Aditya

12 Oct 2011, 1:11 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add UPS for International free Shipping

To show Free Shipping with the other Shipping Modules then you would need to use the Free Shipping Options freeoptions instead of the Free Shipping on the Modules ... Order Totals ... Shipping ot_shipping ...

The Free Shipping on the Shipping ot_shipping needs to be turned off ...

Then set the Free Shipping Options freeoptions shipping modules to Total >= 100.00 and make a Zone Definition with the DEFINES for the Rest of the World that excludes the United States ...

Search the tutorials/FAQ for Zones for examples of how to set this up ...

13 Oct 2011, 6:22 AM
#9
aditya369 avatar

aditya369

New Zenner

Join Date:
Oct 2011
Posts:
36
Plugin Contributions:
0

Re: Add UPS for International free Shipping

Ajeh:

To show Free Shipping with the other Shipping Modules then you would need to use the Free Shipping Options freeoptions instead of the Free Shipping on the Modules ... Order Totals ... Shipping ot_shipping ...

The Free Shipping on the Shipping ot_shipping needs to be turned off ...

Then set the Free Shipping Options freeoptions shipping modules to Total >= 100.00 and make a Zone Definition with the DEFINES for the Rest of the World that excludes the United States ...

Search the tutorials/FAQ for Zones for examples of how to set this up ...
Hi Ajeh, Thank you for your response.

I have turned off The Free Shipping on the Shipping ot_shipping...

but, in Free Shipping Options freeoptions shipping modules, it is already defined as Total >= 15.00 for United States zone. [this is manditory]

My local zones are United States and California. Total >= 15.00 is only for US not for California. And I need Total >= 100.00 for other zones. But I couldn't find where to define Total >= 15.00 for other zones.

Is this something related ot Zone Definitions? Could you please suggest on this?

Thanks,
Aditya

13 Oct 2011, 6:39 AM
#10
aditya369 avatar

aditya369

New Zenner

Join Date:
Oct 2011
Posts:
36
Plugin Contributions:
0

Re: Add UPS for International free Shipping

Ajeh:

To show Free Shipping with the other Shipping Modules then you would need to use the Free Shipping Options freeoptions instead of the Free Shipping on the Modules ... Order Totals ... Shipping ot_shipping ...

The Free Shipping on the Shipping ot_shipping needs to be turned off ...

Then set the Free Shipping Options freeoptions shipping modules to Total >= 100.00 and make a Zone Definition with the DEFINES for the Rest of the World that excludes the United States ...

Search the tutorials/FAQ for Zones for examples of how to set this up ...
Hi Ajeh,

Now all the settings are working fine except one thing.

I need to show free shipping option for international orders 100+ along with usps and ups options. Please suggest on this one .

This is the only thing pending. rest evrything works fine.

Thanks a lot for you support.

13 Oct 2011, 1:12 PM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add UPS for International free Shipping

If you are already using Free Shipping Options freeoptions for another Zone Definition and amount, you could clone it for your International Shipping ...

13 Oct 2011, 1:43 PM
#12
aditya369 avatar

aditya369

New Zenner

Join Date:
Oct 2011
Posts:
36
Plugin Contributions:
0

Re: Add UPS for International free Shipping

Ajeh:

If you are already using Free Shipping Options freeoptions for another Zone Definition and amount, you could clone it for your International Shipping ...

Could you please suggest how to clone this? I'm a PHP developer, but newbie to Zencart.

Please help me to sort this.

Thanks,
Aditya

13 Oct 2011, 3:55 PM
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add UPS for International free Shipping

Do a search on:
clone flat
clone item

and you should find a number of examples on how to clone a shipping module ...

14 Oct 2011, 6:02 AM
#14
aditya369 avatar

aditya369

New Zenner

Join Date:
Oct 2011
Posts:
36
Plugin Contributions:
0

Re: Add UPS for International free Shipping

Ajeh:

Do a search on:
clone flat
clone item

and you should find a number of examples on how to clone a shipping module ...

Hello Ajeh,

I need to clone freeoptions right? as I need to have free shipping options on >=15 for United States and free shipping options on >=100 for International.

So, I have cloned
includes/languages/english/modules/shipping/freeoptions.php to freeoptionsus.php and freeoptionsint.php

and

includes/modules/shipping/freeoptions.php to freeoptionsus.php and freeoptionsint.php

but it seems it is appearing only in Modules > Shipping
Free Shipping Options freeoptionsint only. The other thing is not visible.

Am I missing anything? I have followed this thread "http://www.zen-cart.com/forum/showthread.php?t=77410"

Thanks,
Aditya

14 Oct 2011, 1:00 PM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add UPS for International free Shipping

Do you have a screen shot you can show of the Modules ... Shipping ... if you do not see them all listed then it sounds like you have errors on cloning them ...

Peek in the /cache and see if you have any debug logs ...

18 Oct 2011, 9:09 AM
#16
aditya369 avatar

aditya369

New Zenner

Join Date:
Oct 2011
Posts:
36
Plugin Contributions:
0

Re: Add UPS for International free Shipping

Ajeh:

Do you have a screen shot you can show of the Modules ... Shipping ... if you do not see them all listed then it sounds like you have errors on cloning them ...

Peek in the /cache and see if you have any debug logs ...
Hello Ajeh,

This worked for me.
I have cloned
includes/languages/english/modules/shipping/freeoptions.php to freeoptionsus.php and freeoptionsint.php
and
includes/modules/shipping/freeoptions.php to freeoptionsus.php and freeoptionsint.php,

I have cleared the browsing data and its working fine for me now.

One more question. I have enabled flat rate module for orders less than 15 in US zone.

I have cloned flat.php file to flatint.php to enable flat rate for international orders for orders less than 100.

Now the problem is that it shows flat rate option for international orders less than 100 without any issues, but for US orders, it is showing two flat rates for orders more than 15 in US zone. How do I make to appear only one flat rate for US Zone?

Below are the cases of issues followed by the settings

Zone amount flatrate
US <15 falt + flatInt
US >15 falt + flatInt + freeoptionsus
US >100 falt + flatInt + freeoptionsus + freeoptionsint

Int <15 flatInt
Int <100 flatInt
Int >100 flatInt + freeoptionsint

Here are my settings:


Flat Rate

Enable Flat Shipping True
Shipping Cost 5.00
Tax Class --none--
Tax Basis Shipping
Shipping Zone United States
Sort Order 2


flat Rate INT

Enable Flat Shipping True
Shipping Cost 17.00
Tax Class --none--
Tax Basis Shipping
Shipping Zone --none--
Sort Order 8


freeoptionsint

Enable Free Options Shipping True
Shipping Cost 0.00
Handling Fee 0
Total >= 100.00
Total <=
Weight >=
Weight <=
Item Count >=
Item Count <=
Tax Class --none--
Tax Basis Shipping
Shipping Zone --none--
Sort Order 3


freeoptionsus

Enable Free Options Shipping True
Shipping Cost 0.00
Handling Fee 0
Total >= 15.00
Total <=
Weight >=
Weight <=
Item Count >=
Item Count <=
Tax Class --none--
Tax Basis Shipping
Shipping Zone United States
Sort Order 7


18 Oct 2011, 9:21 AM
#17
aditya369 avatar

aditya369

New Zenner

Join Date:
Oct 2011
Posts:
36
Plugin Contributions:
0

Re: Add UPS for International free Shipping

aditya369:

Hello Ajeh,

This worked for me.
I have cloned
includes/languages/english/modules/shipping/freeoptions.php to freeoptionsus.php and freeoptionsint.php
and
includes/modules/shipping/freeoptions.php to freeoptionsus.php and freeoptionsint.php,

I have cleared the browsing data and its working fine for me now.

One more question. I have enabled flat rate module for orders less than 15 in US zone.

I have cloned flat.php file to flatint.php to enable flat rate for international orders for orders less than 100.

Now the problem is that it shows flat rate option for international orders less than 100 without any issues, but for US orders, it is showing two flat rates for orders more than 15 in US zone. How do I make to appear only one flat rate for US Zone?

Below are the cases of issues followed by the settings

Zone amount flatrate
US <15 falt + flatInt
US >15 falt + flatInt + freeoptionsus
US >100 falt + flatInt + freeoptionsus + freeoptionsint

Int <15 flatInt
Int <100 flatInt
Int >100 flatInt + freeoptionsint

Here are my settings:


Flat Rate

Enable Flat Shipping True
Shipping Cost 5.00
Tax Class --none--
Tax Basis Shipping
Shipping Zone United States
Sort Order 2


flat Rate INT

Enable Flat Shipping True
Shipping Cost 17.00
Tax Class --none--
Tax Basis Shipping
Shipping Zone --none--
Sort Order 8


freeoptionsint

Enable Free Options Shipping True
Shipping Cost 0.00
Handling Fee 0
Total >= 100.00
Total <=
Weight >=
Weight <=
Item Count >=
Item Count <=
Tax Class --none--
Tax Basis Shipping
Shipping Zone --none--
Sort Order 3


freeoptionsus

Enable Free Options Shipping True
Shipping Cost 0.00
Handling Fee 0
Total >= 15.00
Total <=
Weight >=
Weight <=
Item Count >=
Item Count <=
Tax Class --none--
Tax Basis Shipping
Shipping Zone United States
Sort Order 7


I have used http://www.zen-cart.com/forum/showthread.php?t=115687 as reference .

18 Oct 2011, 1:10 PM
#18
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add UPS for International free Shipping

Your International Shipping modules do not appear to have Zones on them ... wouldn't you need Zones to ensure only International can use them? :unsure:

18 Oct 2011, 1:17 PM
#19
aditya369 avatar

aditya369

New Zenner

Join Date:
Oct 2011
Posts:
36
Plugin Contributions:
0

Re: Add UPS for International free Shipping

Ajeh:

Your International Shipping modules do not appear to have Zones on them ... wouldn't you need Zones to ensure only International can use them? :unsure:
Hi Ajeh,
Shipping Zone is showing only the below options. I am assuming that "Shipping Zone --none--" rest of the world! am I assuming wrong? shipping zone in all my files show as below. Please suggest.

Shipping Zone
--none--
California
United States

18 Oct 2011, 2:52 PM
#20
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add UPS for International free Shipping

Shipping Zone --none-- means Everyone ...

If you want them only for International and not for the United States, then you need to build a Zone Definition with the DETAILS setup for anything not in your Zone Definition for the United States DETAILS ...

You might want to look at the tutorials/FAQ for the Zones and examples on building them ...
https://www.zen-cart.com/tutorials/index.php?article=409