Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Nov 2010
    Posts
    2
    Plugin Contributions
    0

    Default USPS Flat Rate not an option

    We will be using only USPS for our shipping. We have tested the USPS module and it is working and live. However, there isn't an option for USPS flat rate on domestic ($4.95) It is showing a flat rate for International. How do we get the USPS flat rate as an option?

    (We are using v1.3.9h)

    Thank you.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: USPS Flat Rate not an option

    You can customize your USPS shipping module:
    /includes/modules/shipping/usps.php

    and set the size of the box for Priority ...
    Code:
              //PRIORITY MAIL OPTIONS
              if ($key == 'PRIORITY'){
                $this->container = ''; // Blank, Flate Rate Envelope, or Flat Rate Box // Sm Flat Rate Box, Md Flat Rate Box and Lg Flat Rate Box
    
              }
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Jul 2007
    Location
    Western New York
    Posts
    48
    Plugin Contributions
    0

    Default Re: USPS Flat Rate not an option

    Linda, what if I am using Zen Cart 1.3.8a? I can't find that string of wording & I don't want to insert it in the wrong place/where it won't list the rates.

    Thanks!
    [FONT="Georgia"]Knotty By Nature, Custom Fine Silver Jewelry[/FONT]
    http://www.knottybynature-ny.com

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: USPS Flat Rate not an option

    The valid USPS shipping module for January 2, 2011 C, regardless of your Zen Cart version, is on post #26 on this thread:
    http://www.zen-cart.com/forum/showth...059#post978059

    You can look in the file for the code ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Jul 2007
    Location
    Western New York
    Posts
    48
    Plugin Contributions
    0

    Default Re: USPS Flat Rate not an option

    Sigh...got the new module to load, only to find out it only expands the international priority flat rate options. i am looking for domestic only...the changes i made did not work. what could i be doing wrong?
    [FONT="Georgia"]Knotty By Nature, Custom Fine Silver Jewelry[/FONT]
    http://www.knottybynature-ny.com

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: USPS Flat Rate not an option

    What is it that you are wanting the USPS module to do for Domestic?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Feb 2011
    Posts
    2
    Plugin Contributions
    0

    Default Re: USPS Flat Rate not an option

    Hi Ajeh,

    I'm not getting USPS Flat Rate quotes either. I don't know php, but tried the following code. It doesn't work, it only selects the Small Box Rate. I can get the 'else' statement to assign the shipping rate to Large Flat Rate Box if I change < to >. I'm thinking $usps_shipping_weight is close to zero?

    //PRIORITY MAIL OPTIONS
    if ($key == 'PRIORITY')
    {
    if ($usps_shipping_weight < 5)
    {
    $this->container = 'Sm Flat Rate Box';
    }
    else if ($usps_shipping_weight < 10)
    {
    $this->container = 'Md Flat Rate Box';
    }
    else
    {
    $this->container = 'Lg Flat Rate Box';
    }
    }
    What can I change in the script to implement Flat Rate Shipping? I did install the updated usps.php but only get flat rate quotes for international shipping.

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: USPS Flat Rate not an option

    The variable $usps_shipping_weight is not defined at that point ...

    Add above your IF statement:
    Code:
    global $shipping_weight;
    Then, change all of the $usps_shipping_weight to $shipping_weight ... see if that works better for you ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #9
    Join Date
    Feb 2011
    Posts
    2
    Plugin Contributions
    0

    Default Re: USPS Flat Rate not an option

    That did it! Thank you so much!

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: USPS Flat Rate not an option

    Thanks for the update that you were able to fix this by using the correct weight variable ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. USPS Flat Rate Option
    By Page in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 29 Mar 2011, 01:59 PM
  2. USPS Flat Rate Boxes
    By noderaser in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 6 Sep 2010, 09:25 PM
  3. Help flat rate shipping option not displayed for customer
    By spidercreations in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 27 Oct 2009, 03:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg