Page 1 of 6 123 ... LastLast
Results 1 to 10 of 52
  1. #1
    Join Date
    Nov 2006
    Posts
    11
    Plugin Contributions
    0

    Default Handling Fee as Percentage?

    Is it possible to make the handling fee a percentage of the actual shipping cost?

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

    Default Re: Handling Fee as Percentage?

    You can customize the Shipping Modules in any manner that you need ...

    On Handling fees, you will see where the constant is used ... change it to treat that as a percentage of the shipping rather than an amount ...
    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. #3
    Join Date
    Apr 2006
    Posts
    29
    Plugin Contributions
    0

    Default Re: Handling Fee as Percentage?

    Zen Cart 1.3.7
    My client wanted to have a 20% handling fee. They are using UPS.
    Here's what I did:

    includes/modules/shipping/ups.php

    changed this line:
    Code:
    'cost' => ($cost + MODULE_SHIPPING_UPS_HANDLING) * $shipping_num_boxes);
    to:
    Code:
    'cost' => ($cost + ($order->info['subtotal'] * MODULE_SHIPPING_UPS_HANDLING)) * $shipping_num_boxes);
    Then in admin: Modules >> Shipping >> UPS I set the handling to .2

  4. #4
    Join Date
    Jun 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: Handling Fee as Percentage?

    jmcdog - this takes a percentage of the total order not a percent of the UPS shipping charge:
    example.
    Checkout total is $20.00
    UPS ground is $5.00

    You method adds $2 (assuming 10% handling) making shipping $7.00.
    What I would like is take 10% of $5.00 making shipping now $5.50.

    The problem I see is that a $200.00 order would pay $20 shipping even if the $20 and $200 order both weigh the same.

    I tried to change some variables around in the ups.php but I am no PHP expert and seemed to always choose the wrong thing.

  5. #5
    Join Date
    Jan 2010
    Posts
    31
    Plugin Contributions
    0

    Default Re: Handling Fee as Percentage?

    Quote Originally Posted by jmcdog View Post
    Zen Cart 1.3.7
    My client wanted to have a 20% handling fee. They are using UPS.
    Here's what I did:

    includes/modules/shipping/ups.php

    changed this line:
    Code:
    'cost' => ($cost + MODULE_SHIPPING_UPS_HANDLING) * $shipping_num_boxes);
    to:
    Code:
    'cost' => ($cost + ($order->info['subtotal'] * MODULE_SHIPPING_UPS_HANDLING)) * $shipping_num_boxes);
    Then in admin: Modules >> Shipping >> UPS I set the handling to .2
    I would like to charge handling fee to my zones rate and zone table rate. Handling fee would be 5% of my total order. it's similar to the above but how should i do the setting?

  6. #6
    Join Date
    Jan 2010
    Posts
    31
    Plugin Contributions
    0

    Default Re: Handling Fee as Percentage?

    i can set handling fee for 5% from my subtotal, but how to set it if i want to charge 5% from subtotal as well as shipping?

    eg.:
    Subtotal $50
    Shipping $10
    Total $60
    I want to charge handling base on $60

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

    Default Re: Handling Fee as Percentage?

    You would need to add the $cost into where the handling fee is calculated ...
    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!

  8. #8
    Join Date
    Sep 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Handling Fee as Percentage?

    Hello- Hope I'm not high jacking this thread but it seemed like the right place to post.


    ---v1.3.9.f
    --- add module two modules by Numinux, Ajax quick checkout and fedex

    The problem is it seems that my site adds $3 per line ordered as a handling fee-

    If you order several items the handling fee gets out of hand.

    here is my site

    vwsunroofs dot com

    thanks

    John

  9. #9
    Join Date
    Sep 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Handling Fee as Percentage?

    Found my problem-- under the order total module- it does not recognize the "%" sign- so it added $3 instead of 3%

    does anyone know how to make it a percent?


    John

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

    Default Re: Handling Fee as Percentage?

    Which Order Total Module are you trying to use a percentage in?
    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 1 of 6 123 ... 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