Zen Cart Logo
Forums / Managing Customers and Orders / Rush/Priority Handling Charge

Rush/Priority Handling Charge

Views: 35,789

Results 1 to 20 of 56
02 Nov 2006, 00:39
#1
mlankeit avatar

mlankeit

New Zenner

Join Date:
Nov 2006
Posts:
19
Plugin Contributions:
0

Rush/Priority Handling Charge

I need a way to allow users to specify "rush handling" and add an appropriate handling charge at checkout time. I couldn't find any work in progress or previously discussed solution.

So far, the best work-around I can think of is to setup a virtual product called "rush handling" and make this available via a sidebox (either customize the shopping cart box or add a new one).

Any other ideas?

Thx.

02 Nov 2006, 03:00
#2
ajeh avatar

ajeh

Oba-san

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

Re: Rush/Priority Handling Charge

What Shipping Module(s) are you using now?

02 Nov 2006, 07:05
#3
mlankeit avatar

mlankeit

New Zenner

Join Date:
Nov 2006
Posts:
19
Plugin Contributions:
0

Re: Rush/Priority Handling Charge

Default 1.3.5 install. Enabled shipping modules are UPS and USPS.

Let me clarify... Customers can pick shipping priorities just fine, such as next-day-air vs. ground. Also, I have defined a standard handling charge in both my shipping modules that should be added to every order regardless.

I now would like to offer "rush processing" internal to my company, hence the additional handling charge. Ideally, the customer should be able to select this at checkout time, and it should show as a separate line item (similar to either tax or shipping charges), regardless of carrier used or shipping priority specified.

Thx.

02 Nov 2006, 08:34
#5
mlankeit avatar

mlankeit

New Zenner

Join Date:
Nov 2006
Posts:
19
Plugin Contributions:
0

Re: Rush/Priority Handling Charge

Thx. On the surface it looks similar to what I'm looking for. I'll take a closer look tomorrow (later today).

Either way, adding shipping insurance was on my to-do list, so thx for the pointer!

03 Nov 2006, 19:29
#6
mlankeit avatar

mlankeit

New Zenner

Join Date:
Nov 2006
Posts:
19
Plugin Contributions:
0

Re: Rush/Priority Handling Charge

Quick followup...

Using the Shipping Insurance module as a jump-board worked like a charm. The biggest change was with how taxes are shown. The Shipping Insurance module by default adds any taxes directly into the insurance charge. For my purposes, I wanted to advertise a set charge, so with this default functionality, it made it look like I said $5 on one page, but on the order it shows as $5.50. To fix this, I added an option to have any taxes be added to the appropriate tax-class line on the order total.

In case others may want similar functionality, I have submitted the Priority Order Handling module to the downloads area. It is now available from this link:

http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_51&products_id=356

Thx again for the help!

12 Feb 2007, 18:29
#7
signs avatar

signs

Zen Follower

Join Date:
Jun 2006
Posts:
128
Plugin Contributions:
0

Re: Rush/Priority Handling Charge

Thanks for creating this mod! I have it installed and it works like a charm. I've had 4 orders in the past 2 weeks for which the customer opted to use this feature.

My new dilemma is this:
I need a way for orders to be searchable to find ones that have "Priority Handling" included. A search via admin on the orders page doesn't come up with anything. For now I have to go thru the orders one by one to be sure I am not overlooking those orders for which the customer paid this extra fee.

Anyone know of a way to make the orders searchable to find ones with Priority Handling? It would make life so much simpler. :yes:

13 Feb 2007, 07:36
#8
mlankeit avatar

mlankeit

New Zenner

Join Date:
Nov 2006
Posts:
19
Plugin Contributions:
0

Re: Rush/Priority Handling Charge

You are right that it is a bit of a dilemma... There is a separate table that tracks order totals, and the module simply inserts the priority handling charge there. Since the mechanism defines it separated from the order header, a search does not bring it up. This is not unusual... try searching for "ground" (or some other shipping method) or try searching for something from a line-item, such as a product title--same result.

Make a long story short, it would be somewhat of a hairball to display the priority status on the order summary page for the admin view because the architecture has it separated. If you feel adventurous, you can play with ./admin/orders.php, but don't expect a quick one-liner solution.

If you're comfortable with doing MySQL queries, you can try this:
SELECT orders_id FROM orders_total WHERE class = 'ot_handling'

Otherwise, I'd suggest using a separate status as a work-around. Make a status that easily identifies the order as a "priority" order to you. When a new order is received, you should review it in detail as part of your normal process anyway--at this time, you will see the priority handling charge as one of the totals. Set the status to "priority processing" for those order that paid for it, otherwise set it to just "processing." Now, you can see at a glance which orders are pending and which have priority.

Cheers,

markus

13 Feb 2007, 19:35
#9
dogtags avatar

dogtags

Totally Zenned

Join Date:
Nov 2003
Posts:
876
Plugin Contributions:
1

Re: Rush/Priority Handling Charge

Priority Handling Rate Scale

Vary priority handling rate based on order value/size

Would be great if the Priority Handling charge could have some sliding scale feature based on order value perhaps

Thanks :smile:

13 Feb 2007, 20:55
#10
mlankeit avatar

mlankeit

New Zenner

Join Date:
Nov 2006
Posts:
19
Plugin Contributions:
0

Re: Rush/Priority Handling Charge

Actually, this is already built into the module. You can setup either a percentage scale or build flat tiers, and the rate charged will vary based on the order sub-total.

Cheers,

markus

12 Dec 2007, 22:22
#11
swan avatar

swan

New Zenner

Join Date:
Jan 2007
Posts:
16
Plugin Contributions:
0

Re: Rush/Priority Handling Charge

Priority breaks in zen cart 1.3.8. I rely heavily on this, any chance of an update soon?

12 Dec 2007, 22:30
#12
mlankeit avatar

mlankeit

New Zenner

Join Date:
Nov 2006
Posts:
19
Plugin Contributions:
0

Re: Rush/Priority Handling Charge

Thx for the heads-up. I have not had a chance to upgrade my site to 1.3.8, but plan on doing so before year-end. I will investigate the problem and release a fix as soon as possible.

-ml

13 Dec 2007, 05:32
#13
swan avatar

swan

New Zenner

Join Date:
Jan 2007
Posts:
16
Plugin Contributions:
0

Re: Rush/Priority Handling Charge

mlankeit:

Thx for the heads-up. I have not had a chance to upgrade my site to 1.3.8, but plan on doing so before year-end. I will investigate the problem and release a fix as soon as possible.

-ml

I'm SOOO relieved that you're as responsive as you are! If I can offer any help (access to my site, whatever), let me know.

Kevin

kevin at kiss wedding books daut com

13 Dec 2007, 23:21
#15
swan avatar

swan

New Zenner

Join Date:
Jan 2007
Posts:
16
Plugin Contributions:
0

Re: Rush/Priority Handling Charge

I don't see 1.2?

14 Dec 2007, 00:56
#16
mlankeit avatar

mlankeit

New Zenner

Join Date:
Nov 2006
Posts:
19
Plugin Contributions:
0

Re: Rush/Priority Handling Charge

swan:

I don't see 1.2?

I submitted the new package about 1am last night--typically it takes 1-2 days before the moderator approves & posts it. It should show up later today or tomorrow.

Cheers,

-ml

01 Apr 2008, 02:41
#17
jonathanbee avatar

jonathanbee

New Zenner

Join Date:
Oct 2007
Posts:
19
Plugin Contributions:
0

Re: Rush/Priority Handling Charge

Hello,

I am trying to modify this module so that I can have 3 handling options. 0%, 20%, and 40%. I have edited the config options so that these exist:
MODULE_ORDER_TOTAL_PRIORITY_HANDLING_PER
MODULE_ORDER_TOTAL_PRIORITY_HANDLING_PER2
MODULE_ORDER_TOTAL_PRIORITY_HANDLING_PER3

I'm just not sure how to edit this section to handle 2 additional buttons:

function credit_selection()
{
$selected = (($_SESSION['priority_handling'] == '1') ? true : false);

    $selection = array('id' => $this->code, 'module' => $this->title,
    'redeem_instructions' => MODULE_ORDER_TOTAL_PRIORITY_HANDLING_TEXT_DESCR.'<br><br>',
    'fields' => array(array('field' => zen_draw_radio_field('opt_priority_handling','1', $selected), 
    'title' => MODULE_ORDER_TOTAL_PRIORITY_HANDLING_TEXT_ENTER_CODE)));
    	        
    return $selection;
}

Any advice would be VERY appreciated.

01 Apr 2008, 06:36
#18
mlankeit avatar

mlankeit

New Zenner

Join Date:
Nov 2006
Posts:
19
Plugin Contributions:
0

Re: Rush/Priority Handling Charge

Are you saying you have multiple priority-like services and want to allow the user to pick a-la-carte? If so, the easiest would be to duplicate the module for each of your services, which boils down to a bunch of search-and-replace for each.

If this is not what you are after, please explain what you are trying to do... buttons don't make sense in this context the way you describe them.

01 Apr 2008, 09:08
#19
jonathanbee avatar

jonathanbee

New Zenner

Join Date:
Oct 2007
Posts:
19
Plugin Contributions:
0

Re: Rush/Priority Handling Charge

Thanks for your reply. I'm trying to add 3 radio buttons, instead of the single checkbox that this module has.

I tried to duplicate the module as you suggested, but the 2nd duplicated check box option was all that appeared.

I was hoping there might be an easier way than editing the tpl_checkout_payment_default.php file.

02 Apr 2008, 04:58
#20
mlankeit avatar

mlankeit

New Zenner

Join Date:
Nov 2006
Posts:
19
Plugin Contributions:
0

Re: Rush/Priority Handling Charge

... unfortunately, this doesn't help in explaining your scenario ... Let me try to explain...

When you install the module, you can activate it and configure it--but once it is set, it is set for your zen-cart implementation until you decide to modify it again. So, if you want to have the option of choosing a percentage, then choose "percentage" and enter the percentage you want the module to use (20, 30, etc.). Once you click on "update," this calculation for this service charge would be whatever percentage you elected of the order sub-total.

What I'm hearing from you is that you want to have the option to change this percentage, which you can do right now by typing in the percentage amount you want. Replacing this text field with a series of radio-buttons up doesn't really enhance anything--in fact, it removes functionality--which is why I don't understand your reason for pursuing this...

Anyway, look at how the charge type is implemented and duplicate this for the percentage text-box. Hope this helps!