Forums / Addon Shipping Modules / Limiting USPS/ first class Domestic/International shipping if over a certain weight

Limiting USPS/ first class Domestic/International shipping if over a certain weight

Views: 6,445

Results 1 to 20 of 50
18 Jul 2013, 9:21 PM
#1
nishajh avatar

nishajh

Zen Follower

Join Date:
May 2009
Posts:
105
Plugin Contributions:
0

Limiting USPS/ first class Domestic/International shipping if over a certain weight

I have been looking through the support threads but could not find it. so please direct me to that thread if this has been answered before..

I want to set up first class shipping restrictions based on weight.

show only Domestic First Class if weight is less than 13OZ & International First Class if weight is less than 4 Pounds

Can any one help with the code? thank you

19 Jul 2013, 3:45 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Limiting USPS/ first class Domestic/International shipping if over a certain weight

Have you tried the current USPS shipping module in the Plugins?

It already has these limits ...

Also, First Class for International does not show for orders of $400+ ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

19 Jul 2013, 3:33 PM
#3
nishajh avatar

nishajh

Zen Follower

Join Date:
May 2009
Posts:
105
Plugin Contributions:
0

Re: Limiting USPS/ first class Domestic/International shipping if over a certain weight

I tried. It works perfect. Thank you very much for the mod :-)

19 Jul 2013, 11:12 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Limiting USPS/ first class Domestic/International shipping if over a certain weight

You are most welcome ... thanks for the update that the USPS shipping module that we provide in the add-on plug-ins works fine for you without change ...

Remember the Zen Cart Team, when you are rich and famous ... :cool:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

19 Nov 2013, 6:10 AM
#5
asharp01 avatar

asharp01

New Zenner

Join Date:
Nov 2013
Posts:
37
Plugin Contributions:
0

Re: Limiting USPS/ first class Domestic/International shipping if over a certain weight

Hello I have a problem with the United States Postal Service Plugin... I am unable to have the first class option at check out.. It is the updated version But please can someone help?

19 Nov 2013, 2:12 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Limiting USPS/ first class Domestic/International shipping if over a certain weight

What is the weight of the Order?

What are your settings in the Configuration ... Shipping/Packaging ... for the Maximum Weight and the two Tare Rate settings?

Make sure that you are using the current July 28, 2013 J5 USPS shipping module ...

Go to your Zen Cart Admin and go to Tools ... Developers Tool Kit ...

In the bottom input box enter:
usps.php

Then, select Catalog ... click SEARCH ...

What comes up on the lines for:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

19 Nov 2013, 9:04 PM
#7
asharp01 avatar

asharp01

New Zenner

Join Date:
Nov 2013
Posts:
37
Plugin Contributions:
0

Re: Limiting USPS/ first class Domestic/International shipping if over a certain weight

This is what I have in that category...
Enter the Maximum Package Weight you will ship 50 Info
Package Tare Small to Medium - added percentage:weight 0:3 Info
Larger packages - added packaging percentage:weight 10:0 Info
Display Number of Boxes and Weight Status 0 Info
Order Free Shipping 0 Weight Status 0 Info
Shipping Estimator Display Settings for Shopping Cart 0 Info
Display Order Comments on Admin Invoice 1 Info
Display Order Comments on Admin Packing Slip 1

@version $Id: usps.php 2013-07-28 ajeh $ Version J 2013-07-28

Does the weight have to be on all products for it to work???
Because I put it in the shopping cart and its not coming up...

19 Nov 2013, 11:25 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: Limiting USPS/ first class Domestic/International shipping if over a certain weight

First class for Domestic will not show if you add 3lbs to the Order ... you have the Tare set to add 3lbs:

Package Tare Small to Medium - added percentage:weight 0:3 Info

The limit is 13oz ...

International will not show if the weight is over 4lbs ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

19 Nov 2013, 11:37 PM
#9
asharp01 avatar

asharp01

New Zenner

Join Date:
Nov 2013
Posts:
37
Plugin Contributions:
0

Re: Limiting USPS/ first class Domestic/International shipping if over a certain weight

asharp01:

This is what I have in that category...
Enter the Maximum Package Weight you will ship 50 Info
Package Tare Small to Medium - added percentage:weight 0:3 Info
Larger packages - added packaging percentage:weight 10:0 Info
Display Number of Boxes and Weight Status 0 Info
Order Free Shipping 0 Weight Status 0 Info
Shipping Estimator Display Settings for Shopping Cart 0 Info
Display Order Comments on Admin Invoice 1 Info
Display Order Comments on Admin Packing Slip 1

@version $Id: usps.php 2013-07-28 ajeh $ Version J 2013-07-28

Does the weight have to be on all products for it to work???
Because I put it in the shopping cart and its not coming up...

additional info... its a couple of oz but not more than 13 oz... all the categories such as
1st-Class Letter$
1st-Class Lg. Env$
1st-Class Parcel$

are checked... The only one's that show up are
Priority Pad. F/R Env$
Priority Sm. F/R Box
Priority Express
these are also selected

19 Nov 2013, 11:38 PM
#10
asharp01 avatar

asharp01

New Zenner

Join Date:
Nov 2013
Posts:
37
Plugin Contributions:
0

Re: Limiting USPS/ first class Domestic/International shipping if over a certain weight

So do I put in 13.0

19 Nov 2013, 11:53 PM
#11
asharp01 avatar

asharp01

New Zenner

Join Date:
Nov 2013
Posts:
37
Plugin Contributions:
0

Re: Limiting USPS/ first class Domestic/International shipping if over a certain weight

What would be the recommended settings for domestic?

20 Nov 2013, 12:02 AM
#12
asharp01 avatar

asharp01

New Zenner

Join Date:
Nov 2013
Posts:
37
Plugin Contributions:
0

Re: Limiting USPS/ first class Domestic/International shipping if over a certain weight

I put it to 0:1 and its does nothing to the shopping cart... each weight for the items is around 0.275 .... What can I do to get it to work?

20 Nov 2013, 12:16 AM
#13
ajeh avatar

ajeh

Oba-san

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

Re: Limiting USPS/ first class Domestic/International shipping if over a certain weight

Try setting your Tare Rate to: 0:0

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

20 Nov 2013, 1:21 AM
#14
asharp01 avatar

asharp01

New Zenner

Join Date:
Nov 2013
Posts:
37
Plugin Contributions:
0

Re: Limiting USPS/ first class Domestic/International shipping if over a certain weight

If i do that nothing comes up?

20 Nov 2013, 1:23 AM
#15
ajeh avatar

ajeh

Oba-san

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

Re: Limiting USPS/ first class Domestic/International shipping if over a certain weight

Do you get any debug logs in the /logs directory?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

20 Nov 2013, 1:25 AM
#16
ajeh avatar

ajeh

Oba-san

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

Re: Limiting USPS/ first class Domestic/International shipping if over a certain weight

You posted earlier:

@version $Id: usps.php 2013-07-28 ajeh $ Version J 2013-07-28

is that from the file:
/includes/modules/shipping/usps.php

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

20 Nov 2013, 1:41 AM
#17
asharp01 avatar

asharp01

New Zenner

Join Date:
Nov 2013
Posts:
37
Plugin Contributions:
0

Re: Limiting USPS/ first class Domestic/International shipping if over a certain weight

@version $Id: usps.php 2013-07-30 ajeh Version J5 $
This is from that file

20 Nov 2013, 1:43 AM
#18
ajeh avatar

ajeh

Oba-san

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

Re: Limiting USPS/ first class Domestic/International shipping if over a certain weight

Do you get any debug logs in:
/logs

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

20 Nov 2013, 1:46 AM
#19
asharp01 avatar

asharp01

New Zenner

Join Date:
Nov 2013
Posts:
37
Plugin Contributions:
0

Re: Limiting USPS/ first class Domestic/International shipping if over a certain weight

Turned on the debug in logs and I received nothing

20 Nov 2013, 1:47 AM
#20
asharp01 avatar

asharp01

New Zenner

Join Date:
Nov 2013
Posts:
37
Plugin Contributions:
0

Re: Limiting USPS/ first class Domestic/International shipping if over a certain weight

no error messages... Just that First class option doesn't show up..