Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    Sep 2010
    Posts
    14
    Plugin Contributions
    0

    Default flat rate shipping for three or more shippers

    ok I have three suppliers that i ship from each charges a flat rate of 3.50 regardless of size or quantity what I would like to do is if someone buys something from that shipper I want to add 3.50 to the shipping price only once per shipper dose anyone know a mod that will work, I'm not live yet and I am held up till I can figure this out. I know other carts that offer this but zen cart is the only one I have found with ease of use and prestashop would lock me out requiring a reinstall constantly I really need to find this solution or i will be unable to open my shop with out charging outrageous shipping prices or ocuring these costs my self. This is the first time i have done an online business or for that mater built a website, and I have been working on this now for a few months and would like to start seeing some kind of profit from it as money keeps going out and I need money to start comming in soon or I have to make this a wash please help. ASAP

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

    Default Re: flat rate shipping for three or more shippers

    Are you saying that you are using *some* shipping module and that if you could check if there was 1 or more Products from 1 or more of these 3 manufacturers you want to add $3.50 to the price?

    Or, are you saying that you are using *some* shipping module and that if you could check how many Products * quantity * 3.50 from these 3 manufacturers you would then be adding $3.50 per quantity?

    Or, are you saying something else?

    Pretend I have no clue what your shop looks like nor what you think you want to do with your shipping ... so type very very slowly ...
    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
    Sep 2010
    Posts
    14
    Plugin Contributions
    0

    Default Re: flat rate shipping for three or more shippers

    Ok I have three places that ship for me I want to check the buyers cart and add 3.50 for each place shipping the product so if all three places have item in the cart the cost will be 10.50 if only one of these places has an item in the cart it would only be 3.50 it has nothing to do with quantity.

    Another way to look at it is I have three manufaturs (sorry I'm a bad speller) if someone buys something from any of the manufactures I want a one time adding of 3.50 for each manufacturer used regardless of price or quantity

    Hope that helps

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

    Default Re: flat rate shipping for three or more shippers

    Let's say the three manufacturers are using manufacturers_id 1, 17 and 19 ...

    Code:
    global $cart;
    $chk_manufacturer_1 = $_SESSION['cart']->in_cart_check('manufacturers_id','1');
    $chk_manufacturer_17 = $_SESSION['cart']->in_cart_check('manufacturers_id','17');
    $chk_manufacturer_19 = $_SESSION['cart']->in_cart_check('manufacturers_id','19');
    
    $extra_charges = 0.00;
    if ($chk_manufacturer_1 > 0) {
      $extra_charges += 3.50;
    }
    if ($chk_manufacturer_17 > 0) {
      $extra_charges += 3.50;
    }
    if ($chk_manufacturer_19 > 0) {
      $extra_charges += 3.50;
    }
    then just add the:
    $extra_charges

    to the cost in the function quote ...
    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 2010
    Posts
    14
    Plugin Contributions
    0

    Default Re: flat rate shipping for three or more shippers

    That's great thank but were do I add the code?

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

    Default Re: flat rate shipping for three or more shippers

    I do not know what shipping module you are using ...

    But the code goes in the function quote portion and you add the extra charge to where you see the 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!

  7. #7
    Join Date
    Sep 2010
    Posts
    14
    Plugin Contributions
    0

    Default Re: flat rate shipping for three or more shippers

    ok so i am using the already included flat rate mod

    I figure i should install thing in the main php file located in the includes/modual/flatrate.php

    next I am wondering how to figure out what the manufactures ID is as described above

    Also would this be put in the main class there or do i need to add a new class to put the function in

    lastly adding to the cost is that done it the file or is that another file and what would that code look like since I can identify what variable you are using, sorry if this is confusing but i am confused my programing knowledge is limited to VB.net and vary basic C++ (I only just started that class)

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

    Default Re: flat rate shipping for three or more shippers

    Go to the Catalog ... Manufacturers ... and click on each of the 3 manufacturers and see what the URL reads for the mID= to get the value for that manufacturers_id ...
    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!

  9. #9
    Join Date
    Sep 2010
    Posts
    14
    Plugin Contributions
    0

    Default Re: flat rate shipping for three or more shippers

    Quote Originally Posted by bigbear View Post
    lastly adding to the cost is that done it the file or is that another file and what would that code look like since I can identify what variable you are using, (I only just started that class)
    let me rephrase this so that its easier to understand but first let me thank you for all this help. I have been getting vary frustrated because of this problem and thanks to you it seems as if I may be getting some where.

    ok to I want to add this to the cost immediately it think simple equations

    man_cost1 + man_cost2 + man_cost3 = shipping_cost

    however I don't know what variable you are using above to add I keep looking at the function you wrote but I just cant figure it out. I will keep trying to figure it out but if you could kind of identify the formula or even what variable holds the information gained. I hope that makes more since then before.

  10. #10
    Join Date
    Sep 2010
    Posts
    14
    Plugin Contributions
    0

    Default Re: flat rate shipping for three or more shippers

    ok wait is it

    $extra_charges

    and would i just write the equation

    shipping_cost += $extra_charges

    in the proper place?

    (shipping_cost is my example var for what the actual var name would be)

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Adding 2 more flat rate shipping modules
    By JasonRocket in forum Built-in Shipping and Payment Modules
    Replies: 54
    Last Post: 12 Feb 2015, 02:38 PM
  2. v150 One shipping cost for some items then flat rate for 2 or more
    By annav in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 27 Jun 2013, 06:02 PM
  3. More than one Flat Rate for Shipping
    By brightideas in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 8 Mar 2010, 01:18 AM
  4. Flat Rate shipping challenge - need a separate rate for a few heavier items
    By Nigel Lew in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 27 Jun 2008, 10:07 PM
  5. More Flat Rate Shipping Modules?
    By Checkit in forum Addon Shipping Modules
    Replies: 2
    Last Post: 26 Nov 2006, 09:13 AM

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