Handling fee

Locked

Views: 1,574

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
1 Apr 2010, 10:14 PM
#1
hunterheads avatar

hunterheads

New Zenner

Join Date:
Feb 2010
Posts:
9
Plugin Contributions:
0

Handling fee

I would like to add a handling fee using a % of the order.
It seems to me this should be easy, but I can't figure it out.
Any help would be appreciated.
Thanks

1 Apr 2010, 10:15 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Handling fee

What shipping module(s) are you using?

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!

1 Apr 2010, 10:18 PM
#3
hunterheads avatar

hunterheads

New Zenner

Join Date:
Feb 2010
Posts:
9
Plugin Contributions:
0

Re: Handling fee

sorry, found it...:blush:

1 Apr 2010, 10:19 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Handling fee

What was the solution that worked for you? :smile:

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!

1 Apr 2010, 10:30 PM
#5
hunterheads avatar

hunterheads

New Zenner

Join Date:
Feb 2010
Posts:
9
Plugin Contributions:
0

Re: Handling fee

well, now it is not working right. I am using the usps module, and I entered 3% into the handling fee option. It is adding $3 to the shipping cost not 3%.
WHat now?

1 Apr 2010, 10:33 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Handling fee

That is increasing the Shipping Weight by 3% in weight ... not cost ...

You need to customize your shipping module(s) to increase the calculated cost by 3% ...

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!

1 Apr 2010, 11:01 PM
#7
hunterheads avatar

hunterheads

New Zenner

Join Date:
Feb 2010
Posts:
9
Plugin Contributions:
0

Re: Handling fee

ok, how do I do that?

1 Apr 2010, 11:03 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Handling fee

You would need to edit the shipping module(s) you are using and add the 3% to the cost ...

The shipping modules are all located in:
/includes/modules/shipping

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!

1 Apr 2010, 11:11 PM
#9
hunterheads avatar

hunterheads

New Zenner

Join Date:
Feb 2010
Posts:
9
Plugin Contributions:
0

Re: Handling fee

is there a mod to do this, or somewhere I can more detailed instructions?

1 Apr 2010, 11:38 PM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Handling fee

I don't know what shipping module(s) you are using as you refuse to say so I haven't a clue how to help you other than to tell you to adjust the cost in them ...

There a a zillion examples of customizations to shipping modules all throughout the forums ...

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!

1 Apr 2010, 11:44 PM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Handling fee

Silly me ... found what you are using ...

Look in the usps.php shipping module and look at the code:

          $methods[] = array('id' => $type,
                             'title' => $title,
                             'cost' => ($cost * $shipping_num_boxes) + (MODULE_SHIPPING_USPS_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_USPS_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_USPS_HANDLING) );

The $cost is what is being added to each charge and you want to adjust that for the Order Cost plus 3% ...

global $cart;
    $order_total_amount = $_SESSION['cart']->show_total() - $_SESSION['cart']->free_shipping_prices() ;

would give you the order total ...

Add 3% to that then add that amount to the $cost ...

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!

2 Apr 2010, 1:18 AM
#12
hunterheads avatar

hunterheads

New Zenner

Join Date:
Feb 2010
Posts:
9
Plugin Contributions:
0

Re: Handling fee

sorry,...

2 Apr 2010, 1:23 AM
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Handling fee

sorry what? :unsure:

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!

2 Apr 2010, 1:25 AM
#14
hunterheads avatar

hunterheads

New Zenner

Join Date:
Feb 2010
Posts:
9
Plugin Contributions:
0

Re: Handling fee

Thank you for your help, will work on that and get back to you...

2 Apr 2010, 1:31 AM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Handling fee

Not a problem ... let us know how it works out for you ... :smile:

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!