Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Apr 2010
    Posts
    15
    Plugin Contributions
    0

    Default Table Method by Price showing 0 shipping if not defined!

    After much searching I cannot find a solution. I have the table method by price which I am using for the items that can ship USPS Domestic Flat Rate. I have this in table to 25:10.70 but if someone has $26 it is returning 0 --I have temp put it at 500 ( 10000:500) but that is just plain unprofessional!
    I tried below that I found in a post but it disabled the entire shipping estimator -I only want to not print the table method to the estimator if it is not defined. I want the other shipping methods to show!

    if (zen_get_shipping_enabled($this->code)) {
    $this->enabled = ((MODULE_SHIPPING_TABLE_STATUS == 'True') ? true : false);
    }

    // Check for Price and display module if price exceeds stated value
    if (IS_ADMIN_FLAG == false && $_SESSION['cart']->show_total() > 25) {
    $this->enabled = false;
    }

    Any help is much appreciated! I am using version 1.3.9a

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

    Default Re: Table Method by Price showing 0 shipping if not defined!

    Try adding a:
    global $cart;

    above your test ...
    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. #3
    Join Date
    Apr 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: Table Method by Price showing 0 shipping if not defined!

    Same thing - gives me a blank shipping estimator pop-up that only has a close window link

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

    Default Re: Table Method by Price showing 0 shipping if not defined!

    What other shipping modules do you have for orders over $25.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.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. #5
    Join Date
    Apr 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: Table Method by Price showing 0 shipping if not defined!

    USPS priority and FedEx
    Unfortunately the USPS shipping module does not have first class Parcel or USPS Flat Rate Priority

  6. #6
    Join Date
    Apr 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: Table Method by Price showing 0 shipping if not defined!

    I only ship to USA from USA

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

    Default Re: Table Method by Price showing 0 shipping if not defined!

    I am not quite following what you cannot get to work correctly here ...

    You might peek at the UPS shipping modle:
    /includes/modules/shipping/usps.php

    and check that you are setup how you want this to get your quotes:
    Code:
              //PRIORITY MAIL OPTIONS
              if ($key == 'PRIORITY'){
                $this->container = ''; // Blank, Flate Rate Envelope, or Flat Rate Box // Sm Flat Rate Box, Md Flat Rate Box and Lg Flat Rate Box
    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. #8
    Join Date
    Apr 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: Table Method by Price showing 0 shipping if not defined!

    On usps module these are the choices:
    Domestic Shipping Methods
    Select the domestic services to be offered:

    EXPRESS
    PRIORITY
    FIRST CLASS
    PARCEL
    MEDIA
    BPM
    LIBRARY


    The first class is letters not parcel and parcel does not include first class parcel.
    Priority Flat Rates are not a choice!

    They are a choice on global/international shipping I do not use that as I do not do any international shipping.

    What I did was set up the table method for shipping those items that can ship first class parcel, flat rate envelope and flat rate medium box.
    It was easiest to set this by price as the weight varies too much.

    For orders that do not fit in the flat rate box I have fedex or regular priority ( I do not ship usps parcel)

    When you put the items in the cart that exceed the price in the table it gives $0 as the cost of shipping. I need the table method to not print to the shipping estimator pop up window if the price is over $25.00

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

    Default Re: Table Method by Price showing 0 shipping if not defined!

    If I change the code to:
    Code:
        // disable only when entire cart is free shipping
        if (zen_get_shipping_enabled($this->code)) {
          $this->enabled = ((MODULE_SHIPPING_TABLE_STATUS == 'True') ? true : false);
        }
    
    global $cart;
    // Check for Price and display module if price exceeds stated value
    if (IS_ADMIN_FLAG == false && $_SESSION['cart']->show_total() > 25) {
    $this->enabled = false;
    }
    
        if ($this->enabled) {
          // check MODULE_SHIPPING_TABLE_HANDLING_METHOD is in
    The Table Rate table shipping module does not show when the Order is greater than $25.00 ... it does show when the Order is less than or equal to $25.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.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. #10
    Join Date
    Apr 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: Table Method by Price showing 0 shipping if not defined!

    So that I make sure I do it right, exactly which file am I adding this to? Maybe that is my problem --I'm probably in wrong folder or file

    Thank you for your patience and help

    I keep getting myself all confused with all these folders with the same names and end up so lost going down the wrong paths....

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Choices of Shipping Method not showing during checkout
    By Pxtures in forum General Questions
    Replies: 5
    Last Post: 27 Jan 2013, 06:27 AM
  2. Shipping Method not showing up on Order Confirmation Email
    By brycem in forum Managing Customers and Orders
    Replies: 5
    Last Post: 6 Aug 2012, 07:36 PM
  3. shipping method page not showing or showing error
    By artbobo in forum Managing Customers and Orders
    Replies: 5
    Last Post: 19 Jan 2009, 03:38 AM
  4. USPS Shipping Method not showing up at Checkout?
    By mw4kids in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 15 Nov 2008, 04:55 AM
  5. Shipping table not showing.
    By blind1 in forum Built-in Shipping and Payment Modules
    Replies: 16
    Last Post: 16 Dec 2006, 03:09 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