Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2011
    Location
    St. Louis, MO
    Posts
    7
    Plugin Contributions
    0

    Default Making Flat Rate SMALL Box Available if only less than 2 pounds

    I only want a Small Flat Rate Box option to show up if their order is less than 2 lbs. For both US and International.

    How would I go about doing this?

    I'm running the most 1.3.9h
    I currently have USPS set up with:

    Domestic Shipping Methods
    PRIORITY, FIRST CLASS, PARCEL

    International Shipping Methods
    Priority Mail International, Priority Mail Int Flat Rate Small Box, Priority Mail Int Flat Rate Med Box

    Thanks for any help

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

    Default Re: Making Flat Rate SMALL Box Available if only less than 2 pounds

    You could customize the code for the Priority to change which container is used based on weight ...

    Currently, the setting is for all orders:
    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
    
              }
    But you could setup a case statement to base which choice is used for the $this->container based on the $this->pounds to set that ...
    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
    Mar 2011
    Location
    St. Louis, MO
    Posts
    7
    Plugin Contributions
    0

    Default Re: Making Flat Rate SMALL Box Available if only less than 2 pounds

    I know nothing of PHP, so how would that code look when finished?

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

    Default Re: Making Flat Rate SMALL Box Available if only less than 2 pounds

    It would require quite a bit of customization ...

    First, to get the right container size in the section I showed you , and then to customize the output on the same conditions for what shipping options are actually displayed ...

    If you are not good at coding, you mayneed to look to hirer a coder to write this 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!

  5. #5
    Join Date
    Mar 2011
    Location
    St. Louis, MO
    Posts
    7
    Plugin Contributions
    0

    Default Re: Making Flat Rate SMALL Box Available if only less than 2 pounds

    Yes, I have tried hiring someone at the freelance site recommended here. Unfortunately, the people that apply never meet the requirements I have set. I'll just see if I can figure it out on my own again.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 23 Nov 2013, 02:38 AM
  2. Show available stock level in cart when less than order
    By Scott Benton in forum General Questions
    Replies: 8
    Last Post: 6 Aug 2013, 04:23 AM
  3. Flat Rate Shipping for Small Items
    By AirsoftOutfitter in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 18 Mar 2010, 10:22 PM
  4. Priority MailŪ International Small Flat-Rate Box
    By Ragenther in forum Built-in Shipping and Payment Modules
    Replies: 11
    Last Post: 15 Feb 2010, 11:03 PM
  5. Show available stock level when less than order
    By Dunk in forum General Questions
    Replies: 4
    Last Post: 10 Feb 2009, 02:39 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