Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 33
  1. #21
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: Offer flat rate for 1 item...?

    Vodka or Beer?????
    Mark
    Hare Do

  2. #22
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

    Default Re: Offer flat rate for 1 item...?

    Ah, sorry! Thought we got somewhere then.

  3. #23
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

    Default Re: Offer flat rate for 1 item...?

    Quote Originally Posted by haredo View Post
    Vodka or Beer?????
    Whiskey

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

    Default Re: Offer flat rate for 1 item...?

    Definitely da whiskey ... makes da coding go so much ... umm ...
    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.5]
    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. #25
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Offer flat rate for 1 item...?

    Okay ... change this code between the code in BLACK ...
    Code:
          // calculate cost of master_categories_id 319
          for ($i=0, $n=sizeof($products); $i<$n; $i++) {
            // calculate price and quantity master_categories_id 42, 59, 100
    //echo 'Product id: ' . $products[$i]['id'] . ' master: ' . $products[$i]['category'] . '<br>';
    // master_categories_id 42
            if ($products[$i]['category'] == 42) {
              $chk_cost += $products[$i]['final_price'];
              $chk_count += $products[$i]['quantity'];
            }
    // master_categories_id 59
            if ($products[$i]['category'] == 59) {
              $chk_cost += $products[$i]['final_price'];
              $chk_count += $products[$i]['quantity'];
            }
    // master_categories_id 100
            if ($products[$i]['category'] == 100) {
              $chk_cost += $products[$i]['final_price'];
              $chk_count += $products[$i]['quantity'];
            }
          }
    
    // set extra_charge_amount for UK - GB
    If there are more master_categories_id that need to be added, follow the pattern ...
    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.5]
    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!

  6. #26
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

    Default Re: Offer flat rate for 1 item...?

    Excellent, so I then just change the 319, 42, 59, 100 then add extra ones for more catogories?

    Thanks
    A

  7. #27
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

    Default Re: Offer flat rate for 1 item...?

    Ill just show you what im doing before I bongle it up! Gonna change the ones in red

    // calculate cost of master_categories_id 319
    for ($i=0, $n=sizeof($products); $i<$n; $i++) {
    // calculate price and quantity master_categories_id 42, 59, 100
    //echo 'Product id: ' . $products[$i]['id'] . ' master: ' . $products[$i]['category'] . '<br>';
    // master_categories_id 42
    if ($products[$i]['category'] == 42) {
    $chk_cost += $products[$i]['final_price'];
    $chk_count += $products[$i]['quantity'];
    }
    // master_categories_id 59
    if ($products[$i]['category'] == 59) {
    $chk_cost += $products[$i]['final_price'];
    $chk_count += $products[$i]['quantity'];
    }
    // master_categories_id 100
    if ($products[$i]['category'] == 100) {
    $chk_cost += $products[$i]['final_price'];
    $chk_count += $products[$i]['quantity'];
    }
    }

    // set extra_charge_amount for UK - GB

  8. #28
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

    Default Re: Offer flat rate for 1 item...?

    Left 319 as it is...

    IT WORKS! THANKYOU! I would offer you some whiskey but you are too far away.

    Thankyou
    A

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

    Default Re: Offer flat rate for 1 item...?

    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.5]
    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!

  10. #30
    Join Date
    Apr 2010
    Location
    Pasadena, CA
    Posts
    24
    Plugin Contributions
    0

    Default Re: Offer flat rate for 1 item...?

    Hi,

    I have similar problem. For example, for Category 1, I offer shipping by USPS, but for Category 2, I offer shipping based on the weight.
    Items in Category 1 are less than 1 lb, if they customer choose the "best way" during check out, usually the shipping cost shows less than $1.
    However, for Category 2, these are over sized items and we charge a flat rate of $130.

    I would like to know if: 1, how to turn off "per Unit" module when customer purchases items from Category 1 so they can only see the rate from USPS?
    2. how to turn off "USPS" module when customer purchases items from Category 2 so they can only see the $130 rate?

    Please help.

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Offer flat rate for 1 item...?
    By rainbow_pixie_star in forum General Questions
    Replies: 8
    Last Post: 20 Aug 2012, 07:33 PM
  2. Flat rate for 1 item and more for each additional item
    By spookyghost in forum General Questions
    Replies: 4
    Last Post: 29 Dec 2009, 08:56 PM
  3. How do I offer multiple Flat Rate shippings and per item shipping at the same time??
    By nyanko chan in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 Nov 2008, 05:48 PM
  4. Flat rate in US but flat rate + $1 for ea additional item - International?
    By bakdoor in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 19 Oct 2008, 12:07 AM
  5. Flat Rate for Specific Item
    By Webskipper in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 7 Jan 2008, 08:42 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR