osCmax v2.5 User Manual
Results 1 to 5 of 5

Set default shipping method when not cheapest?

This is a discussion on Set default shipping method when not cheapest? within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Hi, I want to set courier delivery as the default shipping method not Collect Order. The collect order is selected ...

      
  1. #1
    New Member
    Join Date
    May 2010
    Posts
    29
    Rep Power
    0


    Default Set default shipping method when not cheapest?

    Hi,
    I want to set courier delivery as the default shipping method not Collect Order. The collect order is selected by default because it is the cheapest (free) but most orders will be delivered. I checked the OSC forums and I found a thread about changing includes/classes/shipping.php on line 155 I have
    Code:
     $cheapest = $rates[$i];
    Also line 158
    Code:
    $cheapest = $rates[$i];
    It says I should change the $i to just 0 to represent the shipping method sort order.

    Is there anything else I need to change?

  2. #2
    New Member
    Join Date
    May 2010
    Posts
    29
    Rep Power
    0


    Default Re: Set default shipping method when not cheapest?

    Ok I changed quite a few $i values to 1 but still no joy, going to change them back now :/

  3. #3
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Default Re: Set default shipping method when not cheapest?

    I did have a look for you but it was consuming too much of my time. I have to say, from what I've seen, that the proposed method above doesn't appear to be the right way of going about it. I could easily be proven wrong though.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  4. #4
    New Member
    Join Date
    May 2010
    Posts
    29
    Rep Power
    0


    Default Re: Set default shipping method when not cheapest?

    Thanks, I still couldn't work it out so as a temp measure I will put a big warning sign to select the correct shipping - or maybe just leave paid shipping and refund later.

  5. #5
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Thumbs up Re: Set default shipping method when not cheapest?

    A message does seem to be the simplest way. It's quite amazing the lack of commonsense from some buyers though.

    [Still don't understand how 'shipping' works between Arizona and Nebraska, for example. Boats with wheels. ]
    Hosting plans with installation, configuration, contributions, support and maintenance.

Similar Threads

  1. payment method depends on shipping method
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 11-25-2009, 07:00 AM
  2. MOD shipping method depends on payment method
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 11-25-2009, 07:00 AM
  3. payment method depends on shipping method
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 07-04-2009, 11:52 AM
  4. Plain out-of-box UPS Shipping Method default option
    By Autoegocrat in forum UPS XML
    Replies: 3
    Last Post: 08-08-2007, 10:04 AM
  5. Creating default Shipping method
    By mrmartini in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 03-30-2005, 09:04 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
  •