Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Charge Extra Shipping For Certain States

Charge Extra Shipping For Certain States

Locked

Views: 1,266

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
20 Nov 2009, 6:33 PM
#1
bambooheadquarters avatar

bambooheadquarters

New Zenner

Join Date:
Nov 2009
Posts:
8
Plugin Contributions:
0

Charge Extra Shipping For Certain States

I am new to Zen and trying to get everything figured out. We sell bamboo and ship it to the lower 48. We use the UPS Shipping Module for our shipping. The problem is when we ship to Florida there is a $50.00 inspection fee. Is there a way to set up the UPS shipping module to charge an extra $50.00 if it ships to Florida? I have tried to set up the Zones and have Florida as its own Zone but the Zone Rates override the UPS Module... Or is there a way to get UPS and Zones cooperate with one another? Or is there another way to get done what needs to be done?

Thanks!!

20 Nov 2009, 7:10 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Charge Extra Shipping For Certain States

You could customize the shipping module with something like:

// add $50 charge to Florida countries_id 223 and zone_id 18
if ($order->delivery['country']['id'] == 223 && $order->delivery['zone_id'] == 18) {
  $inspection_fee = 50.00;
} else {
  $inspection_fee = 0.00;
}
        $methods[] = array('id' => $type,
                           'title' => $this->types[$type],
                           'cost' => (($cost + MODULE_SHIPPING_UPS_HANDLING) * $shipping_num_boxes) + $inspection_fee);
      }

Or, if you need the Inspection fee to stand out, then you might want to build your own Orders Total module for it ...

23 Nov 2009, 7:05 PM
#3
bambooheadquarters avatar

bambooheadquarters

New Zenner

Join Date:
Nov 2009
Posts:
8
Plugin Contributions:
0

Re: Charge Extra Shipping For Certain States

Thank You very much!! This worked!! It would be nice to have it stand out. How would I add a conditional line item for it?

24 Nov 2009, 5:47 AM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Charge Extra Shipping For Certain States

You would need to write your own Order Total module for this to have its own line item in the totals on the order ...