Forums / Addon Shipping Modules / USPS International FirstClass & small FR Valuation notice

USPS International FirstClass & small FR Valuation notice

Locked

Views: 1,490

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
27 Jan 2013, 6:11 PM
#1
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

USPS International FirstClass & small FR Valuation notice

International FirstClass and Small FlatRate packages cannot be used when the value exceeds $400. Can something like the pictured text be added to those choices in the Shipping Estimator and Shipping selector as a notice to International Customers? The notice won't keep the customers from making the selection but at least its there.

Attachment 11841

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

27 Jan 2013, 6:54 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: USPS International FirstClass & small FR Valuation notice

Do you have an URL to documentation that covers the Maximum Value? I am not finding that on the USPS site ... :lookaroun

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!

27 Jan 2013, 7:08 PM
#3
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: USPS International FirstClass & small FR Valuation notice

I'll get it for you. It's buried in the tarriff explanations for the customs forms. I found it by mistake because a Stamps.com bug allowed any class to print regardless of value. When I switched to ShipStation, the $400 limitation would not allow the labels to print but did not give an error. That's when ShipStation send the link to the tariff rules to me.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

27 Jan 2013, 7:17 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: USPS International FirstClass & small FR Valuation notice

Thanks, it would be appreciated, as I am having trouble locating this in the USPS documentation for the Rate Calculator ...

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!

27 Jan 2013, 7:18 PM
#5
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: USPS International FirstClass & small FR Valuation notice

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

27 Jan 2013, 7:25 PM
#6
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: USPS International FirstClass & small FR Valuation notice

I didn't want to muddy up the other threads for the latest update.

I have muddled around and cobbled Marco's USPS mod so that it works for my particular needs after today's update and appreciate being able to peek at your code for help pointing out the direction to take. Logic to remove the choices would be ideal but I'm not capable of that level of editing, so the next best thing that I can think of is a notice of some sort for those International classes.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

27 Jan 2013, 7:33 PM
#7
ajeh avatar

ajeh

Oba-san

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

Re: USPS International FirstClass & small FR Valuation notice

If you get Marco's RateV4 working right you might consider uploading it to our add on plugins to help others who want to use it ... thanks for the docs! :cool:

Gads I so love USPS and their lack of documentation where you expect to find it ... :blink:

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!

27 Jan 2013, 9:20 PM
#8
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: USPS International FirstClass & small FR Valuation notice

Ajeh:

If you get Marco's RateV4 working right you might consider uploading it to our add on plugins to help others who want to use it ...

Done & submitted. Also added your language file to the zip.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

28 Jan 2013, 5:14 AM
#9
ajeh avatar

ajeh

Oba-san

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

Re: USPS International FirstClass & small FR Valuation notice

Thanks for that ...

Also, did you need a change for the Standard Post?

I only glanced at the file quick and did not take the time yet to test it ... I will be doing that in the morning ...

If you find you do need a change, reload it but first stick on your version id line the words:
usps.php

so that it will stands out on the searches for:
usps.php

via the Developers Tool Kit when it needs to check versions etc. ... thanks!

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!

28 Jan 2013, 2:14 PM
#10
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: USPS International FirstClass & small FR Valuation notice

No I didn't. We never used Parcel Post because it was more expensive than First-class and Flatrate products. I probably should have looked at editing that for others though (if the changes were as easy as the International 1st class). If I read the new structure, Standard Post just became a 'Retail only' product and no longer available for printing online.

I'll resubmit after making the change and also correctly adding a new version number to the files.

TNX so much for your help.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

29 Jan 2013, 4:13 PM
#11
ajeh avatar

ajeh

Oba-san

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

Re: USPS International FirstClass & small FR Valuation notice

RixStix:

http://pe.usps.gov/text/imm/immc1_008.htm

Scroll down to 123.61

Attachment 11842

See if adding the code in RED helps with these not showing on >= $400 orders:

            if( !in_array($service, $allowed_types) ) continue;

[B]// Cannot ship over $400
// Priority Mail International Flat Rate Envelope**
// Priority Mail International Small Flat Rate Envelope
// Priority Mail International Small Flat Rate Box**
// First-Class Mail International Letter**
// First-Class Mail International Large Envelope**
// First-Class Package International Service**
[/B]            if ($_SESSION['cart']->total > 400 && strstr($services[$i], 'Priority Mail International Flat Rate Envelope')) continue; // skip value > $400 Priority Mail International Flat Rate Envelope
[B]            if ($_SESSION['cart']->total > 400 && strstr($services[$i], 'Priority Mail International Small Flat Rate Envelope')) continue; // skip value > $400 Priority Mail International Small Flat Rate Envelope
            if ($_SESSION['cart']->total > 400 && strstr($services[$i], 'Priority Mail International Small Flat Rate Box')) continue; // skip value > $400 Priority Mail International Small Flat Rate Box
            if ($_SESSION['cart']->total > 400 && strstr($services[$i], 'First-Class Mail International Letter')) continue; // skip value > $400 First-Class Mail International Letter
            if ($_SESSION['cart']->total > 400 && strstr($services[$i], 'First-Class Mail International Large Envelope')) continue; // skip value > $400 First-Class Mail International Large Envelope
            if ($_SESSION['cart']->total > 400 && strstr($services[$i], 'First-Class Package International Service')) continue; // skip value > $400 First-Class Package International Service
[/B]            // EOF: UPS USPS

I think I have them all in there ...

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!

29 Jan 2013, 9:38 PM
#12
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: USPS International FirstClass & small FR Valuation notice

Thank you Linda. Those work fine for me in your USPS mod.

I don't use them all but if you need to know, the USPS snuck 4 other small FR envelopes into the mix that need the same filtering if you are keeping notes or want to add to your master file.

Attachment 11859

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

30 Jan 2013, 1:41 AM
#13
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: USPS International FirstClass & small FR Valuation notice

Thank you again. With a whole lot of luck and a few edits, I was able get the code functioning in Marco's USPS mod.

I do hope to submit the revision so that others can use it. (once I figure out all the in/outs of a proper submission)

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

14 Mar 2013, 12:56 AM
#14
ajeh avatar

ajeh

Oba-san

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

Re: USPS International FirstClass & small FR Valuation notice

A Test version of the USPS RateV4 for January 27, 2013 is available for testing ...
http://www.zen-cart.com/showthread.p...2013-Version-A

It will hopefully be the final release, based on the testing results and posted in the Add on plugins ...

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!