Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 33
  1. #11
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

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

    Hello,
    My zone rates say...
    Zone Based Rates

    Enable Zones Method
    True

    Calculation Method
    Price

    Tax Class
    --none--

    Tax Basis
    Shipping

    Sort Order
    1

    My debug logs in cache are many! is there a way to reset them as I think a couple apply to changes I made which I then changed back. That way i will be able to see which ones I need.

    Thanks
    A

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

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

    I need to see ALL of the settings for Zone Rate zones ... that is just a portion of them ...

    What do the debug error logs read if you open them up? Check the newest ones ...
    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!

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

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

    Here are the April ones of the last 3 days...

    12-Apr-2012 16:29:19] PHP Fatal error: Cannot redeclare class shipping in /home3/craftja1/public_html/directory/includes/modules/shipping/shipping.php on line 10

    [12-Apr-2012 16:52:07] PHP Fatal error: Cannot redeclare class shipping in /home3/craftja1/public_html/directory/includes/modules/shipping/shipping.php on line 10

    [13-Apr-2012 03:30:58] PHP Parse error: syntax error, unexpected T_STRING in /home3/craftja1/public_html/directory/includes/languages/english/shopping_cart.php on line 26

    [13-Apr-2012 03:31:03] PHP Parse error: syntax error, unexpected T_STRING in /home3/craftja1/public_html/directory/includes/languages/english/shopping_cart.php on line 26
    [12-Apr-2012 16:29:13] PHP Fatal error: Cannot redeclare class shipping in /home3/craftja1/public_html/directory/includes/modules/shipping/shipping.php on line 10

    [12-Apr-2012 16:28:51] PHP Fatal error: Cannot redeclare class shipping in /home3/craftja1/public_html/directory/includes/modules/shipping/shipping.php on line 10

    [12-Apr-2012 16:28:48] PHP Fatal error: Cannot redeclare class shipping in /home3/craftja1/public_html/directory/includes/modules/shipping/shipping.php on line 10

    [12-Apr-2012 16:28:21] PHP Fatal error: Cannot redeclare class shipping in /home3/craftja1/public_html/directory/includes/modules/shipping/shipping.php on line 10

    [12-Apr-2012 16:26:20] PHP Fatal error: Cannot redeclare class shipping in /home3/craftja1/public_html/directory/includes/modules/shipping/shipping.php on line 10

    [12-Apr-2012 16:26:11] PHP Fatal error: Cannot redeclare class shipping in /home3/craftja1/public_html/directory/includes/modules/shipping/shipping.php on line 10

    [14-Apr-2012 04:59:45] PHP Parse error: syntax error, unexpected '}' in /home3/craftja1/public_html/directory/includes/modules/shipping/zones.php on line 329

    [13-Apr-2012 03:32:18] PHP Parse error: syntax error, unexpected ')' in /home3/craftja1/public_html/directory/includes/languages/english/shopping_cart.php on line 26

    [13-Apr-2012 03:32:17] PHP Parse error: syntax error, unexpected ')' in /home3/craftja1/public_html/directory/includes/languages/english/shopping_cart.php on line 26

    [13-Apr-2012 03:31:12] PHP Parse error: syntax error, unexpected T_STRING in /home3/craftja1/public_html/directory/includes/languages/english/shopping_cart.php on line 26

    [13-Apr-2012 03:31:04] PHP Parse error: syntax error, unexpected T_STRING in /home3/craftja1/public_html/directory/includes/languages/english/shopping_cart.php on line 26

    [12-Apr-2012 16:43:42] PHP Fatal error: Cannot redeclare class freeshipper in /home3/craftja1/public_html/directory/includes/modules/shipping/freeshipper.php on line 10

    [12-Apr-2012 16:42:21] PHP Fatal error: Cannot redeclare class freeshipper in /home3/craftja1/public_html/directory/includes/modules/shipping/freeshipper.php on line 10

    [12-Apr-2012 16:42:17] PHP Fatal error: Cannot redeclare class freeshipper in /home3/craftja1/public_html/directory/includes/modules/shipping/freeshipper.php on line 10

    [12-Apr-2012 16:42:09] PHP Fatal error: Cannot redeclare class freeshipper in /home3/craftja1/public_html/directory/includes/modules/shipping/freeshipper.php on line 10

    [12-Apr-2012 16:38:57] PHP Fatal error: Cannot redeclare class freeshipper in /home3/craftja1/public_html/directory/includes/modules/shipping/freeshipper.php on line 10

    [12-Apr-2012 16:38:51] PHP Fatal error: Cannot redeclare class freeshipper in /home3/craftja1/public_html/directory/includes/modules/shipping/freeshipper.php on line 10

    [14-Apr-2012 05:35:20] PHP Parse error: syntax error, unexpected $end, expecting T_FUNCTION in /home3/craftja1/public_html/directory/includes/modules/shipping/zones.php on line 326

    [14-Apr-2012 05:33:01] PHP Parse error: syntax error, unexpected T_STRING in /home3/craftja1/public_html/directory/includes/modules/shipping/zones.php on line 182
    [14-Apr-2012 05:32:51] PHP Parse error: syntax error, unexpected T_STRING in /home3/craftja1/public_html/directory/includes/modules/shipping/zones.php on line 182

    [14-Apr-2012 05:00:37] PHP Parse error: syntax error, unexpected '}' in /home3/craftja1/public_html/directory/includes/modules/shipping/zones.php on line 329

    [14-Apr-2012 05:00:06] PHP Parse error: syntax error, unexpected '}' in /home3/craftja1/public_html/directory/includes/modules/shipping/zones.php on line 329
    [14-Apr-2012 04:59:52] PHP Parse error: syntax error, unexpected '}' in /home3/craftja1/public_html/directory/includes/modules/shipping/zones.php on line 329

    Did you mean you wanted everything from my zones? This is everything...

    Zone Based Rates

    Enable Zones Method
    True

    Calculation Method
    Price

    Tax Class
    --none--

    Tax Basis
    Shipping

    Sort Order
    1

    Skip Countries, use a comma separated list of the two character ISO country codes


    Zone 1 Countries
    GB,IR,JE,GG

    Zone 1 Shipping Table
    0.00:0.00,4.99:1,9:2,12:2.50,14.99:3.50,19.99:5.50,38:6.50,50:10

    Zone 1 Handling Fee
    0

    Handling Per Order or Per Box Zone 1 (when by weight)
    Order

    Zone 2 Countries
    AT,BE,DK,FI,FR,DE,GR,IT,NO,NL,PT,PL,CZ,ES,SE,CH,HU

    Zone 2 Shipping Table
    0.00:0.00,4.99:2.20,9:3.20,12:4,14.99:4.50,19.99:6.50,38:8,45:12,60:20

    Zone 2 Handling Fee
    0

    Handling Per Order or Per Box Zone 2 (when by weight)
    Order

    Zone 3 Countries
    US,CA,AU,BR,CL,CN,CO,CR,CU,CY,DO,EG,FK,FJ,GE,GL,HK,IS,IN,ID,IR,IL,JM,MT,MX,MA,NZ ,PE,PH,PR,RU,SA,SG,ZA,LK,TW,TH,TN,TR,UA,AE,US,UM,VE,VN

    Zone 3 Shipping Table
    0.00:0.00,4.99:2.50,10:4,14.99:4.80,19.99:6.50,38:10,45:12,60:20

    Zone 3 Handling Fee
    0

    Handling Per Order or Per Box Zone 3 (when by weight)
    Order

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

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

    It looks like you have errors in the zones.php ...

    Try this file ...

    Then, delete all of the debug log files in the:
    /cache

    and try again and see what errors show up, if any ...
    Attached Files Attached Files
    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. #15
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

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

    Hi,
    All uploaded and still lets me look at shipping. I cannot see any debug errors yet

    So whats next? Assigning flat rate to particular products?

    Thankls
    A

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

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

    You need to change this section of code that starts with the line in BLACK and ends in the line in BLACK:
    Code:
    // set extra_charge_amount for UK - GB
          if ($chk_count > 0) {
            $extra_charge_amount = 1.50;
          }
          for ($i=1; $i<=$this->num_zones; $i++) {
            $countries_table = constant('MODULE_SHIPPING_ZONES_COUNTRIES_' . $i);
            $countries_table = strtoupper(str_replace(' ', '', $countries_table));
            $country_zones = preg_split("/[,]/", $countries_table);
            if (in_array($dest_country, $country_zones)) {
              $dest_zone = $i;
              break;
            }
            if (in_array('00', $country_zones)) {
              $dest_zone = $i;
              break;
            }
          }
    // change extra_charge_amount for rest of the world
              if ($chk_count > 0 && $dest_country != 'GB') {
                $extra_charge_amount = 2.00;
              }
    
          // reduce order total by master_categories_id 319
    Now if something from ONLY Category 319 is in the cart, it will charge either the 1.50 for United Kingdom or the 2.00 for everyone else ...
    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!

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

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

    NOTE: if your Zone 3 definitions is suppose to be everyone not in Zone 1 and Zone 2, use instead:
    00

    instead of the countries that you have in Zone 3, so that nothing is forgotten or to avoid errors ... example, you have the US in there twice ...
    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!

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

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

    Oh, thanks, ill set zone 3 to 00.

    When it says reduce order total by master_categories_id 319, do I change this to the number next to the main category?
    If I want more than 1 category added to this, would I do... Reduce order total by master_categories_id 42, 59, 100 etc? and seperate with a comma.

    Thanks
    A

  9. #19
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

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

    OH! Also as the category i want to use isn't 319, do I change EVERY 319 in that document or just particular ones?


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

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

    I am going to need to start drinking early today ...

    Let me see what all code has to be changed to do multiple master_categories_id ...

    NOTE: the master_categories_id is NOT a categories_id that holds Categories ... it is the immediate categories_id that the Product belongs to ...
    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!

 

 
Page 2 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