Page 1 of 3 123 LastLast
Results 1 to 10 of 60

Hybrid View

  1. #1
    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.

  2. #2
    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!]
    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

    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.

  4. #4
    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!]
    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
    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

  6. #6
    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!]
    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
    Sep 2008
    Posts
    95
    Plugin Contributions
    0

    Default Re: Minimum shipping fee

    Can you modify and say how it can be done. Like suppose we give 5lbs as box max weight then is it possible to workout minimum fee on per box basis.

    And I would like to know is my 2nd question possible to do, if so then how.

    ~ Time

  8. #8
    Join Date
    Mar 2009
    Posts
    36
    Plugin Contributions
    0

    Default Re: Minimum shipping fee

    *** duplicate post deleted *** Please do not post in more than one thread.
    Last edited by Kim; 29 Mar 2009 at 06:02 PM.

  9. #9
    Join Date
    Feb 2009
    Location
    england
    Posts
    8
    Plugin Contributions
    0

    Default Re: Minimum shipping fee

    I'm not sure if I'm asking the question in the right part of the forum, but here goes anyway. This is my first time using Zen Cart, I am also new to PHP. The shop I am working on sells bottled beer online. We only sell in multioples of 12 bottles (ie delivery of full cases only) though they can be a mixture of 12 different products, or 12 of the same. This will be made clear throughout the site.

    We have 3 needs for shipping:

    1. Free delivery within two counties in the UK (about a 60-80 miles radius of our base) for one case or more.
    2. Courier delivery within the rest of Engalnd at £6.50 per case of 12
    3. Courier delivery to Scotland and Wales and Ireland at a cost of £9 per case of 12.

    I know I can set a delivery price of £0.50 per item and have it add up to £6 per case of 12 for delivery, but how do I make it so the customer tells us at checkout which of the three options they have chosen and how do I get the shipping costs calculated? and how can I set those options up??

    I am afraid I am struggling to under stand how the shipping module works

    Any help greatly appreciated.

    Thanks

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

    Default Re: Minimum shipping fee

    Quote Originally Posted by colin4255 View Post
    I'm not sure if I'm asking the question in the right part of the forum, but here goes anyway. This is my first time using Zen Cart, I am also new to PHP. The shop I am working on sells bottled beer online. We only sell in multioples of 12 bottles (ie delivery of full cases only) though they can be a mixture of 12 different products, or 12 of the same. This will be made clear throughout the site.

    We have 3 needs for shipping:

    1. Free delivery within two counties in the UK (about a 60-80 miles radius of our base) for one case or more.
    2. Courier delivery within the rest of Engalnd at £6.50 per case of 12
    3. Courier delivery to Scotland and Wales and Ireland at a cost of £9 per case of 12.

    I know I can set a delivery price of £0.50 per item and have it add up to £6 per case of 12 for delivery, but how do I make it so the customer tells us at checkout which of the three options they have chosen and how do I get the shipping costs calculated? and how can I set those options up??

    I am afraid I am struggling to under stand how the shipping module works

    Any help greatly appreciated.

    Thanks
    I'd recommend that you start a new thread with this question since it doesn't have anything to do with setting up a minimum shipping fee. You'd put it in the Shipping and Payment Modules Forum, the same forum that this topic is in.

    Regarding your question about how the customer tells you which shipping method they want, all the available shipping options will be displayed on the first checkout page. They mark which one they want.

 

 
Page 1 of 3 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

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