Results 1 to 10 of 21

Hybrid View

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

    Default Re: Custom Item.php ---PHP error--help please

    Are you adding $15.00 for these Products or adding $15.00 per Product?

    On the regular Products are you charging $5.00, or are you charging $5.00 per 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!

  2. #2
    Join Date
    Aug 2008
    Posts
    274
    Plugin Contributions
    0

    Default Re: Custom Item.php ---PHP error--help please

    Thanks again for your help.

    I will have 6 types of products (categories) being ordered

    candles, trees, gift baskets, etc

    these items will all be charged $5 per item to be shipped, I have that setup already and it is working fine. I did the per item fee, $5 per item shipping charge.

    Then there is several products under the category flowers, there is sub categories and with your help that is working. If they order any amount from here (1 or 50 of them) they are charged $15 for shipping, flat rate, no matter how many they get.

    Everything is working great except if someone adds a flower it is charging the $15 for shipping (which is correct) but it also charges the $5 per item. So if they get two flowers they should only be charged $15 for shipping, it is charging them $25 though ($15 for flat plus the $5 per item since it is two items)

    does this make sense/

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

    Default Re: Custom Item.php ---PHP error--help please

    If I order 5 of the Special Products, the charge is just $15.00 correct?

    If I order 5 of the Regular Products, the charge is 5 * $5.00 for $25.00, correct?

    What happens when 3 Regular Products are in the cart and the 4 Special Products for the $15.00 are in the cart ...
    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!

  4. #4
    Join Date
    Aug 2008
    Posts
    274
    Plugin Contributions
    0

    Default Re: Custom Item.php ---PHP error--help please

    Thanks

    $15 for the three reg products ($5x3) plus the $15 flat rate for the flowers. So total shipping should be $30

    Thank you for your help. Ive Bren trying to figure this out for awhile

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

    Default Re: Custom Item.php ---PHP error--help please

    And if you subtract the number of Special Products from the Total Count:
    Code:
    if ($chk_flowers > 0) {
      $item_total_count = $item_total_count - $chk_flowers;
      $chk_flowers = 15.00;
    } else {
      $chk_flowers = 0;
    }
    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!

 

 

Similar Threads

  1. Please Help! Parse Error - Group pricing .php
    By annettes in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Apr 2011, 11:38 PM
  2. v1.3.7 and PHP 4.4.6 to PHP 5.2.1 Problems-Please Help
    By grncreek in forum General Questions
    Replies: 8
    Last Post: 26 Oct 2008, 01:46 AM
  3. Need *URGENT* HELP please!! Fatal Error order_total.php
    By gizmo_girl in forum General Questions
    Replies: 4
    Last Post: 1 Feb 2008, 07:12 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