Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problems with USPS 4_3_2 (no international options in admin)


insanerc

Recommended Posts

Hey all,

 

I know this is a problem some have had, but the only fix I have seen was to manually go into mysql and change the set_function type to text, which I have done. Everything else looks good except for the no international options in admin. All it show there is "Int'l Shipping Methods" with nothing underneath.

 

I have no errors showing and have gone over the install several times. I have also search this forum until I am blue in the face with no luck. If my answer's posted here I sure can't find it. Now my last resort. HELP PLEASE!

 

David

 

PS. I don't know if I should post up some code or not. Thought I should ask first as both usps.php files are the standard drop ins, and the other files are modified per 4_3_2 instructions.

Link to comment
Share on other sites

I just wanted to let everyone know that I figured it out. :shifty: What I had to do was eliminate some of the international methods to make my line of code shorter in includes/modules/shipping/usps.php. Now it reads:

 

 

tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Int\'l Shipping Methods', 'MODULE_SHIPPING_USPS_TYPES_INTL', 'GLBL EX, GLBL EX NONDOC RECT, EXPRESS INT, PRIORITY INT, FIRST-CLASS INT', 'Select the international services to be offered:', '6', '15', 'tep_cfg_select_multioption(array(\'Global Express Guaranteed (GXG)\', \'Global Express Guaranteed Non-Document Rectangular\', \'Express Mail International\', \'Priority Mail International\', \'First-Class Mail International Package\'), ', now())");

 

and works just great! There's only 5 options here, but it really covers what I want.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...