Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 40
  1. #11
    Join Date
    Mar 2009
    Posts
    68
    Plugin Contributions
    0

    Default Re: Per Unit or Per Item Shipping Help?

    Actually I'm wrong...

    Firearms get a $50.00 charge, Handguns get $35 -- these charges cover insurance and handling. Smaller items are flat rate priority mail box.
    Last edited by colortheworld; 25 Oct 2010 at 07:54 PM.

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

    Default Re: Per Unit or Per Item Shipping Help?

    Okay so the basic idea is ...

    Count how many Products are in the shopping cart and then add $50.00 on a per Quantity per Product basis to the shipping charge ...

    So if there were 9 Products in the Cart, and 3 come from the Rifle category and 4 from the Gun category and 2 from non-firearm categories ...

    Then I could just take the Rate Quote from USPS based on weight, and add to those:

    3 x 50.00 = $150.00
    4 x 50.00 = $200.00
    = $350.00

    and add that $350.00 to each quote from USPS that is listed and the amount would apply, correct?

    Then, if an Order is made with none of these firearm categories Products ... just the normal shipping rates from USPS would apply, correct?
    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. #13
    Join Date
    Mar 2009
    Posts
    68
    Plugin Contributions
    0

    Default Re: Per Unit or Per Item Shipping Help?

    Quote Originally Posted by Ajeh View Post
    Okay so the basic idea is ...

    Count how many Products are in the shopping cart and then add $50.00 on a per Quantity per Product basis to the shipping charge ...

    So if there were 9 Products in the Cart, and 3 come from the Rifle category and 4 from the Gun category and 2 from non-firearm categories ...

    Then I could just take the Rate Quote from USPS based on weight, and add to those:

    3 x 50.00 = $150.00
    4 x 50.00 = $200.00
    = $350.00

    and add that $350.00 to each quote from USPS that is listed and the amount would apply, correct?

    Then, if an Order is made with none of these firearm categories Products ... just the normal shipping rates from USPS would apply, correct?
    Not sure I catch you, but let me explain this a bit better, in terms of category

    We have 3 categories on the site, the first is "Custom Rifles for Sale", the second is "Guns for Sale", and the third is "General Sales" (this is currently 2 guide books).

    With 3 categories, we have a total of 13 products, all 6 in the "Custom Rifles" are Rifles. In "Guns for Sale" we have 4 rifles and 1 handgun (handguns are $35.00 shipping, in case you missed the edit I made on my last post), and "General Sales" is just 2 books.

    I've added weight into the products, minus the books, and turned off the show weight and show transit boxes.

    I don't see this "Per Quality / Per Product" in the Module, but I wonder if this means "Per Item / Per Unit". Is that the case?

    Thanks for being so patient with me -- I'm a creature of retention. I can't just read something and totally get it all the time, but once I do it once (or twice), it's picked up.

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

    Default Re: Per Unit or Per Item Shipping Help?

    "Per Product Per Item" is *me* asking *you* if the handling charge is based on the quantity ordered for each Product x $50.00 or just $50.00 if 1 or more are in the cart ...

    This makes the calculation either the normal USPS shipping quote plus $50.00 or the normal USPS shipping quote plus $50.00 per Product x quantity ...

    And then, if no firearms are in the cart, just the normal USPS shipping 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. #15
    Join Date
    Mar 2009
    Posts
    68
    Plugin Contributions
    0

    Default Re: Per Unit or Per Item Shipping Help?

    Quote Originally Posted by Ajeh View Post
    "Per Product Per Item" is *me* asking *you* if the handling charge is based on the quantity ordered for each Product x $50.00 or just $50.00 if 1 or more are in the cart ...

    This makes the calculation either the normal USPS shipping quote plus $50.00 or the normal USPS shipping quote plus $50.00 per Product x quantity ...

    And then, if no firearms are in the cart, just the normal USPS shipping quote ...
    Oh, okay, I understand what you're saying now lol. I guess it would have to be per quantity and per product? Does that make sense?

    Reason I say that is, if somebody purchases 2 rifles and 1 hand gun, that's $135.00 in costs right there. If they pick up a book that's another extra shipping cost.

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

    Default Re: Per Unit or Per Item Shipping Help?

    Let's say you want to check the cart for how many Guns (categories_id 2) and Rifles (categories_id 3) there are ... and that the Products in those Categories have the master_categories_id set to those categories_id ...

    Code:
    global $cart;
    $chk_guns = $_SESSION['cart']->in_cart_check('master_categories_id','2');
    $chk_rifles = $_SESSION['cart']->in_cart_check('master_categories_id','3');
    $extra_handling_fee = ($chk_guns * 50) + ($chk_rifles * 35);
    Now, the $extra_handling_fee can be added to the cost for the quotes ...
    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. #17
    Join Date
    Mar 2009
    Posts
    68
    Plugin Contributions
    0

    Default Re: Per Unit or Per Item Shipping Help?

    Okay, I've been gone for a few days, but I'm back. To do what you suggested, Ajeh, is that something I would have to get into the database to find, or is it a directory within the zencart?

    I use a web editor for php files, but I'm not sure if this would be similar or if I would have to get into the database.

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

    Default Re: Per Unit or Per Item Shipping Help?

    You would need to customize the shipping module that you are using ...

    If you are using the Per Unit perweightunit shipping module, then you need to customize the file:
    /includes/modules/shipping/perweightunit.php

    and add the calculation and then and the results to the cost that is calculated 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!

  9. #19
    Join Date
    Mar 2009
    Posts
    68
    Plugin Contributions
    0

    Default Re: Per Unit or Per Item Shipping Help?

    Quote Originally Posted by Ajeh View Post
    You would need to customize the shipping module that you are using ...

    If you are using the Per Unit perweightunit shipping module, then you need to customize the file:
    /includes/modules/shipping/perweightunit.php

    and add the calculation and then and the results to the cost that is calculated in the function quote ...
    I only have USPS turned on at this time.

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

    Default Re: Per Unit or Per Item Shipping Help?

    If you are using USPS shipping module, then you will want to customize the file:
    /includes/modules/shipping/usps.php

    and add the calculation and then and the results to the cost that is calculated 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!

 

 
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Replies: 7
    Last Post: 20 Mar 2013, 02:12 PM
  2. v139h Per unit/per category/per location shipping rates
    By jsavoie in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 4 Nov 2012, 06:19 PM
  3. Shipping per unit/weight not calculating for more than one item
    By brightideas in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 8 Mar 2010, 07:54 PM
  4. Individual Shipping Per Item, and reduced cost per extra item
    By canad1an in forum Addon Shipping Modules
    Replies: 7
    Last Post: 6 Feb 2009, 11:41 PM
  5. How to removing free and per unit shipping on an item?
    By datatv in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 Jun 2008, 03:59 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