Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 02-22-2007 13:51:51

LexFrost
Member
Registered: 07-22-2005
Posts: 48

USPS International Shipping

I have looked everywhere I can think of but I cannot find any International Shipping options for USPS. In the Home > ClickCartPro > Shipping: Realtime Shippers and Custom Shipping Methods > Manage Realtime Shipping Services - I only see 5 USPS options (Express Mail, First Class Mail, Media Mail, Parcel Post, Priority Mail) but none of them are international. Am I missing something or was the International shipping over looked?

Thank you,

Lex

Offline

 

#2 02-23-2007 15:08:44

LexFrost
Member
Registered: 07-22-2005
Posts: 48

Re: USPS International Shipping

Bump

Offline

 

#3 03-01-2007 14:56:00

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19871
Website

Re: USPS International Shipping

USPS International shipping options are dynamic in nature and transmitted by USPS during the rate request.  They do not exist within CCP6 anywhere as they are sent down from USPS directly.


Nick Hendler

Offline

 

#4 04-17-2007 00:37:22

MBM
Member
Registered: 04-08-2005
Posts: 24

Re: USPS International Shipping

So am I correct in assuming that we do NOT have a choice on how we will ship to our international customers via USPS? At this point we have to give our international shipping customers all of the below choices and we would prefer to only offer airmail letter post.

Here's the list of the choices our international customers currently have
USPS Airmail Letter Post - $2.50
USPS Economy (Surface) Letter Post - $2.85
USPS Global Priority Mail - Flat-rate Envelope (Small) - $4.25
USPS Global Priority Mail - Variable Weight (Single) - $6.25
USPS Global Priority Mail - Flat-rate Envelope (Large) - $7.50
USPS Global Express Mail (EMS) - $16.25
USPS Global Express Guaranteed Document Service - $25.25
USPS Global Express Guaranteed Non-Document Service - $38.00

Last edited by MBM (04-17-2007 02:02:23)

Offline

 

#5 05-08-2007 18:11:29

goose
Member
Registered: 05-08-2007
Posts: 50

Re: USPS International Shipping

I too require choices on International shipping by usps since the choices
are overkill and confusing. There must be a way to limit these. I see 10 shipping options.
A little thing like this undermines the ease of use this cart offers.

Offline

 

#6 09-20-2007 13:35:05

onepm_amcgrath
Member
Registered: 07-31-2007
Posts: 19

Re: USPS International Shipping

Bump

anyone find a solution to this?

Offline

 

#7 09-24-2007 20:35:31

kiwimum
Member
Registered: 03-30-2004
Posts: 305
Website

Re: USPS International Shipping

Wow, is there no way to delete some international shipping options?  We have international customers selecting a "Flat Rate Envelope" for orders that absolutely will not fit in a flat rate envelope.  We really need to disable this option.


Jessica
:: CCP5 > CCP6 > Magento > CCP7

Offline

 

#8 09-25-2007 00:12:33

kiwimum
Member
Registered: 03-30-2004
Posts: 305
Website

Re: USPS International Shipping

Woo!  We found a fix - I swear, I would be utterly LOST if I didn't happen to have a brother well versed in php and other programming whatevers.

We wanted to eliminate/disable the following as options for international customers:

USPS Express Mail International (EMS) Flat Rate Envelope
USPS Priority Mail International Flat Rate Box
USPS Global Express Guaranteed Non-Document Non-Rectangular

Here are my brother's instructions:

This was written for carts with multiple delivery addresses disabled.  If you allow people to ship their orders to multiple addresses this will have to be changed.

Home > ClickCartPro > Displays: Skins, Menus, XHTML Includes and Messages > Manage XHTML Includes >
(or if you want to edit the file directly, it's /[private dir]/apps/ccp0/CCP/includes/coshipinfo.php)

Find this:

Code:

$address = $this->include_namespace($app,'getaddress',array('address' => $addbook[$iteminfo['deladd']], 'format' => 'XHTML'));

And  this above or below it:

Code:

$delivery_country = $addbook[$iteminfo['deladd']]['country'];

Then find this:

   

Code:

  foreach ($shipopts as $num => $options) {

               $fieldcount++;

               $fieldid = $app . '--coform--' . $delgroup . '--' . $fieldcount;

               print '<p class="hidden"><label for="' . $fieldid . '">Delivery Method ' . $fieldcount;
               print '</label></p>' . $eol;

               print '<p class="khxc_formfieldp">';

               $name  = $app . '--coform--' . $delgroup;
               $value = $num;

               print '<input class="khxc_formfieldradcb" type="radio" name="';
               print $name . '" id="' . $fieldid . '" value="' . $num . '"';
               if (!(empty($options['selected']))) {print ' checked="checked"';}
               print ' />' . $eol;

               print $this->xhtml_encode($options['name']);

               if (!(empty($options['mark']))) {

                    if ($options['mark']     == 'R') {print '<sup>&reg;</sup>';}
                    elseif ($options['mark'] == 'T') {print '<sup>TM</sup>';}
                    elseif ($options['mark'] == 'S') {print '<sup>SM</sup>';}

               } // End of if statement.

               $price = $freetext;

               if ($options['amount'] > 0) {

                    $price = $this->include_namespace($app,'getprice',$options['amount']);

                } // End of if statement.

                print ' - ' . $this->xhtml_encode($price);

                print '</p>' . $eol;
                
          } // End of foreach statement.

and  it to this:

This part may be a bit confusing I guess.  First you define the countries, then you define the shipping methods you want to exclude from all OTHER countries (not the ones listed).

         

Code:

 foreach ($shipopts as $num => $options) {

               // Important! Make sure the hard coded countries on the following line fit your needs.
               $country_in_array = in_array($delivery_country, array('United States', 'US Minor Outlying Islands', 'Puerto Rico'));

               // Important! Make sure the hard coded excluded shipping rates fit your needs.  This filters out anything with the words "flat rate" and also the longer "USPS Global..."
               if( $country_in_array || ( ! $country_in_array && strpos($options['name'], 'Flat Rate') === false && strpos($options['name'], 'USPS Global Express Guaranteed Non-Document Non-Rectangular') === false ) ) {

                   $fieldcount++;
    
                   $fieldid = $app . '--coform--' . $delgroup . '--' . $fieldcount;
    
                   print '<p class="hidden"><label for="' . $fieldid . '">Delivery Method ' . $fieldcount;
                   print '</label></p>' . $eol;
    
                   print '<p class="khxc_formfieldp">';
    
                   $name  = $app . '--coform--' . $delgroup;
                   $value = $num;
    
                   print '<input class="khxc_formfieldradcb" type="radio" name="';
                   print $name . '" id="' . $fieldid . '" value="' . $num . '"';
                   if (!(empty($options['selected']))) {print ' checked="checked"';}
                   print ' />' . $eol;
    
                   print '<label for="' . $fieldid . '">' . $this->xhtml_encode($options['name']) . '</label>'; //this change wasn't necessary for the shipping filter, but it's useful.
    
                   if (!(empty($options['mark']))) {
    
                        if ($options['mark']     == 'R') {print '<sup>&reg;</sup>';}
                        elseif ($options['mark'] == 'T') {print '<sup>TM</sup>';}
                        elseif ($options['mark'] == 'S') {print '<sup>SM</sup>';}
    
                   } // End of if statement.
    
                   $price = $freetext;
    
                   if ($options['amount'] > 0) {
    
                        $price = $this->include_namespace($app,'getprice',$options['amount']);
    
                    } // End of if statement.
    
                    print ' - ' . $this->xhtml_encode($price);
    
                    print '</p>' . $eol;
                
                } // End of if statement.

          } // End of foreach statement.

Hope that helps someone!


Jessica
:: CCP5 > CCP6 > Magento > CCP7

Offline

 

#9 09-17-2008 08:45:02

modkid
Member
Registered: 06-24-2007
Posts: 19
Website

Re: USPS International Shipping

I really need to limit my USPS international shipping options as well.  We don't sell anything that fits in an envelope.  However, the script above did not work for me.  Does anyone have another workaround?

Offline

 

Board footer