Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

USPSMethods 2.6


Guest

Recommended Posts

I've installed this and the USPS is bringing back quotes but- in my admin area it doesn't show any change in modules/shipping so I can't select transit time or shipping methods to be offered. I'm wondering if one of the usps.php files needs to be uploaded somewhere other than specified?

Link to comment
Share on other sites

Never mind- instead of ftp'ing the new files I went into my cpanel and uploaded them and now they're fine. Some had apparently copied fine and 2 others did not.

Link to comment
Share on other sites

I need help, I loaded Master Products into a amost clean OSC 2.2 MS2 and wow, it is just what I needed for some of my products. For me it eliminates attributes all together. Great mod... But.... I had installed USPS Methods 2.6 prior to Master Products and Bam.. As soon as I ran a test order The shipping numbers went kaflooy. So I took a close look at the USPS Methods .php file code and found two identical entries under the install section tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Tax Class', 'MODULE_SHIPPING_USPS_TAX_CLASS', '0', 'Use the following tax class on the shipping fee.', '6', '0', 'tep_get_tax_class_title', 'tep_cfg_pull_down_tax_classes(', now())"); And an extra field I had entered when I modified it to include insurance and other USPS fees for special circumstances. So I removed both. Saved it off site, unloaded USPS from within admin and ftp'd the corrected file up. I then clicked on install and it does. Then I tried to edit, and thats when I got the error message Undefined function tep_cfg_select_multioption() in modules.php 216 and something else XXXX()'d line 1. I can't remember what the four characters were. Anyway comparing the two after the cows have gotten out, it seems both make changes to catalog/admin/includes/functions/general.php and catalog/admin includes/modules.php. I found in general in USPS Methods defines the function tep_cfg_select_multioption() and that seemed to be the only difference. So I loaded a copy of the general.php file from Master Products in my PHP editor and pasted the USPS function in to it. Checked to make sure there wasn't any extra spaces or an extra line at the bottom, to avoid Parsing errors saved it and Ftp'd it up to overwrite the original general.php file supplied with Master Products. I open my browser to admin and I get the stock blue menu, but clicking on any selection only gets you a can't find file error. Open the front end of the cart fine except for a error line across the top of the screen saying install dict prsent in catalog it needs to be removed . What it looks like is a reload of original files and and a re configuration hopefully without touching the database. Then a file by file comparison of the two contributions tp make sure they are compatable. I use USPS Methods 2.6 with my mods and it runs flawlessly. I sure would like to incorporate Master Products with it. But I know I lack the experience and expertise and maybe the resources to compare like files accurately. Any suggestions or solutions would be most appreciated. Let me just say that I am sure my inexperience and the all nighter I pulled surely more than complicated the situation.

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.
Note: Your post will require moderator approval before it will be visible.

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...