Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2008
    Location
    Rimini, Italy, Italy
    Posts
    67
    Plugin Contributions
    0

    Default No shipping method selected notification

    I followed instructions on thread http://www.zen-cart.com/forum/showthread.php?t=39376 to have no default shipping method on checkout first page.

    If customers try to click on Continue without selecting a shipping method, zen cart just sits on the same page without a "missing shipping selection" notification.

    Any help to accomplish that?
    Thanks in advance

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

    Default Re: No shipping method selected notification

    In the file:
    /includes/modules/pages/checkout_shipping/header_php.php

    You could add the code in RED:
    Code:
    // process the selected shipping method
      if ( isset($_POST['action']) && ($_POST['action'] == 'process') ) {
    
        if (!$_SESSION['shipping']) {
          $messageStack->add('checkout_shipping', 'Please select a Shipping Module', 'error');
        }
    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
    Dec 2008
    Location
    Rimini, Italy, Italy
    Posts
    67
    Plugin Contributions
    0

    Default Re: No shipping method selected notification

    Thanks Linda, it works.
    I completed it by managing multi language:


    PHP Code:
     if (!$_SESSION['shipping']) {
          
    $messageStack->add('checkout_shipping'PAGE_CHECKOUT_SHIPPING_CORIMTEC_NOTIFY 'error');
        } 

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

    Default Re: No shipping method selected notification

    Thanks for the update that this worked and for posting your solution for multi language ...
    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. Set default selected shipping method
    By DigitalShadow in forum General Questions
    Replies: 9
    Last Post: 31 Oct 2013, 03:24 AM
  2. Replies: 0
    Last Post: 27 Mar 2012, 12:59 AM
  3. How do I disable paypal if another shipping method is selected?
    By soskuthy in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 11 Jul 2009, 04:34 PM
  4. No error when shipping method not selected
    By scrapper in forum Addon Shipping Modules
    Replies: 1
    Last Post: 15 Sep 2006, 12:45 PM

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