Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Nov 2005
    Posts
    12
    Plugin Contributions
    0

    Default Table Rate Error

    I installed the Table Rate for shipping and set all my values accordingly.

    25:6.95,50:8.95,75:10.95,100:12.95,150:14.95,200:16.95,300:19.95,400:22.95,10000 0:26.95

    I also set the method to price.
    No matter how much I purchase it always comes back saying the shipping is 6.95 (the first value in the table). If I change that first value to something else, it comes back with that value each time.

    What am I missing here?

    Thanks

    edit: I'm not sure why there is a space on 16.95 listed above, there is no such space when I edit this post and there is no space where I can update the table in Zen Cart either

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

    Default Re: Table Rate Error

    Have you an URL that we can peek at?

    What version of Zen Cart are you using?

    Is this a clean install or an upgrade?
    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
    Nov 2005
    Posts
    12
    Plugin Contributions
    0

    Default Re: Table Rate Error

    It was a clean install....
    version 1.2.6

    If you want to take a look go to
    http://www.kcwow.com/cart/ although I'm not sure what good that will do

    I started this site a while back and the owner went on a hiatus for a few months and just dropped back in so I'm trying to finish it up.

    thanks

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

    Default Re: Table Rate Error

    Note: v1.2.6 is very old and has quite a few bugs and security issues plus lacks in many features ...

    You might wish to upgrade at least to v1.2.7 if you cannot upgrade to v1.3.0.2 at this time ...

    I am not seeing anything obvious in regard to this particular issue ... but I would recommend that you copy all of the settings currently in the tables.php to NotePad or something so you can easily reconfigure it ...

    Then, remove and reinstall it ... then put back your settings ... does this change anything 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!]
    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. #5
    Join Date
    Nov 2005
    Posts
    12
    Plugin Contributions
    0

    Default Re: Table Rate Error

    Hmmm....
    I guess I'll try to upgrade tomorrow then.

    I haven't done an upgrade with Zen....I guess I'll have to backup every file that I've made code changes to? I'll look for a FAQ section regarding upgrades.

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Table Rate Error

    I assume that your table rate is weight based and if you look at the item below you have no weight entered into your product description. So no matter how much is added to the cart it will always default to the first ship rate.
    Total Items: 1 Weight: 0lbs Amount: $10.95
    I know that you stated that you set it to price but I would check that this is the case.
    Zen-Venom Get Bitten

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

    Default Re: Table Rate Error

    Always a good idea to backup the whole site and the database ... then do a test upgrade in a test directory with a test database of the Live database ...

    There are several writeups on how to do this ...
    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!

  8. #8
    Join Date
    Nov 2005
    Posts
    12
    Plugin Contributions
    0

    Default Re: Table Rate Error

    I found a place in the file...
    /includes/modules/shipping/table.php

    // shipping adjustment
    if (MODULE_SHIPPING_TABLE_MODE == 'price') {
    $order_total = $_SESSION['cart']->show_total() - $_SESSION['cart']->free_shipping_prices() ;
    } else {
    $order_total = $shipping_weight;
    }

    and I changed this to

    // shipping adjustment
    if (MODULE_SHIPPING_TABLE_MODE == 'price') {
    $order_total = $_SESSION['cart']->show_total();
    } else {
    $order_total = $shipping_weight;
    }

    And it works just fine. Looks like the prob was for some reason it was taking the total price in the cart, and subtracting the free shipping prices (which nothing was designated as free shipping and that shipping option isn't even installed). It for some reason was substracting the total price from itself and giving me the lowest shipping option.
    When I would echo the results the $order_total would come out as 0 and it would give me the first shipping price. If that all makes sense.

    Just in case someone else has the same problem and wants to just go in and edit the code.

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

    Default Re: Table Rate Error

    Actually the issue is a bit more than that when shipping is based on Total and you have:

    Always Free Shipping

    Downloads

    Virtual Products

    etc. etc.

    I am working on a new and better method to catch all of these so that when using a Shipping Module based on Price, anything that would ship for free is not used in the Total for the Shipping calculation ...

    Weight and Item count seem to be working happily ... just those Shipping based on Total ...
    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!

  10. #10
    Join Date
    Aug 2006
    Location
    Big D
    Posts
    36
    Plugin Contributions
    0

    Re: Table Rate Error

    Ajeh,

    I've noticed this issue show up in several threads, but considering I'm new to Zen Cart I just wanted to be sure I understand correctly.

    I'm using "Table Rate" shipping based on price. I did not intend to enter weights for any of the products in my catalog. However, I've found that I cannot proceed past step 1 of checkout until I enter a [non-zero] weight for the item in the shopping cart.

    Am I correct to assume I must enter some non-zero value for weight on all my products (aside from those defined as free shipping) even if I am using the aforementioned shipping method?

    Thanks in advance...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h Table rate error - hum
    By kitcorsa in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 30 Sep 2013, 10:52 AM
  2. v139h Shipping Module, Table Rate Error
    By wiccan0974 in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 28 Feb 2012, 02:18 AM
  3. Table Rate Error
    By nafights in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 16 Jun 2008, 02:36 PM
  4. Cloned Table Rate Shipping 1146 Error
    By pillaroom in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 8 Mar 2008, 07:15 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