Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Jan 2008
    Location
    Switzerland
    Posts
    38
    Plugin Contributions
    0

    Default Re: Can you have a handling fee for ONE product or category?

    Great!

    I don't know PHP that well, just a little from looking at the code in my site. Do you know what I need to change so that the syntax is correct for either/or products as opposed to both (+)...

    $extra_charge = ($chk_product_1393 * 7.50) + ($chk_product_1394 * 7.50);
    Tracey Haas
    Temporary Tattoos

  2. #12
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,694
    Plugin Contributions
    6

    Default Re: Can you have a handling fee for ONE product or category?

    You could use instead of:
    Code:
    $extra_charge = ($chk_product_1393 * 7.50) + ($chk_product_1394 * 7.50);
    Code:
    if ($chk_product_19 > 0  || $chk_product_32 > 0) {
      $extra_charge = 7.50;
    } else {
      $extra_charge = 0.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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #13
    Join Date
    Jan 2008
    Location
    Switzerland
    Posts
    38
    Plugin Contributions
    0

    Default Re: Can you have a handling fee for ONE product or category?

    Thanks so much Linda, I really appreciate it! It works perfectly now
    Tracey Haas
    Temporary Tattoos

  4. #14
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,694
    Plugin Contributions
    6

    Default Re: Can you have a handling fee for ONE product or category?

    Thanks for the update that this is now working for you ...
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Per item handling charge for one category?
    By dkervin in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 16 Nov 2010, 05:38 AM
  2. Handling Fee for One Zone.
    By laydiefa in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 4 Jun 2008, 04:44 AM
  3. Individual Handling Fee for Product
    By edusupport in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 7 Feb 2008, 05:20 PM
  4. Freeshipper Handling Fee - What have I done wrong?
    By fancypants in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 11 Jul 2007, 06:03 PM
  5. 2 Shipping Methods and a Handling fee on one item
    By tdslori in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 3 May 2007, 12:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •