Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default [Duplicate] Cheapest shipping not selected if there's only one module active

    Running ZC 1.5.4 w/ minimum modifications. The shop only has one shipping module defined (Flat Rate). When a customer goes to checkout, the cheapest/only shipping module is not selected.

    To correct this, I changed line 212 of /includes/modules/pages/checkout_shipping/header_php.php from:
    Code:
      if ( !isset($_SESSION['shipping']) && (zen_count_shipping_modules() > 1) )  $_SESSION['shipping'] = $shipping_modules->cheapest();
    to
    Code:
      if ( !isset($_SESSION['shipping']) && (zen_count_shipping_modules() >= 1) )  $_SESSION['shipping'] = $shipping_modules->cheapest();

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

    Default Re: Cheapest shipping not selected if there's only one module active

    This has previously been added to the Known Bug Fixes for v1.5.4 on post #10:
    https://www.zen-cart.com/showthread....29-with-v1-5-4

    Thanks!
    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
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: Cheapest shipping not selected if there's only one module active

    Sorry 'bout that. I googled the symptom before I posted ...

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

    Default Re: Cheapest shipping not selected if there's only one module active

    Not a problem ... rather hear about it twice than never ...
    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!

 

 

Similar Threads

  1. exclude shipping module from being auto selected as cheapest
    By marcopolo in forum General Questions
    Replies: 6
    Last Post: 27 Apr 2016, 07:58 PM
  2. Replies: 4
    Last Post: 7 Apr 2008, 03:52 PM
  3. Not sure what I did but right column is not there for ONE product only?
    By mommydesigns in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 Mar 2007, 03:43 AM
  4. Do not allow order to proceed if no shipping module active
    By b3motorsports in forum Addon Shipping Modules
    Replies: 4
    Last Post: 7 Aug 2006, 12:10 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