Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

shopgrl

Members
  • Posts

    70
  • Joined

  • Last visited

Posts posted by shopgrl

  1. My shopping cart is not including the shipping charges at the end of checkout. When you first begin the checkout process the shipping charges are shown (usps module), when you continue, the next page leaves off the billing address, just showing a little arrow, you add the billing address, but should not have to since it is usually shows the shipping address that you can change to billing  if it should be different, then you continue checkout, but at the end the shipping charge is left off. If you go back and add a product then the cart asks you to pick a shipping option, then you can continue with the checkout and now the shipping is included. Any ideas on why this is happening. My shop is using osCmax.

  2. On 7/12/2023 at 11:17 PM, ozEworks Support said:

    USPS Rate V4 Intl Rate V2

    I am not sure the change recommended by Smokey is 100% correct as it is only first class parcel that is being change to Ground Advantage, Also I believe that module is missing Retail Ground ... at least the version one client's had did.  Attached is our go at the changes for that module.

     

    usps.php 46.15 kB · 6 downloads

    Will this current module as you have posted work on Phoenix and  oscMax?

  3. My IT guy says he did uninstall and reinstall the module. This is the version he is using:

    /*
    USPS Rate V4 Intl Rate V2
      $Mod: Changed from Parcel Post to Standard Post 20130129 Kymation $
      $Mod: USPS API changes 20130729 Kymation v 1.3 $
      $Mod: USPS API changes 20140310 a.forever $
      $Mod: USPS API changes 20140802 a.forever $
      $Mod: USPS API changes 20140823 Kymation v 1.4 $
      $Mod: USPS API changes 20140907 Kymation & a.forever v 1.5 $

    Copyright (c) 2012 osCbyJetta
    Released under the GNU General Public License
    */

    Would you like me to upload the usps.php file he is using?

  4. 1 hour ago, shopgrl said:

    My website uses the USPS Shipping Module and every time USPS makes a change, the shipping module works, but leaves off some categories. Now it will not show First Class or Ground. I know about the Global Advantage change and my IT guy has implemented the changes in the code, but the module still is only showing USPS Priority and Priority Express. Is there a way to get the correct coding for that module that actually works? I just need to have the new Global Advantage category to show. 

    Quote

    My IT guy takes care of all this. He is in London, so probably won't get back to me until tomorrow. I will let you know if he uninstalled and reinstalled the module, but I think he does, since he has  done this kind of adjustment before. I have the usps.php file if anyone wants to take a look. 

     

  5. My website uses the USPS Shipping Module and every time USPS makes a change, the shipping module works, but leaves off some categories. Now it will not show First Class or Ground. I know about the Global Advantage change and my IT guy has implemented the changes in the code, but the module still is only showing USPS Priority and Priority Express. Is there a way to get the correct coding for that module that actually works? I just need to have the new Global Advantage category to show. 

  6. My website uses osCmax. My usps.php file has this:

     

     if( preg_match( '#First\-Class#', $request_type ) && $this->usps_weight < 16/16 ) {

                $service = 'First Class';

     

    but customers still are not getting quotes for First Class when their cart shows weights of from 14 to 16 ounces. It is showing only Priority Mail. Does something else need to be changed? Shouldn't they be getting quotes for First Class Mail? Otherwise everything works fine.

  7. OK, mine is now working. Just three changes needed for my module:

     

    From this: elseif ($request_type == 'Parcel PostRM') $service = 'PARCEL';

    To this: elseif ($request_type == 'Standard PostRM') $service = 'PARCEL';

     

    Then go to this paragraph:

     

    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 ('Shipping Methods (Domestic and International)', 'MODULE_SHIPPING_USPS_TYPES', '0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00', '<b><u>Checkbox:</u></b> Select the services to be offered<br><b><u>Minimum Weight (lbs)</u></b>first input field<br><b><u>Maximum Weight (lbs):</u></b>second input field<br><br>USPS returns methods based on cart weights. These settings will allow further control (particularly helpful for flat rate methods) but will not override USPS limits', '6', '0', 'tep_cfg_usps_services(array(\'First-Class MailRM Large Envelope\', \'First-Class MailRM Parcel\', \'Media MailRM\', \'Parcel PostRM\', \'Priority MailRM\', \'Priority MailRM Flat Rate Envelope\', \'Priority MailRM Legal Flat Rate Envelope\', \'Priority MailRM Padded Flat Rate Envelope\', \'Priority MailRM Small Flat Rate Box\', \'Priority MailRM Medium Flat Rate Box\', \'Priority MailRM Large Flat Rate Box\', \'Priority MailRM Regional Rate Box A\', \'Priority MailRM Regional Rate Box B\', \'Priority MailRM Regional Rate Box C\', \'Express MailRM\', \'Express MailRM Flat Rate Envelope\', \'Express MailRM Legal Flat Rate Envelope\', \'Express MailRM Flat Rate Boxes\', \'First-Class MailRM International Large Envelope**\', \'First-Class MailRM International Parcel**\', \'Priority MailRM International\', \'Priority MailRM International Flat Rate Envelope**\', \'Priority MailRM International Small Flat Rate Box\', \'Priority MailRM International Medium Flat Rate Box\', \'Priority MailRM International Large Flat Rate Box\', \'Express MailRM International\', \'Express MailRM International Flat Rate Envelope\', \'Express MailRM International Flat Rate Boxes\', \'USPS GXGTM Envelopes**\', \'Global Express GuaranteedRM (GXG)**\'), ', now())");

     

    Change this: \'Parcel PostRM\',

    To this: \'Standard PostRM\',

     

    And this: \'First-Class MailRM International Parcel**\',

    To this: \'First-Class Package International ServiceTM**\',

     

    That's it. It is now showing Parcel Post rates as Standard Post rates and International Package rates, which are quite a bit higher.

     

    Thanks everyone for all your input.

     

    Shopgrl


    •  

  8. OK, mine is now working. Just three changes needed for my module:

     

    From this: elseif ($request_type == 'Parcel PostRM') $service = 'PARCEL';

    To this: elseif ($request_type == 'Standard PostRM') $service = 'PARCEL';

     

    Then go to this paragraph:

     

    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 ('Shipping Methods (Domestic and International)', 'MODULE_SHIPPING_USPS_TYPES', '0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00', '<b><u>Checkbox:</u></b> Select the services to be offered<br><b><u>Minimum Weight (lbs)</u></b>first input field<br><b><u>Maximum Weight (lbs):</u></b>second input field<br><br>USPS returns methods based on cart weights. These settings will allow further control (particularly helpful for flat rate methods) but will not override USPS limits', '6', '0', 'tep_cfg_usps_services(array(\'First-Class MailRM Large Envelope\', \'First-Class MailRM Parcel\', \'Media MailRM\', \'Parcel PostRM\', \'Priority MailRM\', \'Priority MailRM Flat Rate Envelope\', \'Priority MailRM Legal Flat Rate Envelope\', \'Priority MailRM Padded Flat Rate Envelope\', \'Priority MailRM Small Flat Rate Box\', \'Priority MailRM Medium Flat Rate Box\', \'Priority MailRM Large Flat Rate Box\', \'Priority MailRM Regional Rate Box A\', \'Priority MailRM Regional Rate Box B\', \'Priority MailRM Regional Rate Box C\', \'Express MailRM\', \'Express MailRM Flat Rate Envelope\', \'Express MailRM Legal Flat Rate Envelope\', \'Express MailRM Flat Rate Boxes\', \'First-Class MailRM International Large Envelope**\', \'First-Class MailRM International Parcel**\', \'Priority MailRM International\', \'Priority MailRM International Flat Rate Envelope**\', \'Priority MailRM International Small Flat Rate Box\', \'Priority MailRM International Medium Flat Rate Box\', \'Priority MailRM International Large Flat Rate Box\', \'Express MailRM International\', \'Express MailRM International Flat Rate Envelope\', \'Express MailRM International Flat Rate Boxes\', \'USPS GXGTM Envelopes**\', \'Global Express GuaranteedRM (GXG)**\'), ', now())");

     

    Change this: \'Parcel PostRM\',

    To this: \'Standard PostRM\',

     

    And this: \'First-Class MailRM International Parcel**\',

    To this: \'First-Class Package International ServiceTM**\',

     

    That's it. It is now showing Parcel Post rates as Standard Post rates and International Package rates, which are quite a bit higher.

     

    Thanks everyone for all your input.

     

    Shopgrl

  9. My usps.php module shows this:

     

     

    elseif ($request_type == 'Media MailRM') $service = 'MEDIA';

    elseif ($request_type == 'Parcel PostRM') $service = 'PARCEL';

    elseif (preg_match('#Priority MailRM#', $request_type))

     

    What should be changed here? Should it be this:

     

    elseif ($request_type == 'Standard PostRM') $service = 'PARCEL';

     

    or this:

     

    elseif ($request_type == 'Standard PostRM') $service = 'STANDARD';

     

    then farther down on the page I have this:

     

    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 ('Shipping Methods (Domestic and International)', 'MODULE_SHIPPING_USPS_TYPES', '0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00', '<b><u>Checkbox:</u></b> Select the services to be offered<br><b><u>Minimum Weight (lbs)</u></b>first input field<br><b><u>Maximum Weight (lbs):</u></b>second input field<br><br>USPS returns methods based on cart weights. These settings will allow further control (particularly helpful for flat rate methods) but will not override USPS limits', '6', '0', 'tep_cfg_usps_services(array(\'First-Class MailRM Large Envelope\', \'First-Class MailRM Parcel\', \'Media MailRM\', \'Parcel PostRM\', \'Priority MailRM\', \'Priority MailRM Flat Rate Envelope\', \'Priority MailRM Legal Flat Rate Envelope\', \'Priority MailRM Padded Flat Rate Envelope\', \'Priority MailRM Small Flat Rate Box\', \'Priority MailRM Medium Flat Rate Box\', \'Priority MailRM Large Flat Rate Box\', \'Priority MailRM Regional Rate Box A\', \'Priority MailRM Regional Rate Box B\', \'Priority MailRM Regional Rate Box C\', \'Express MailRM\', \'Express MailRM Flat Rate Envelope\', \'Express MailRM Legal Flat Rate Envelope\', \'Express MailRM Flat Rate Boxes\', \'First-Class MailRM International Large Envelope**\', \'First-Class MailRM International Parcel**\', \'Priority MailRM International\', \'Priority MailRM International Flat Rate Envelope**\', \'Priority MailRM International Small Flat Rate Box\', \'Priority MailRM International Medium Flat Rate Box\', \'Priority MailRM International Large Flat Rate Box\', \'Express MailRM International\', \'Express MailRM International Flat Rate Envelope\', \'Express MailRM International Flat Rate Boxes\', \'USPS GXGTM Envelopes**\', \'Global Express GuaranteedRM (GXG)**\'), ', now())");

     

    assume this \'Parcel PostRM\', should be this \'Standard PostRM\',

     

    Is that correct? Then I need to uninstall the module and reinstall it to get the changes to work?

     

    Shopgrl

  10. Hi Jack,

    Since I seem to be having so many problems with running a cron, would installing the Google XML Sitemap Admin Module for osCommerce 2.3.1 be a good option? I added the two files as instructed, but when I go into admin there is nothing in the Dashboard about xml files. I only see these listed: Customers, Orders, Total customers Chart (last 30 days) and Total Revenue Chart (last 30 days.) What am I missing?

  11. I have the Google XML SEO installed for my oscommerce shop. I did not install the software myself. I am running Online Merchant v2.3.1

     

    I am noticing two problems since moving to a new host (InMotion). One is the sitemaps are not updating. Second, the cron job set up to submit the sitemaps is not working. According to the host, it is their mod security that is the problem there.

     

    Is there a way to manually create and then submit a sitemap for an oscommerce shop? I need to bypass the mod security. I assume I can just go into Google and Bing webmaster tools to do that, but first I need to create the correct xml files for an oscommerce shop.

     

    These sitemaps currently exist and are on the server: sitemapindex.xml, sitemapcategories.xml and sitemapproducts.xml. They used to update daily when I was with my previous host. But when I moved (had to, host went out of business) the whole process stopped. The new host claims mod security is messing up the cron job, but why won't the software update the xml files? Is that a cron issue, too?

     

    So, what I need is a way to create the correct xml files for an oscommerce shop, update them regularly and submit them to the search engines. Any suggestions would be welcome.

  12. OK, this is weird. My website host just changed to a new server. It is very fast. But now I am having problems with the USPS shipping calculations. During the day it works just fine, but at night it stops working and gives the error message: An error occured with the USPS shipping calculations. If you would like to use USPS as your shipping method, please contact the store owner. Why would it work during the day but stop at night. Any ideas? I'm using Online Merchant v2.2 RC2.

  13. Hello,

    I've been reading all the posts and am having the same problems many of you are having. I am using osCommerce v2.2 RC2. The shopping cart is working for domestic orders but not for International orders. I had a friend set up my ocCommerce software but she is not available any more and I can't do any modifications myself. Just not PHP literate. How can I find someone who can take care of any modifications to the osCommerce, including this new shipping module issue?

    shopgrl :huh:

  14. Hello,

     

    I use the Paytrace payment module on my oscommerce shopping cart. When my customers are checking out, they have two options: Paytrace or PayPal. Most of them are using PayPal. One customer called to say they didn't understand what Paytrace was so did not realize they could just type in their credit card info and click continue. The word "Paytrace" stumped them. How can I change the word in oscommerce? There are two paytrace.php files. I'm afraid to mess with them, less I cause a problem with checkout. I want to include info for the customers to realize Paytrace is the option for checking out as opposed to PayPal. Any suggestions? :blink:

  15. One of my customers wrote to say that they were having a problem checking out.

     

    They were Canadian. The problem has something to do with the usps.php module. When they check out, they are given a huge array of options for shipping. The array shown on the checkout page is not the same as the array on the php page. I tried to change it, but I got an error and had to replace the original page in order to get it to work again.

     

    I'm not sure what to do. I contacted USPS.com but they just said everything was OK on their end.

     

    Also, when the customer clicks on one of the shipping options, it defaults to the global express option, which is $50. Then they abandon the cart because they can't get it to change. I only need two options for Canadian or overseas shipping and they are Priority Mail International and First-Class Mail International. I don't need Global or Express.

     

    How can I fix it to work?

     

    Thank you.

     

    Jeanne

     

    Here is the list on the usps.php page:

    $this->intl_types = array('Global Express Guaranteed',

    'Global Express Guaranteed Non-Document Rectangular',

    'Global Express Guaranteed Non-Document Non-Rectangular',

    'Express Mail International (EMS)',

    'Express Mail International (EMS) Flat Rate Envelope',

    'Priority Mail International',

    'Priority Mail International Flat Rate Envelope',

    'Priority Mail International Flat Rate Box',

    'First-Class Mail International');

     

    And here is the list on the shopping cart checkout page:

    Shipping Method

    This is currently the only shipping method available to use on this order.

     

    United States Postal Service (1 x 0.62lbs) United States Postal Service

    Global Express Guaranteed $50.00

    Global Express Guaranteed Non-Document Rectangular $50.00

    Global Express Guaranteed Non-Document Non-Rectangular $50.00

    USPS GXG Envelopes $50.00

    Express Mail International (EMS) $30.00

    Express Mail International (EMS) Flat-Rate Envelope $25.95

    Priority Mail International $19.00

    Priority Mail International Flat-Rate Envelope $10.95

    Priority Mail International Regular/Medium Flat-Rate Boxes $25.95

    Priority Mail International Large Flat-Rate Box $32.95

    Priority Mail International Small Flat-Rate Box $10.95

    First Class Mail International Large Envelope $3.83

    First Class Mail International Package

     

    I found this on an earlier post in the forum:

     

    I was having the same problem, and got it to work by replacing this in includes/modules/shipping/usps.php:

     

    $this->types = array('EXPRESS' => 'Express Mail',

    'FIRST CLASS' => 'First-Class Mail',

    'PRIORITY' => 'Priority Mail',

    'PARCEL' => 'Parcel Post');

     

    $this->intl_types = array('GLOBAL EXPRESS' => 'Global Express Guaranteed',

    'GLOBAL EXPRESS NON-DOC RECT' => 'Global Express Guaranteed Non-Document Rectangular',

    'GLOBAL EXPRESS NON-DOC NON-RECT' => 'Global Express Guaranteed Non-Document Non-Rectangular',

    'EXPRESS MAIL INT' => 'Express Mail International (EMS)',

    'EXPRESS MAIL INT FLAT RATE ENV' => 'Express Mail International (EMS) Flat Rate Envelope',

    'PRIORITY MAIL INT' => 'Priority Mail International',

    'PRIORITY MAIL INT FLAT RATE ENV' => 'Priority Mail International Flat Rate Envelope',

    'PRIORITY MAIL INT FLAT RATE BOX' => 'Priority Mail International Flat Rate Box',

    'FIRST-CLASS MAIL INT' => 'First-Class Mail International');

     

    with this:

     

     

    $this->types = array('EXPRESS' => 'Express Mail',

    'FIRST CLASS' => 'First-Class Mail',

    'PRIORITY' => 'Priority Mail',

    'PARCEL' => 'Parcel Post',

    'MEDIA' => 'Media Mail',

    'BPM' => 'Bound Printed Material',

    'LIBRARY' => 'Library'

    );

     

    $this->intl_types = array(

    'Global Express' => 'Global Express Guaranteed',

    'Global Express Non-Doc Rect' => 'Global Express Guaranteed Non-Document Rectangular',

    'Global Express Non-Doc Non-Rect' => 'Global Express Guaranteed Non-Document Non-Rectangular',

    'Global Express Envelopes' => 'USPS GXG Envelopes',

    'Express Mail Int' => 'Express Mail International (EMS)',

    'Express Mail Int Flat Rate Env' => 'Express Mail International (EMS) Flat-Rate Envelope',

    'Priority Mail International' => 'Priority Mail International',

    'Priority Mail Int Flat Rate Env' => 'Priority Mail International Flat-Rate Envelope',

    'Priority Mail Int Flat Rate Box' => 'Priority Mail International Flat-Rate Box',

    'Priority Mail Int Flat Rate Lrg Box' => 'Priority Mail International Large Flat Rate Box',

    'First Class Mail Int Lrg Env' => 'First Class Mail International Large Envelope',

    'First Class Mail Int Package' => 'First Class Mail International Package',

    'First Class Mail Int Letters' => 'First Class Mail International Letters',

    'First Class Mail Int Flats' => 'First Class Mail International Flats',

    'First Class Mail Int Parcels' => 'First Class Mail International Parcels'

    );

     

    I tried it and I think it works. I'll have to wait and see if my Canadian and overseas customers have any more problems.

  16. One of my customers wrote to say that they were having a problem checking out.

     

    They were Canadian. The problem has something to do with the usps.php module. When they check out, they are given a huge array of options for shipping. The array shown on the checkout page is not the same as the array on the php page. I tried to change it, but I got an error and had to replace the original page in order to get it to work again.

     

    I'm not sure what to do. I contacted USPS.com but they just said everything was OK on their end.

     

    Also, when the customer clicks on one of the shipping options, it defaults to the global express option, which is $50. Then they abandon the cart because they can't get it to change. I only need two options for Canadian or overseas shipping and they are Priority Mail International and First-Class Mail International. I don't need Global or Express.

     

    How can I fix it to work?

     

    Thank you.

     

    Jeanne

     

    Here is the list on the usps.php page:

    $this->intl_types = array('Global Express Guaranteed',

    'Global Express Guaranteed Non-Document Rectangular',

    'Global Express Guaranteed Non-Document Non-Rectangular',

    'Express Mail International (EMS)',

    'Express Mail International (EMS) Flat Rate Envelope',

    'Priority Mail International',

    'Priority Mail International Flat Rate Envelope',

    'Priority Mail International Flat Rate Box',

    'First-Class Mail International');

     

    And here is the list on the shopping cart checkout page:

    Shipping Method

    This is currently the only shipping method available to use on this order.

     

    United States Postal Service (1 x 0.62lbs) United States Postal Service

    Global Express Guaranteed $50.00

    Global Express Guaranteed Non-Document Rectangular $50.00

    Global Express Guaranteed Non-Document Non-Rectangular $50.00

    USPS GXG Envelopes $50.00

    Express Mail International (EMS) $30.00

    Express Mail International (EMS) Flat-Rate Envelope $25.95

    Priority Mail International $19.00

    Priority Mail International Flat-Rate Envelope $10.95

    Priority Mail International Regular/Medium Flat-Rate Boxes $25.95

    Priority Mail International Large Flat-Rate Box $32.95

    Priority Mail International Small Flat-Rate Box $10.95

    First Class Mail International Large Envelope $3.83

    First Class Mail International Package

×
×
  • Create New...