Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 57
  1. #41
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    67,322
    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.3]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  2. #42
    Join Date
    Aug 2011
    Posts
    20
    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
    67,322
    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.3]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  4. #44
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    3,339
    Plugin Contributions
    31

    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
    67,322
    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.3]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  6. #46
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    8,826
    Plugin Contributions
    31

    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
    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
    3,339
    Plugin Contributions
    31

    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
    8,826
    Plugin Contributions
    31

    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
    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
    8,826
    Plugin Contributions
    31

    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
    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
    3,339
    Plugin Contributions
    31

    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. v139h USPS January 22, 2012
    By joejoejoe in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 24 Jan 2012, 04:25 AM
  2. USPS January 22, 2012
    By Ajeh in forum Zen Cart Release Announcements
    Replies: 0
    Last Post: 22 Jan 2012, 05:15 AM
  3. How do I change USPS parcel post price vs.1.3.9a?
    By Fred E. Smith in forum General Questions
    Replies: 1
    Last Post: 15 May 2010, 05:27 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. Replies: 7
    Last Post: 7 May 2007, 03:50 AM

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
  •