Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / 2 Shipping Methods at the same time

2 Shipping Methods at the same time

Views: 1,768

Results 1 to 16 of 16
9 Feb 2011, 3:45 PM
#1
timhersh avatar

timhersh

Zen Follower

Join Date:
Aug 2008
Posts:
274
Plugin Contributions:
0

2 Shipping Methods at the same time

Hello,

I have searched the forum pretty thoroughly and see several posts about multiple shipping options but they all see to be dealing with a different aspect than what I am needing.

This is for a flower shop, the flower shop also sells candles though.

I need to be able to charge $5 for shipping, per candle that they buy.

I also need to be able to charge a certain amount to have the flowers delivered (zone based, depending on their zip code).

I can figure out the above, BUT, if they order one candle and one flower I need to have it charge BOTH amounts, so it needs to have two shipping methods that work at the same time. Then ideally on the shipping page it will show the UPS rate for the calendar and then show the delivery fee, need both shown, is this possible???

9 Feb 2011, 4:19 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: 2 Shipping Methods at the same time

Have you looked at the Per Unit perweightunit shipping module where you can set the cost per item on a Product for shipping in the Product Weight so that you can get specific shipping per Product?

Example:
Product A product weight 1.00 is $1.00 x quantity

Product B product weight 1.25 is $1.25 x quantity

Product C product weight 5.00 is $5.00 x quantity

NOTE: be sure to set the Maximum Weight to 5000 and the Tare Rates to 0:0 ... if you want to use this shipping module ...

9 Feb 2011, 4:22 PM
#3
timhersh avatar

timhersh

Zen Follower

Join Date:
Aug 2008
Posts:
274
Plugin Contributions:
0

Re: 2 Shipping Methods at the same time

Yes, that will work for the candles but I need to have something that can handle both.

Candles will be per unit

Flowers will be per zone, different shipping rates depending on what zip code they live in.

BUT, then I need both of these to work. So when they checkout they either see the shipping total (candles per unit + flowers zone rate) or need to see it broken down by both

thanks

9 Feb 2011, 4:56 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: 2 Shipping Methods at the same time

There isn't anything to break down the shipping by Products ...

How are you using the Zone Rate zones on the Shipping ... Price? Weight? Item Count?

9 Feb 2011, 8:19 PM
#5
timhersh avatar

timhersh

Zen Follower

Join Date:
Aug 2008
Posts:
274
Plugin Contributions:
0

Re: 2 Shipping Methods at the same time

Thanks, I will be pricing the shipping for the candles (category) by items, each item is $5 to ship.

For the flowers (category) I will be using a zone method, specific zip codes will be charged a specific delivery fee. I believe I can setup a zone for this. If they select anything from this category I will charge them a specific amount, based on what zip code they enter (zone).

BUT, I need to be able to have both methods work at the same time. So if they order a candle and a flower they will see a total that combines both shipping amounts, not either/or. Does this make sense? Thank you

9 Feb 2011, 11:33 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: 2 Shipping Methods at the same time

If you could be a little more specific ...

Are you using for the Flowers the Zone Rate zones shipping module?

If so, are you basing the rates on Price, Weight or Item Count?

If not using Zone Rate zones for the Flowers, what are you using?

I am trying to work in a combo shipping method but you have to be more specific on how you are obtaining the shipping costs for the Flowers ...

9 Feb 2011, 11:44 PM
#7
timhersh avatar

timhersh

Zen Follower

Join Date:
Aug 2008
Posts:
274
Plugin Contributions:
0

Re: 2 Shipping Methods at the same time

Thank you, I haven't completed it yet but my plan was to use the zone shipping method for the flowers...not really sure what I should base it on yet. Pretty much if they order any flowers at all "category" they it will charge the amount I specified in the zone for that zip code.

Not sure if this helps, it is a local flower shop. They charge the same to ship 1 flower or 50 flowers. It is a flat rate per zip code: price, quantity nor weight will really matter.

For example,

1 flower shipped to zip code 62230 is $15, so 10 flowers shipped there is also $15.

If that person buys 1 candle though they will have a $5 shipping charge (for the candle) plus they will also have a $15 delivery charge for the flowers....hope this helps....THANK YOU

10 Feb 2011, 1:44 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: 2 Shipping Methods at the same time

The idea would be to compute a shipping cost for the Candles and add it to the shipping cost for the Flowers ...

But there has to be a way to identify the Candles in the Order ...

Are all of the Candles in a specific Category where they all would use the same master_categories_id on them?

This means the scenario where the customer orders:
1 Flower
1 Candle

3 Flowers
2 Candles

could be calculated to build the shipping cost ...

From what you are describing, if the contents of the Order can be identified to distinguish between Candles and Flowers then such a calculation could be done ...

10 Feb 2011, 1:53 PM
#9
timhersh avatar

timhersh

Zen Follower

Join Date:
Aug 2008
Posts:
274
Plugin Contributions:
0

Re: 2 Shipping Methods at the same time

Yes the flowers are in one master category, the candles are in another

http://grimmandgorly.com/cart/

thank you, let me know

10 Feb 2011, 2:34 PM
#10
ajeh avatar

ajeh

Oba-san

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

Re: 2 Shipping Methods at the same time

What happens on Plants? Miscellaneous Baskets?

NOTE: your Candles are not in 1 master_categories_id they are in 3 master_categories_id ... the master_categories_id is the immediate Category that the Product is in ...

10 Feb 2011, 3:52 PM
#11
timhersh avatar

timhersh

Zen Follower

Join Date:
Aug 2008
Posts:
274
Plugin Contributions:
0

Re: 2 Shipping Methods at the same time

Yes, I do know about the master category id, is it ok if it is #3

I will treat the shipping of the other items the same as the candles, flat rate per item.

The thing I am lost on is how to work the flowers in, since the shipping on those will be defined by a zone instead of per item. does this answer your ??

thank you

10 Feb 2011, 4:46 PM
#12
ajeh avatar

ajeh

Oba-san

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

Re: 2 Shipping Methods at the same time

The idea is to make a check on the Item count of the other Products that are NOT Flowers ...

You could check the counts on the Items in the Shopping Cart with something similar to:
global $cart;
$chk_candles_deluxe = $_SESSION['cart']->in_cart_check('master_categories_id','5');
$chk_candles_large = $_SESSION['cart']->in_cart_check('master_categories_id','6');
$chk_candles_standard = $_SESSION['cart']->in_cart_check('master_categories_id','7');

$chk_flowers = $_SESSION['cart']->in_cart_check('master_categories_id','2');

etc. etc. etc.

From those numbers you can do several kinds of calculations ...

Depending on how you do the shipping on the Flowers, the shipping cost can be adjusted based on the counts for the various Categories ...

If all of the Categories will have their own shipping cost based on the Item Count, then those can be factored in to the calculations ...

You really need more information on what you are doing with the Flowers and then look at the individual Categories of Products to see how you want their cost to be managed ...

It comes down to writing the correct calculations based on the content of the shopping cart and how each kind of Product should be treated ...

10 Feb 2011, 4:57 PM
#13
timhersh avatar

timhersh

Zen Follower

Join Date:
Aug 2008
Posts:
274
Plugin Contributions:
0

Re: 2 Shipping Methods at the same time

Ah, thanks.

That looks complicated.

So there isn't an easy way to make zen cart add two types of shipping together than?

Ideally I would need the flowers to be shipped and priced via the zone method and would need everything else to be priced at $5 per item for shipping.

What php file would I be editing?

thanks

10 Feb 2011, 5:29 PM
#14
ajeh avatar

ajeh

Oba-san

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

Re: 2 Shipping Methods at the same time

If using the Zone Rate zones shipping module, then you would customize the:
/includes/modules/shipping/zones.php

You calculate the rates for the other products in the cart and then add it to the $shipping_cost ...

11 Feb 2011, 6:22 AM
#15
timhersh avatar

timhersh

Zen Follower

Join Date:
Aug 2008
Posts:
274
Plugin Contributions:
0

Re: 2 Shipping Methods at the same time

Alright, I have the logic figured out now.

I am going to use a module I found in the forum. Zipcode Rates. It allows me to specify the rates based on a zip code.

If is the customers zipcode is one of the possible 20 that the client gave me there shipping fee will be a flat rate....Reason is because all the shipping rate really covers is the gas for the delivery driver (depending on the zip code, ex $5 for one $9 for another (client wont' drive more than 20 miles). In this case we can deliver anything for the flat amount.....it doesn't matter if they get 10 candles and a bouquet of flowers because the delivery driver can bring it with him.

So----that is figured out.

I will setup a per unit shipping module and set it at $5 per item. BUT then I need to be able to count the number of flowers and if there is 1 or more I need to add $15 to the shipping rate. (flowers is a flat $15, no matter how many they get). It would be great if I could specify that amount under or next to the other shipping total, just to break it down to the client (not necessary though).

If I could accomplish this I think it would work....only downside is that everyone in the state that the original zip codes are in will have two shipping options (one of them could be way to cheap).

does this sound correct?

thank you

11 Feb 2011, 7:57 PM
#16
timhersh avatar

timhersh

Zen Follower

Join Date:
Aug 2008
Posts:
274
Plugin Contributions:
0

Re: 2 Shipping Methods at the same time

Help Please, just need to figure out how to do the above?

thank you