Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 57
  1. #41
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: USPS Web Tools Price Change Updates 2012

    You have set the Shipping Zone to Washington ... so only those using the Zone Definition for Washington and the DETAILS for it will see the shipping module ...
    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: v1.5.5]
    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!

  2. #42
    Join Date
    Aug 2011
    Location
    Pacific NW
    Posts
    28
    Plugin Contributions
    0

    Default Re: USPS Web Tools Price Change Updates 2012

    I turned the zone off and now it works! My old setup did not have a zone either. I wasn't paying attention...

    Thank you very much for your help!

    Gary

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

    Default Re: USPS Web Tools Price Change Updates 2012

    You are most welcome ... thanks for the update as to the source of the problem ...
    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: v1.5.5]
    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!

  4. #44
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: USPS Web Tools Price Change Updates 2012

    I've installed this update on my v1.5.0 test installation. Is there a way to get more detail for the Priority Mail settings? The products I sell fit into a Priority Mail Flat Rate Envelope quite nicely, but the only Priority Mail quote that comes back from the USPS is a general one (using your own packaging).

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

    Default Re: USPS Web Tools Price Change Updates 2012

    You can change which quote you are getting by customizing the code at:
    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: v1.5.5]
    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!

  6. #46
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: USPS Web Tools Price Change Updates 2012

    How would one go about changing this so that the flat rate can be selected based on the order weight. So basically

    • if the order weight less than or equal to X choose Sm Flat Rate Box
    • if order weight is greater than X but less than Y choose Md Flat Rate Box
    • if order weight is greater than Y choose Lg Flat Rate Box


    My client wants to offer flat rate, but since order sizes vary, we want to choose the most apprpriate flat rate based on the order weight.

    Quote Originally Posted by Ajeh View Post
    You can change which quote you are getting by customizing the code at:
    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
    
              }
    Last edited by DivaVocals; 30 Apr 2012 at 06:12 PM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  7. #47
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: USPS Web Tools Price Change Updates 2012

    Code:
              //PRIORITY MAIL OPTIONS
              if ($key == 'PRIORITY'){
                $weight = $this->pounds*16 + $this->ounces;
                if ($weight <= X) {
                  $this->container = 'Sm Flat Rate Box';
                } elseif ($weight > Y) {
                  $this->container = 'Lg Flat Rate Box';
                } else {
                  $this->container = 'Md Flat Rate Box';
                }
              }
    Haven't tested it, but it "should" work ...

  8. #48
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: USPS Web Tools Price Change Updates 2012

    I could KISS you!!!! this is the second bit of code of your I've used on this site that just ROCKED!!! Just to be clear, I replace "X" and "Y" with the weights I want correct??? (in ounces correct???)

    Quote Originally Posted by lat9 View Post
    Code:
              //PRIORITY MAIL OPTIONS
              if ($key == 'PRIORITY'){
                $weight = $this->pounds*16 + $this->ounces;
                if ($weight <= X) {
                  $this->container = 'Sm Flat Rate Box';
                } elseif ($weight > Y) {
                  $this->container = 'Lg Flat Rate Box';
                } else {
                  $this->container = 'Md Flat Rate Box';
                }
              }
    Haven't tested it, but it "should" work ...
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  9. #49
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: USPS Web Tools Price Change Updates 2012

    Just wanted you to know this works PERFECTLY!!! It's down and dirty, and I LIKE IT!! It will do the trick for my client..

    Quote Originally Posted by lat9 View Post

    Quote Originally Posted by DivaVocals View Post
    How would one go about changing this so that the flat rate can be selected based on the order weight. So basically

    • if the order weight less than or equal to X choose Sm Flat Rate Box
    • if order weight is greater than X but less than Y choose Md Flat Rate Box
    • if order weight is greater than Y choose Lg Flat Rate Box


    My client wants to offer flat rate, but since order sizes vary, we want to choose the most appropriate flat rate based on the order weight.
    Code:
              //PRIORITY MAIL OPTIONS
              if ($key == 'PRIORITY'){
                $weight = $this->pounds*16 + $this->ounces;
                if ($weight <= X) {
                  $this->container = 'Sm Flat Rate Box';
                } elseif ($weight > Y) {
                  $this->container = 'Lg Flat Rate Box';
                } else {
                  $this->container = 'Md Flat Rate Box';
                }
              }
    Haven't tested it, but it "should" work ...
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  10. #50
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: USPS Web Tools Price Change Updates 2012

    Happy to help, DivaVocals. I'm assuming that you figured out that you set X to your lower value and Y to your higher value (in ounces).

 

 
Page 5 of 6 FirstFirst ... 3456 LastLast

Similar Threads

  1. v138a USPS Web Tools Errors
    By raycruzer in forum Addon Shipping Modules
    Replies: 16
    Last Post: 23 Aug 2015, 04:04 PM
  2. v154 USPS Web Tools Updates: May 31, 2015
    By jeking in forum Addon Shipping Modules
    Replies: 15
    Last Post: 2 Jun 2015, 05:37 PM
  3. v139h USPS web tools
    By outwest in forum Built-in Shipping and Payment Modules
    Replies: 12
    Last Post: 28 Apr 2012, 06:59 AM
  4. USPS Web Tools ???
    By vedavyas govardhanam in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 29 Jan 2010, 03:33 PM
  5. RE: USPS Web Tools™ Customers
    By rnet in forum General Questions
    Replies: 4
    Last Post: 3 Oct 2006, 09:04 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR