Page 1 of 3 123 LastLast
Results 1 to 10 of 28
  1. #1
    Join Date
    Jul 2010
    Posts
    2
    Plugin Contributions
    0

    Default Need help with shipping

    I need help with shipping. How do I set different shipping rates on different items. (i.e. product a shipping $15, product b shipping $10) Thanks for the help.

    I am using the newest zen cart version.

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

    Default Re: Need help with shipping

    You could use the Per Unit perweightunit shipping module where the Product Weight products_weight is used for the shipping cost ...

    To do this, be sure to change the settings in the Configuration ... Shipping/Packaging and set the Maximum Weight to 5000 and the Tare Rates to 0:0 ...

    Now just enter the shipping price for each Product as the Product Weight and this will be the Product shipping per quantity for the Product ...
    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
    Jul 2010
    Posts
    2
    Plugin Contributions
    0

    Default Re: Need help with shipping

    Will do, thanks I appreciate your help.

  4. #4
    Join Date
    Aug 2007
    Posts
    95
    Plugin Contributions
    0

    Default Re: Need help with shipping

    Hi i have my shipping set up like this and it all works fine, but i want to set it so the customer pays a maximum shipping cost of £4.99.

    meaning i may set all my products with different shipping cost but if they order more they wouldn't pay anymore then £4.99 postage.

    so if i had product A = postage 99p product B = postage £2.99 and product C = postage £1.99 total would be £5.94 but i want to cap it at £4.99 so they never pay more then £4.99 no mater how many items they order.

    is this possible?? please help

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

    Default Re: Need help with shipping

    You would then need to customize the shipping module that you are using that when the cost is > 4.99 it should only charge 4.99 ...

    You would need to customize the code for:
    Code:
        $this->quotes = array('id' => $this->code,
                              'module' => MODULE_SHIPPING_PERWEIGHTUNIT_TEXT_TITLE,
                              'methods' => array(array('id' => $this->code,
                                                       'title' => MODULE_SHIPPING_PERWEIGHTUNIT_TEXT_WAY,
                                                       'cost' => MODULE_SHIPPING_PERWEIGHTUNIT_COST * ($total_weight_units * $shipping_num_boxes) +
                                                       (MODULE_SHIPPING_PERWEIGHTUNIT_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_PERWEIGHTUNIT_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_PERWEIGHTUNIT_HANDLING) ) ));
    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!

  6. #6
    Join Date
    Aug 2007
    Posts
    95
    Plugin Contributions
    0

    Default Re: Need help with shipping

    Quote Originally Posted by Ajeh View Post
    You would then need to customize the shipping module that you are using that when the cost is > 4.99 it should only charge 4.99 ...

    You would need to customize the code for:
    Code:
        $this->quotes = array('id' => $this->code,
                              'module' => MODULE_SHIPPING_PERWEIGHTUNIT_TEXT_TITLE,
                              'methods' => array(array('id' => $this->code,
                                                       'title' => MODULE_SHIPPING_PERWEIGHTUNIT_TEXT_WAY,
                                                       'cost' => MODULE_SHIPPING_PERWEIGHTUNIT_COST * ($total_weight_units * $shipping_num_boxes) +
                                                       (MODULE_SHIPPING_PERWEIGHTUNIT_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_PERWEIGHTUNIT_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_PERWEIGHTUNIT_HANDLING) ) ));
    Thanks for getting back to me but am lost..... how do i do this???

    I know your talking about this php file

    includes/modules/shipping/perweightunit.php

    but how do i edit it so it charges a max of £4.99 shipping?? what do i need to add to that page??

    please can you help?
    thanks

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

    Default Re: Need help with shipping

    You could make an IF around this ...

    Code:
    if ( (MODULE_SHIPPING_PERWEIGHTUNIT_COST * ($total_weight_units * $shipping_num_boxes) + (MODULE_SHIPPING_PERWEIGHTUNIT_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_PERWEIGHTUNIT_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_PERWEIGHTUNIT_HANDLING) ) > 4.99) {
    
        $this->quotes = array('id' => $this->code,
                              'module' => MODULE_SHIPPING_PERWEIGHTUNIT_TEXT_TITLE,
                              'methods' => array(array('id' => $this->code,
                                                       'title' => MODULE_SHIPPING_PERWEIGHTUNIT_TEXT_WAY,
                                                       'cost' => 4.99 )));
    
    } else {
        $this->quotes = array('id' => $this->code,
                              'module' => MODULE_SHIPPING_PERWEIGHTUNIT_TEXT_TITLE,
                              'methods' => array(array('id' => $this->code,
                                                       'title' => MODULE_SHIPPING_PERWEIGHTUNIT_TEXT_WAY,
                                                       'cost' => MODULE_SHIPPING_PERWEIGHTUNIT_COST * ($total_weight_units * $shipping_num_boxes) +
                                                       (MODULE_SHIPPING_PERWEIGHTUNIT_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_PERWEIGHTUNIT_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_PERWEIGHTUNIT_HANDLING) ) ));
    }
    I did not test this but something like that should work ...
    Last edited by Ajeh; 12 Aug 2010 at 02:22 PM. Reason: cleaned code
    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!

  8. #8
    Join Date
    Aug 2010
    Posts
    6
    Plugin Contributions
    0

    Default Re: Need help with shipping

    Hi,
    How to set shipping discount in this way.
    If I set the shipping for each individual Item as described above ,
    for example shipping for the first item will be $6,
    and for each additional Item $2
    each item will be set as first item shipping price and additional shipping price.
    also for multi items
    Thanks

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

    Default Re: Need help with shipping

    Just use Item Rate item shipping module and set it up with:
    Item Rate: 2.00
    Handling: 4.00

    Now the 1st item is $6.00 ($2.00 + $4.00) and each additional item is $2.00 ...
    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!

  10. #10
    Join Date
    Aug 2010
    Posts
    6
    Plugin Contributions
    0

    Default Re: Need help with shipping

    Thanks,
    How to set handling for each item,
    if item A -shipping is $6 and each additional is $2
    Item B - shipping is $8 each additional is $3 and so on
    and the buyer order both.

    I saw setting handling in global not per Item.
    please advice

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Need help with shipping
    By Miru in forum Built-in Shipping and Payment Modules
    Replies: 32
    Last Post: 26 Oct 2015, 08:18 PM
  2. v150 Need Help With Free UK Shipping
    By kentuckygurl in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 13 Aug 2012, 03:13 PM
  3. Need Help with Shipping
    By icecopi in forum Built-in Shipping and Payment Modules
    Replies: 12
    Last Post: 4 Apr 2009, 04:51 AM
  4. Need Help With Shipping
    By GalaxiDesigns in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 9 Feb 2008, 05:49 AM
  5. need help with shipping config
    By z3nus3r in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 3 Jul 2007, 03:01 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