Jump to content

kahml

Members
  • Content count

    107
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Larry Kahm
  1. kahml

    USPS broken again

    I found the following information that may help you out: I'm not certain who maintains the usps.php file you have... Larry
  2. You've got two weeks before the USPS raises rates on all domestic and international postage. These changes are "across the board." Don't be surprised by these changes (when you calculate postage) after Jan 08, 2006. Read more here: http://www.usps.com/ratecase/welcome.htm?f...ation&page=rate Larry
  3. Have you checked all of the settings in your PayPal account to see if anything there is causing the additional $$$ from appearing? Larry
  4. kahml

    Strange Shipping Costs from USPS

    Dang, learn something new about USPS rules & regs every, single, day! Thanks! Larry
  5. kahml

    Strange Shipping Costs from USPS

    It seems - and I used the stand-alone USPS Shipping Assistant so that I could pull the XML request/response information - that the USPS database is messed up for Parcel Post for anything less than 6 ounces in that particular zone. The moment you get to 6 ounces, the rate for PP is $3.75 - which is what you would expect. If you really need to have this corrected, I suggest you send an e-mail to icustomercare@usps.com and give them the specifics so that they can test and correct on their end. Hope that helps! Larry
  6. kahml

    USPS Shipping Module

    Hey thanks! I hadn't even noticed.... No, the USPS guy won't show at your house. All this does is get the rate (domestic or international) to plug into the shipping fee part of your transaction. You still have to print a label [i think there's a contribution to help with this], package the item(s), and ship the package. Larry
  7. kahml

    USPS Shipping Module

    What part of : Access USPS Web Tools Register now to begin using the USPS Web Tools. Sign up for USPS Web Tools. did you not understand?
  8. While I'm at it, I discovered that the following line of code - which the instructions say to add to admin/categories.php - does not have a corresponding DEFINE statement. Somewhere in admin/includes/language/english/categories.php, the following statement is needed: define('TEXT_PRODUCT_METTA_INFO', 'Meta Tag Information'); This will let you see the area heading when you are using admin to add (or browse) a product. Perhaps spelling METTA without two T's could be encouraged... :blink: Larry
  9. Just about done installing this and I have a question about the next to last admin change: Find the following (approx line 768) $languages = tep_get_languages(); for ($i=0, $n=sizeof($languages); $i<$n; $i++) { if (isset($HTTP_GET_VARS['read']) && ($HTTP_GET_VARS['read'] == 'only')) { $pInfo->products_name = tep_get_products_name($pInfo->products_id, $languages[$i]['id']); $pInfo->products_description = tep_get_products_description($pInfo->products_id, $languages[$i]['id']); $pInfo->products_url = tep_get_products_url($pInfo->products_id, $languages[$i]['id']); } else { $pInfo->products_name = tep_db_prepare_input($products_name[$languages[$i]['id']]); $pInfo->products_description = tep_db_prepare_input($products_description[$languages[$i]['id']]); $pInfo->products_url = tep_db_prepare_input($products_url[$languages[$i]['id']]); } Replace with the following $languages = tep_get_languages(); for ($i=0, $n=sizeof($languages); $i<$n; $i++) { if (isset($HTTP_GET_VARS['read']) && ($HTTP_GET_VARS['read'] == 'only')) { $pInfo->products_name = tep_get_products_name($pInfo->products_id, $languages[$i]['id']); $pInfo->products_description = tep_get_products_description($pInfo->products_id, $languages[$i]['id']); $pInfo->products_head_title_tag = tep_db_prepare_input($products_head_title_tag[$languages[$i]['id']]); $pInfo->products_head_desc_tag = tep_db_prepare_input($products_head_desc_tag[$languages[$i]['id']]); $pInfo->products_head_keywords_tag = tep_db_prepare_input($products_head_keywords_tag[$languages[$i]['id']]); $pInfo->products_url = tep_get_products_url($pInfo->products_id, $languages[$i]['id']); } else { $pInfo->products_name = tep_db_prepare_input($products_name[$languages[$i]['id']]); $pInfo->products_description = tep_db_prepare_input($products_description[$languages[$i]['id']]); $pInfo->products_head_title_tag = tep_db_prepare_input($products_head_title_tag[$languages[$i]['id']]); $pInfo->products_head_desc_tag = tep_db_prepare_input($products_head_desc_tag[$languages[$i]['id']]); $pInfo->products_head_keywords_tag = tep_db_prepare_input($products_head_keywords_tag[$languages[$i]['id']]); $pInfo->products_url = tep_db_prepare_input($products_url[$languages[$i]['id']]); } I'm relatively new to PHP (but not to coding), and from the pattern of this If... Else... construct, the first set of statements - in the original code - in the IF section are all performing a tep_get_products_xxx function and in the ELSE section they are all performing a tep_db_prepare_input function. Why is it that the HTC statements in the IF section are in the tep_db_prepare_input format and not the tep_get_products_xxx format? Thanks! Larry
×