Zen Cart Logo
Forums / Addon Shipping Modules / Can Zen Cart Shipping do this?

Can Zen Cart Shipping do this?

Locked

Views: 6,416

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
21 Oct 2006, 8:20 PM
#1
harmonyservice avatar

harmonyservice

New Zenner

Join Date:
Jan 2006
Posts:
20
Plugin Contributions:
0

Can Zen Cart Shipping do this?

I need to setup shipping so that it does the following:

  1. Use the USPS shipping module (already working fine).

  2. Then, if

    A user comes and buys 3 different products.

    Individually all three items would have a handling charge of $5 on top of the USPS charge.

    However, Instead of charging the user a $15 handling fee, I would want the store to calculate the USPS shipping rate and add a percentage of the $15 handling fee, for example 60%.

    This would only apply to orders where multiple items were purchased. All single item orders would have one simple handling fee.

Any help is greatly appreciated.

21 Oct 2006, 9:06 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Can Zen Cart Shipping do this?

You would need to set the handling fee to 5.00 ...

Then check the count on the items in the order, is <= 3 multiple that by the handling fee ... if > 3 ... set the handling fee to 15.00

This can be done in the USPS shipping module where the handling fee is applied and added to the USPS quote ...

23 Oct 2006, 2:21 AM
#3
harmonyservice avatar

harmonyservice

New Zenner

Join Date:
Jan 2006
Posts:
20
Plugin Contributions:
0

Re: Can Zen Cart Shipping do this?

Thanks for the reply Ajeh,

I understand the first sentence but I don't understand this one:

"Then check the count on the items in the order, is <= 3 multiple that by the handling fee ... if > 3 ... set the handling fee to 15.00"

Where do I do this and what is "count on the items?" Where are these settings set?

Thanks again!

23 Oct 2006, 2:41 AM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Can Zen Cart Shipping do this?

You have to look at how the handling fee is used:
MODULE_SHIPPING_USPS_HANDLING

Currently, it takes the (cost + handling) * boxes

          'cost' => ($cost + MODULE_SHIPPING_USPS_HANDLING) * $shipping_num_boxes);

You want to change that:
MODULE_SHIPPING_USPS_HANDLING

1 what to do on number of boxes

2 what to do on per item basis

You have to experiment a bit with your products as weight determins number of boxes ...

And Handling is currently charged per box ...

You can base this on setting the Handling to either the 5.00 and then alter the calculations to compute a "new" Handling based on number of items in the cart ...

Then apply that amount to the cost for this ...

23 Oct 2006, 3:06 PM
#5
harmonyservice avatar

harmonyservice

New Zenner

Join Date:
Jan 2006
Posts:
20
Plugin Contributions:
0

Re: Can Zen Cart Shipping do this?

So all of this configuration will be done by editing the php code?

Are there any settings done in the admin area?

You wrote:

"1. what to do on number of boxes

  1. what to do on per item basis

You have to experiment a bit with your products as weight determins number of boxes ...

And Handling is currently charged per box ...

You can base this on setting the Handling to either the 5.00 and then alter the calculations to compute a "new" Handling based on number of items in the cart ...

Then apply that amount to the cost for this ..."

I don't understand any of this (sorry). What does "what to do on number of boxes" mean? What does "what to do on per item basis" mean? How do you calculate a "new" handling fee based on number of items in the cart?

What do you mean by "Then apply that amount to the cost for this?" To the cost of what?

25 Oct 2006, 2:30 AM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Can Zen Cart Shipping do this?

Currently, the handling charge is applied per box ...

The box is determined by your settings on how big a box can be in the Shipping/Packaging ...

If you have a 10lb limit on largest shipped ... then a 22lb order is 3 boxes ... and that would mean 3 Handling charges ... if used the conventional way ...

25 Oct 2006, 2:43 AM
#7
harmonyservice avatar

harmonyservice

New Zenner

Join Date:
Jan 2006
Posts:
20
Plugin Contributions:
0

Re: Can Zen Cart Shipping do this?

If I tweak the box limit, how would I then force the cart to add only a PERCENTAGE (say 60%) of the 3 handling fees (for example), not the entire handling fee 3 times?

Thanks for your continued help

25 Oct 2006, 4:43 AM
#8
ajeh avatar

ajeh

Oba-san

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

Re: Can Zen Cart Shipping do this?

$new_handling_fee = (MODULE_SHIPPING_USPS_HANDLING * .60);

25 Oct 2006, 2:26 PM
#9
harmonyservice avatar

harmonyservice

New Zenner

Join Date:
Jan 2006
Posts:
20
Plugin Contributions:
0

Re: Can Zen Cart Shipping do this?

I think I get the idea.

So with these instructions, I can charge a percentage of multiple handling fees for orders with multiple items. Is it then possible to also charge 1 handling fee for 1 item in this form:

single item:

Up to $16 = $3.00
Over $16 and up to $130 = $5.79
Over $130 and up to $180 = $8.59
Over $180 = $9.67

multiple items:

Combined orders < $100 = 20% of price
Combined orders > $100 = 4.5% of price

Thanks again

29 Oct 2006, 1:28 AM
#10
ajeh avatar

ajeh

Oba-san

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

Re: Can Zen Cart Shipping do this?

Let us know how it goes ... :smile:

30 Oct 2006, 3:57 PM
#11
harmonyservice avatar

harmonyservice

New Zenner

Join Date:
Jan 2006
Posts:
20
Plugin Contributions:
0

Re: Can Zen Cart Shipping do this?

Ajeh,

I'd like to let you know how it goes, but I need this question answered first:

I know now that I can charge a percentage of multiple handling fees for orders with multiple items, but is it then possible to also charge 1 handling fee for 1 item in this form:

single item:

Up to $16 = $3.00
Over $16 and up to $130 = $5.79
Over $130 and up to $180 = $8.59
Over $180 = $9.67

multiple items:

Combined orders < $100 = 20% of price
Combined orders > $100 = 4.5% of price

30 Oct 2006, 5:10 PM
#12
ajeh avatar

ajeh

Oba-san

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

Re: Can Zen Cart Shipping do this?

You would need to check the number of items in the cart then set your conditions on how much to charge based on your total of how much is in the cart ...

Look at item.php and how the item count is computed less the free items ...

Look at the table.php to see how the total of the cart is computed less the free products ...

31 Oct 2006, 3:28 PM
#13
harmonyservice avatar

harmonyservice

New Zenner

Join Date:
Jan 2006
Posts:
20
Plugin Contributions:
0

Re: Can Zen Cart Shipping do this?

Ajeh,

I'm afraid this is just not clear enough for me to do anything. Is there anyway I can PAY someone to make the shipping work like this:

A. Use USPS module to link to USPS rates

B. Then add a special handling fee on top of the USPS rate that meets these criteria:

single item:

Up to $16 = $3.00
Over $16 and up to $130 = $5.79
Over $130 and up to $180 = $8.59
Over $180 = $9.67

multiple items:

Combined orders < $100 = 20% of price
Combined orders > $100 = 4.5% of price

Please advise