Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2006
    Location
    Largo, Florida USA
    Posts
    102
    Plugin Contributions
    0

    Default Shipping Selection

    In Step 1 of 3 during checkout, how do I make my UPS the default shipping selection, I have 4 shipping methods I setup in the SHIPPING module, and have even changed the order of these and still get my ZONE RATES as the default selection. Now my customers leave that selection when checking out since it reads $0.00 and they did not select the items that specify ZONE RATES shipping only. I would like to make the UPS the default method.
    Thanks
    Sean

  2. #2
    Join Date
    Feb 2006
    Posts
    85
    Plugin Contributions
    0

    Default Re: Default Shipping Selection

    did you ever figure this out?

    I have the same problem

  3. #3
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Default Shipping Selection

    It is auto-selecting the least-expensive shipping method.

    You can turn that off by editing your /includes/modules/pages/checkout_shipping/header_php.php
    around line 167 you have this:
    PHP Code:
      if ( !$_SESSION['shipping'] || ( $_SESSION['shipping'] && ($_SESSION['shipping'] == false) && (zen_count_shipping_modules() > 1) ) ) $_SESSION['shipping'] = $shipping_modules->cheapest(); 
    Just put two slashes // in front of that line and re-upload it to your server.
    Now it won't calculate the cheapest option anymore, and will require that the customer actually makes a choice.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Feb 2006
    Posts
    85
    Plugin Contributions
    0

    Default Re: Default Shipping Selection

    Thank you Dr Byte! That worked perfectly!

  5. #5
    Join Date
    Jul 2005
    Posts
    6
    Plugin Contributions
    0

    Default Re: Default Shipping Selection

    I have the same problem as this, I commented out the line suggested by Dr Byte but it's still doing it. It's not actually selecting the cheapest option though, it is selecting the 2nd cheapest.

    Ideally I would like it to select the top option by default (or to choose a default option myself), but happy if nothing is selected by default. Any suggestions?
    Attached Images Attached Images  

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

    Default Re: Default Shipping Selection

    Actually it is selecting the last one it is allowed to select as Store Pickup is designed not to be a default ...

    Change the order of your Shipping modules by number by 10s and you will probably find it still is selecting the second from the last ...
    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!

  7. #7
    Join Date
    Jul 2005
    Posts
    6
    Plugin Contributions
    0

    Default Re: Default Shipping Selection

    Thanks for your suggestion, it is actually working now (ie not selecting any options), don't know why it wasn't before. Yes I did refresh lol.

 

 

Similar Threads

  1. Skip shipping selection question (hide selection)
    By CabernetCat in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 1 Jan 2012, 09:31 AM
  2. Shipping method default selection
    By kanine in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 3 Sep 2010, 03:06 AM
  3. Default Shipping Radio Selection
    By limelites in forum Addon Shipping Modules
    Replies: 4
    Last Post: 8 Jun 2010, 12:26 AM
  4. change shipping default selection
    By ericpeng in forum Addon Shipping Modules
    Replies: 0
    Last Post: 23 Jul 2006, 07:30 AM

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