Page 1 of 6 123 ... LastLast
Results 1 to 10 of 60
  1. #1
    Join Date
    Nov 2008
    Posts
    60
    Plugin Contributions
    0

    Default Minimum shipping fee

    The store I'm working on uses the UPS and USPS shipping modules. The problem is that we need to set it up with a minimum shipping fee of $7.95. For example, if the quote for USPS Priority Mail comes back as $4.95, a $3.00 charge will automatically be added.

    I was hoping that there would be an add-on that would accomplish this, but I appear to be out of luck there. I searched the forum for a solution, but struck out here as well.

    Does anyone have a suggestion on how this could be accomplished?

    The store uses ZC version 1.3.8.

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

    Default Re: Minimum shipping fee

    You can add a handling fee for 3.50 or ... capture the costs and adjust as needed ...
    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
    Nov 2008
    Posts
    60
    Plugin Contributions
    0

    Default Re: Minimum shipping fee

    Adding a handling fee would be applied to all orders, including those with shipping that's already over $7.95. That's not what we want. I'm not sure what you mean by capturing the cost.

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

    Default Re: Minimum shipping fee

    For example, in the UPS shipping module you will see:
    Code:
            $methods[] = array('id' => $type,
                               'title' => $this->types[$type],
                               'cost' => ($cost + MODULE_SHIPPING_UPS_HANDLING) * $shipping_num_boxes);
    Check the value of $cost and when too little, add more ...
    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!

  5. #5
    Join Date
    Nov 2008
    Posts
    60
    Plugin Contributions
    0

    Default Re: Minimum shipping fee

    I already figured that there would have to be some kind of "if" statement in the code saying that if the shipping was less than $7.95 then make it $7.95, but I don't know how to do that. I am only just beginning to figure out how PHP works.

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

    Default Re: Minimum shipping fee

    Customize the code from:
    Code:
            $methods[] = array('id' => $type,
                               'title' => $this->types[$type],
                               'cost' => ($cost + MODULE_SHIPPING_UPS_HANDLING) * $shipping_num_boxes);
    to now force the amount ...
    Code:
    if ($cost < 7.95) {
            $methods[] = array('id' => $type,
                               'title' => $this->types[$type],
                               'cost' => (7.95 + MODULE_SHIPPING_UPS_HANDLING) * $shipping_num_boxes);
    } else {
            $methods[] = array('id' => $type,
                               'title' => $this->types[$type],
                               'cost' => ($cost + MODULE_SHIPPING_UPS_HANDLING) * $shipping_num_boxes);
    }
    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!

  7. #7
    Join Date
    Nov 2008
    Posts
    60
    Plugin Contributions
    0

    Default Re: Minimum shipping fee

    Thanks. That did the trick, although, after getting the client on the phone, they decided to go a different route with the shipping, so I didn't end up needing this after all. Isn't that the way it is sometimes? But thanks for the help anyway.

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

    Default Re: Minimum shipping fee

    Thanks for the update that this would have worked for you in another life ... alas, that is the way things go with clients ...
    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!

  9. #9
    Join Date
    Sep 2008
    Posts
    95
    Plugin Contributions
    0

    Default Re: Minimum shipping fee

    Hi Ajeh,

    I want to know how this can be implemented in Zones shipping module, please provide the code modification.

    I also want to know is it possible that a handling fee ads if product from particular category or particular products adds up to the cart.

    For example one of my cart deal in pets and it have pets accessories as well as live pets. Pet accessories can be shipped with standard shipping charges but live pets need special packing so will cost extra.

    Any Idea how can be implemented.

    Thanking you in advance.

    ~ Time

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

    Default Re: Minimum shipping fee

    Basically you are altering similar code for zones.php ...
    Code:
          $this->quotes = array('id' => $this->code,
                                'module' => MODULE_SHIPPING_ZONES_TEXT_TITLE,
                                'methods' => array(array('id' => $this->code,
                                                         'title' => $shipping_method,
                                                         'cost' => $shipping_cost)));
    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!

 

 
Page 1 of 6 123 ... LastLast

Similar Threads

  1. Minimum Order Fee module
    By jdw1979 in forum General Questions
    Replies: 13
    Last Post: 30 Nov 2011, 04:44 PM
  2. Minimum FIRST TIME order fee
    By jdw1979 in forum General Questions
    Replies: 20
    Last Post: 2 Nov 2011, 05:37 PM
  3. Minimum Order Fee
    By prosam in forum Managing Customers and Orders
    Replies: 5
    Last Post: 17 Jun 2008, 04:35 PM
  4. Set minimum shipping fee
    By mattys in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 5 Jan 2007, 11:03 AM
  5. Added charge, one-time deposit/fee, minimum order
    By Pozitech in forum Managing Customers and Orders
    Replies: 2
    Last Post: 7 Nov 2006, 03:40 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