Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2009
    Posts
    79
    Plugin Contributions
    1

    help question How do I set up a separate handling fee for certain items?

    I have the newest version of ZC... I was wondering if there is a way to have a $5 handling fee (per order, not per item) added to the shipping cost when there are certain items in a shopping cart, but not have it added when there aren't certain items.
    In other words, I am trying to set up my store to do MANUAL drop shipping (i.e. we get the order, and we place the order with the drop shippers.) Both drop shippers (for now) charge the same drop shipping handling fee of $5 on top of the shipping cost, but we have some of our own products as well that we don't charge the $5 handling fee for...
    I'm not sure what to do here, if it's something in the code, then that's fine, or if I can get some kind of module that will help, that would be great too.
    ANY help will be greatly appreciated.
    I have searched the forum, but I didn't find anything that was very helpful. Most of the posts were about automatic drop shipping.

    Thanks!

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

    Default Re: How do I set up a separate handling fee for certain items?

    In the shopping_cart class there is a function that you can test, based on the products table, how many items are in the cart:
    Code:
      /**
       * Method to calculate the number of items in a cart based on an abitrary property
       *
       * $check_what is the fieldname example: 'products_is_free'
       * $check_value is the value being tested for - default is 1
       * Syntax: $_SESSION['cart']->in_cart_check('product_is_free','1');
       *
       * @param string product field to check
       * @param mixed value to check for
       * @return integer number of items matching restraint
       */
      function in_cart_check($check_what, $check_value='1') {
    You could use this to test if 1 or more are in the cart ... then in your shipping module, you could add the extra charge if there is 1 or 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!]
    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
    Feb 2009
    Posts
    79
    Plugin Contributions
    1

    help question Re: How do I set up a separate handling fee for certain items?

    I don't need to check for how many items are in a cart, I need to check if "Certain" items are in the cart so that I can add a different handling fee for them, per order, not per item.
    I have a different modeling "Scheme" for our items and the "Drop-ship" items. The ones for dropshipper A are HKI-##### and dropshipper B are HRV-#####. Our products are generally 5 letters (Except the gift certificates obviously, those are GIFT-###).
    Is there maybe a way to specify, in a shipping module or something, the difference between our products, Dropshipper A's products, and Dropshipper B's products? Even if I have to go through and select which ones I want for the different rates?
    I don't know what to do...
    Thanks for the reply though, Ajeh
    Last edited by flipperry; 9 Aug 2009 at 05:01 PM. Reason: add thanks
    Flip Perry
    S~Scents

 

 

Similar Threads

  1. Add handling fee for different location on only certain products
    By mrmyles in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 19 Dec 2012, 12:43 AM
  2. Table Rate shipping PLUS a handling fee for certain items
    By marvin in forum Built-in Shipping and Payment Modules
    Replies: 13
    Last Post: 19 Apr 2009, 05:20 PM
  3. Handling fee only on certain items
    By Hound in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 16 Jul 2007, 03:04 PM
  4. shared handling fee for particular items
    By fakeDecoy in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 18 Apr 2007, 06:01 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