Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2008
    Posts
    12
    Plugin Contributions
    0

    Default Maximum shipping charges

    Currently, we are set-up to charge a handling fee of $2.00 and $1.25 per item. So if you order 1 item, it will cost you $3.25 total S&H. If you order 2 items, it will cost you $4.50 total. My question is, is it possible for me to set up a max. S&H charge regardless of how many items are ordered. For example, based on how we have it set-up, if one were to order 10 items, it would cost them $14.50. I would actually like to use the calculations that we already have in place but set a max. of say.....$10.00.

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

    Default Re: Maximum shipping charges

    You could customize the Item Rate item shipping module, I recommend cloning it otherwise it will get overwritten in an upgrade ...

    Find the code for:
    Code:
    // class methods
        function quote($method = '') {
          global $order, $total_count;
    
          // adjusted count for free shipping
          $item_total_count = $total_count - $_SESSION['cart']->free_shipping_items();
          $this->quotes = array('id' => $this->code,
                                'module' => MODULE_SHIPPING_ITEM_TEXT_TITLE,
                                'methods' => array(array('id' => $this->code,
                                                         'title' => MODULE_SHIPPING_ITEM_TEXT_WAY,
                                                         'cost' => (MODULE_SHIPPING_ITEM_COST * $item_total_count) + MODULE_SHIPPING_ITEM_HANDLING)));
    And customize the cost to manage the highest you want to charge ...
    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: v1.5.5]
    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
    Jan 2009
    Posts
    1
    Plugin Contributions
    0

    Default

    I have the same question as boogy. If I implement this code do I input the dollar values myself? I'm a noob when it comes to this so I guess my question really is will this code perform the function that boogy is looking for? Could you further explain this if you have the time? Thanks in advance.

    Quote Originally Posted by Ajeh View Post
    You could customize the Item Rate item shipping module, I recommend cloning it otherwise it will get overwritten in an upgrade ...

    Find the code for:
    Code:
    // class methods
        function quote($method = '') {
          global $order, $total_count;
    
          // adjusted count for free shipping
          $item_total_count = $total_count - $_SESSION['cart']->free_shipping_items();
          $this->quotes = array('id' => $this->code,
                                'module' => MODULE_SHIPPING_ITEM_TEXT_TITLE,
                                'methods' => array(array('id' => $this->code,
                                                         'title' => MODULE_SHIPPING_ITEM_TEXT_WAY,
                                                         'cost' => (MODULE_SHIPPING_ITEM_COST * $item_total_count) + MODULE_SHIPPING_ITEM_HANDLING)));
    And customize the cost to manage the highest you want to charge ...
    Posted via Mobile Device

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

    Default Re: Maximum shipping charges

    Just get cost to be the right value ... this is then managed for the currency elsewhere ...
    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: v1.5.5]
    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. Maximum shipping weight in table rate shipping
    By nizlop in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 31 Oct 2011, 02:59 AM
  2. 2 different shipping amounts and a maximum per order for shipping
    By scid in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 28 May 2011, 07:43 PM
  3. shipping charges for drop shipping items
    By Midwestfishing in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 8 Dec 2010, 05:20 AM
  4. Maximum Package Weight You Will Ship - Maximum?
    By WellCool in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 25 Nov 2010, 04:00 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR