Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2009
    Posts
    23
    Plugin Contributions
    0

    Default Set shipping method to Default?

    Hi guys,

    I have a question i have 3 kinds of shipping methods.

    I've set the sort order on Flat rate 2 and Free shipping on 1.
    But when i order a product and when it goes to Step 1 Shipping method it automaticly choses Flat Rate instead of Freeshipping on 1.

    Is there any way i can change Free shipping on default?

    Greets,

    Chariot

  2. #2
    Join Date
    Apr 2009
    Posts
    23
    Plugin Contributions
    0

    Default Re: Set shipping method to Default?

    Hm i have found this in the template

    Code:
    <?php
            } else {
              for ($j=0, $n2=sizeof($quotes[$i]['methods']); $j<$n2; $j++) {
    // set the radio button to be checked if it is the method chosen
                $checked = (($quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'] == $_SESSION['shipping']['id']) ? true : false);
    
                if ( ($checked == true) || ($n == 1 && $n2 == 1) ) {
                  //echo '      <div id="defaultSelected" class="moduleRowSelected">' . "\n";
                //} else {
                  //echo '      <div class="moduleRow">' . "\n";
                }
    ?>
    But dunno if it's the right code to change another shipping method to default.

    Cause the Radiobutton goes automaticly to Flat Rate instead of Free shipping while Flate Rate is positioned second and Free Shipping on 1.

    Anyone know the answer? =D

  3. #3
    Join Date
    Nov 2009
    Location
    Aurora, IN
    Posts
    37
    Plugin Contributions
    0

    Default Re: Set shipping method to Default?

    I would also like to know how to set a certain shipping option as the default. Can anyone out there help us?

 

 

Similar Threads

  1. v154 Can I set Default Method to Ground in USPXML?
    By BrianK in forum Addon Shipping Modules
    Replies: 3
    Last Post: 13 Apr 2016, 03:05 AM
  2. v154 Select table shipping method as default - freedelivery is being set maybe as cheapest
    By SarahL in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 24 Aug 2015, 03:32 PM
  3. Set default selected shipping method
    By DigitalShadow in forum General Questions
    Replies: 9
    Last Post: 31 Oct 2013, 03:24 AM
  4. Need to set default shipping method to FedExGround
    By rgshearer in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 14 Apr 2011, 04:15 PM
  5. Set a Default Shipping Method in Checkout?
    By magpie in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 29 Aug 2009, 05:50 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