Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Handling Fee for USPS


Don7Qf

Recommended Posts

  • 6 years later...

I know this is an OLD post, but I'm having the same issue...anyone got an idea, or know what may be causing the issue?

Edited by chimol

Steve

I appreciate all the help that everyone on this site has given me!

Link to comment
Share on other sites

I know this is an OLD post, but I'm having the same issue...anyone got an idea, or know what may be causing the issue?

 

Simple question. You did set the handling fee in admin?

If you did then this is where the handling fee is processed in usps.php

 

    if (($method == '' && in_array($type, $this->types)) || $method == $type) {
       if (strpos($type, "Flat Rate")) $type_flat = $type . ', subject to verification';
       else $type_flat = $type;
              $methods[] = array('id' => $type,
                              'title' => $type_flat,
                              'cost' => ($cost + MODULE_SHIPPING_USPS_HANDLING) * $shipping_num_boxes);
           }
         }

 

If your fee is set and the line with "MODULE_SHIPPING_USPS_HANDLING" has not been modified then it should work.

NOTE: Above is set to not adding a handling fee to a flat rate shipping fee. If you want to charge a handling fee for that service than some additional coding would need to be done.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...