Shipping charge per item, plus one time charge for priority -how to set up in cart?

by Jahan - Member - 09:02PM, Nov 10, 2006

Hi everyone:

Thanks for helping out with my first two questions – excellent job!

One more thing, though (rather urgent):

The cart I’m setting up, only processes up to 9 items per order.

I am trying to set up the cart to charge shipping/handling fee thusly:

$3.00 per item.

To achieve that, I made each product have a weight of 1 lb.

Hence, if a customer orders three products, he’ll be charged 3($3.00)=$9.00

However, if a customer wants priority shipping, a $5.00 priority shipping charge should apply to the entire order, in addition to the $3.00 charge per item.

Hence I put a range of weight equaling 1-9 lbs, incurs a charge of $5.00

But here’s the problem:

A customer may choose priority shipping alone on a single item (or more).

How do I make the cart apply the basic $3.00 charge per item, as well as the $5.00 charge per item, in this case?

As it is, the standard and priority shipping are separate categories, and selecting priority shipping invokes the $5.00 for 1-9 lb range, without adding $3.00 per item.

Thanks in advance to anyone who can crack this problem,

-Jahan

Jahan

Member

09:19PM, Nov 10, 2006

So to rephrase this, the priority shipping should charge:

$5.00 per whole order (1-9 items), plus $3.00 per item.

Example: 4 items are purchased in one order, and priority shipping is chosen.

The shipping cost should be $5.00 + 4($3.00) = $17.00

Is there a way to make the cart do this?

-Jahan

Jahan

Member

10:53PM, Nov 10, 2006

My solution isn’t elegant, but its the only one I came up with:

I enter a separate shipping rate for each weight (translated as number of items, not real weight):

Priority Shipping:

lbs (no. of items) rate
_______

0.0 – 1.0 1(3) + 5 = 8.00
1.1 – 2.0 2(3) + 5 = 11.00
2.1 – 3.0 3(3) + 5 = 14.00
3.1 – 4.0 4(3) + 5 = 17.00
4.1 – 5.0 5(3) + 5 = 21.00

etc., all the way up till 9 items.

Admittedly not elegant, but I had to use something quick.

Anyone with a more elegant solution, please let me hear it!

-Jahan

You must login to post a comment!

Don't have an account yet? Sign up for one.