Forums / Templates, Stylesheets, Page Layout / How to make a flat rate shipping handling fee?

How to make a flat rate shipping handling fee?

Views: 831

Results 1 to 2 of 2
28 May 2011, 6:26 AM
#1
servelan avatar

servelan

New Zenner

Join Date:
Apr 2011
Posts:
45
Plugin Contributions:
0

How to make a flat rate shipping handling fee?

I chose to use flat rate shipping because I usually mail very small, lightweight things, but I also want to charge for handling to cover the cost of packing materials like boxes and bubblewrap. Unfortunately, flat rate shipping has no built in handling fee. Here's my workaround:

Go to includes > languages > english > modules > order_total
Copy ot_loworderfee.php locally
In ot_loworderfee.php, change these two lines:

define('MODULE_ORDER_TOTAL_LOWORDERFEE_TITLE', 'Low Order Fee');
define('MODULE_ORDER_TOTAL_LOWORDERFEE_DESCRIPTION', 'Low Order Fee');

to

define('MODULE_ORDER_TOTAL_LOWORDERFEE_TITLE', 'Handling fee');
define('MODULE_ORDER_TOTAL_LOWORDERFEE_DESCRIPTION', 'Handling fee');

Upload the modified file to includes > languages > english > modules > order_total > foo where 'foo' is your override folder for customizations.

In the admin console, go to Modules > Order Total and click on Low Order Fee. Install if not already installed, set 'allow low order fee' to true, set 'order fee for orders under' to a number you know you'll never reach, like 10000000, set the 'order fee' amount to what you want handling to be, and set the rest of the settings to your liking and click update.

Test to make sure that the new 'handling fee' appears in an order.

28 May 2011, 1:21 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,187
Plugin Contributions:
0

Re: How to make a flat rate shipping handling fee?

Ty for posting the solution ... :smile:

Or you could of just did this:
The Shipping Costs are built as a total ...

You would have to do quite a bit of customization to break them apart ...

Normally it displays as:
Flat Rate (Best Way)

You could change the text in the language file to read
Shipping (Plus Handling)
Flat Rate (Plus $4.95 Handling)

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.