Page 4 of 6 FirstFirst ... 23456 LastLast
Results 31 to 40 of 52
  1. #31
    Join Date
    Feb 2011
    Posts
    89
    Plugin Contributions
    0

    Default Re: Handling Fee as Percentage?

    Ya, this:

    $methods[] = array('id' => $type,
    'title' => $title,
    'cost' => ($cost * $shipping_num_boxes)+($order->info['subtotal'] * .03 + 1.75) + (MODULE_SHIPPING_USPS_HANDLING_METHOD == 'Box' ? $usps_handling_fee * $shipping_num_boxes : $usps_handling_fee) );

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

    Default Re: Handling Fee as Percentage?

    Could you go to your Admin and look in Modules ... Order Total ... and click on Subtotal ot_subtotal and make sure it is installed ...

    Also change your echo in the USPS shipping module to:
    Code:
    echo 'I See USPS type: ' . $type . ' order subtotal: ' . $order->info['subtotal'] . ' Cost: ' . $cost . ' Extra: ' . ($order->info['subtotal'] * .03 + 1.75) . ' = ' . (($order->info['subtotal'] * .03 + 1.75) + $cost) . '<br>';
    what comes up?
    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!

  3. #33
    Join Date
    Feb 2011
    Posts
    89
    Plugin Contributions
    0

    Default Re: Handling Fee as Percentage?

    Ya installed:

    Order Sub-Total

    This module is installed
    true

    Sort Order
    100

    ****************************

    Ok changed echo:

    I See USPS type: EXPRESS order subtotal: Cost: 31.25 Extra: 1.75 = 33
    I See USPS type: PRIORITY order subtotal: Cost: 5.65 Extra: 1.75 = 7.4
    I See USPS type: PARCEL order subtotal: Cost: 5.55 Extra: 1.75 = 7.3


    Estimate Shipping Costs
    Total Items: 1 Amount: $140.00
    Country: Please Choose Your Country United States Australia Canada United Kingdom United States Minor Outlying Islands
    State/Province: Please select ...AlabamaAlaskaAllAmerican SamoaArizonaArkansasArmed Forces AfricaArmed Forces AmericasArmed Forces CanadaArmed Forces EuropeArmed Forces Middle EastArmed Forces PacificCaliforniaColoradoConnecticutDelawareDistrict of ColumbiaFederated States Of MicronesiaFloridaGeorgiaGuamHawaiiIdahoIllinoisIndianaInternationalIowaKansasKen tuckyLouisianaMaineMarshall IslandsMarylandMassachusettsMichiganMinnesotaMississippiMissouriMontanaNebraskaN evadaNew HampshireNew JerseyNew MexicoNew YorkNorth CarolinaNorth DakotaNorthern Mariana IslandsOhioOklahomaOregonPennsylvaniaPuerto RicoRhode IslandSouth CarolinaSouth DakotaTennesseeTexasUtahVermontVirgin IslandsVirginiaWashingtonWest VirginiaWisconsinWyoming

    Post/Zip Code:

    Shipping quotes are based on the address information you selected:
    Maine 04101 United States
    Available Shipping Methods Rates
    Store Pickup (Walk In) $0.00
    United States Postal Service (Parcel Post (4 - 7 days)) $7.30
    United States Postal Service (Priority Mail (2 - 3 days)) $7.40
    United States Postal Service (Express Mail (1 - 2 days)) $33.00
    United Parcel Service (1.00lbs) (Ground) $12.92

    [ Close Window ]

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

    Default Re: Handling Fee as Percentage?

    It does not make a lot of sense ...

    What version of Zen Cart are you using?

    Clean install or an upgrade?

    If you switch to the Classic template does it work in the shipping estimator?
    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!

  5. #35
    Join Date
    Feb 2011
    Posts
    89
    Plugin Contributions
    0

    Default Re: Handling Fee as Percentage?

    Ok, this is weird, if I log in with my testing customer info two different ids both in FL and NY it shows the 1.75 plus 3%, if I'm not logged in it only shows the 1.75....wha??

    I'm using version 1.3.9h clean install, I'm using the classic template, I've just tweeked it to what I want.

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

    Default Re: Handling Fee as Percentage?

    Well this makes it harder to debug ...

    I have tried this code in my v1.3.9h and it works in both the shipping estimator whether I am logged in or not and the checkout ...

    For giggles and grins, go to the Modules ... Shipping ... and click on USPS and EDIT it and save the settings to NotePad ... then, do a REMOVE, INSTALL and reconfigure it ...
    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!

  7. #37
    Join Date
    Feb 2011
    Posts
    89
    Plugin Contributions
    0

    Default Re: Handling Fee as Percentage?

    Ok, removed, re-installed, no change....

    Could something here be the problem:

    Enable USPS Shipping
    True

    Enter the USPS Web Tools User ID
    *************

    Which server to use
    production

    Quote Sort Order
    Price

    Handling Fee - US
    0

    Handling Fee - International
    0

    Handling Per Order or Per Box
    Order

    Decimal Settings
    3

    Tax Class
    --none--

    Tax Basis
    Shipping

    Shipping Zone
    --none--

    Sort Order
    1

    All Packages are Machinable
    True

    USPS Options
    Display transit time

    Domestic Shipping Methods
    EXPRESS, PRIORITY, FIRST CLASS, PARCEL

    International Shipping Methods
    Global Express, Priority Mail International, First Class Mail Int Parcel

    Debug Mode
    Off

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

    Default Re: Handling Fee as Percentage?

    So far nothing is indicating the problem ...

    If you look at the usps.php file, and find the line that starts as:
    Code:
      function quote($method = '') {
    what are the next 2 lines?
    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!

  9. #39
    Join Date
    Feb 2011
    Posts
    89
    Plugin Contributions
    0

    Default Re: Handling Fee as Percentage?

    Code:
    function quote($method = '') {
        // BOF: UPS USPS
        global $order, $shipping_weight, $shipping_num_boxes, $transittime;

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

    Default Re: Handling Fee as Percentage?

    I am not finding a reason for this issue ...

    Without going through your site and checking all of the files, I am not sure what the reason is ...

    You can hide the problem by turning off the shipping estimator or you can see if you can find someone to pursue this further and try to hunt down 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!

 

 
Page 4 of 6 FirstFirst ... 23456 LastLast

Similar Threads

  1. v138a Handling fee
    By WavMixer in forum General Questions
    Replies: 4
    Last Post: 10 Mar 2013, 08:10 PM
  2. Needing an additional percentage handling fee
    By BxC in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 4 Nov 2009, 08:46 PM
  3. Adding Percentage Handling fee UPS
    By halestorm in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 4 Nov 2009, 07:28 PM
  4. percentage (%) based handling charge
    By polarbear in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 29 Jun 2008, 04:14 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