Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2009
    Posts
    8
    Plugin Contributions
    0

    Default 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!!

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Charge Extra Shipping For Cerain States

    You could customize the shipping module with something like:
    Code:
    // 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 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Nov 2009
    Posts
    8
    Plugin Contributions
    0

    Default 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?

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Charge shipping only for certain products
    By elabuwa in forum Addon Shipping Modules
    Replies: 5
    Last Post: 29 Apr 2011, 05:44 PM
  2. restrict shipping certain products to certain states?
    By airtime in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 18 Jan 2011, 05:11 AM
  3. Per Item Shipping-Adding a surcharge for certain States
    By elgrcg in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 8 Jul 2009, 11:09 AM
  4. Add extra shipping charge for Hazardous Materials
    By timhersh in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 7 Dec 2008, 06:20 AM
  5. extra shipping charge on certain items
    By deer_boy in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 6 Jun 2008, 02:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg