Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Jul 2009
    Posts
    158
    Plugin Contributions
    0

    Default How to force my custom $0 shipping module to not be default?

    I have just added an international shipping option to my store but the radio button is defaulting to it, rather than the first available option which is flat rate.

    I can't work out how to change this so it automatically selects the top option. When the order is over a certain amount, free shipping option pops up as the first box and it used to select that or flat rate.

  2. #2
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: How to choose a different default shipping option?

    set the sort order in admin then the one with order 1 will be at top and 10 will be on the bottom
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Play with it long enough and you will break it.

  3. #3
    Join Date
    Jul 2009
    Posts
    158
    Plugin Contributions
    0

    Default Re: How to choose a different default shipping option?

    I have my sort order set like that.

    The first option that should be where the radio button defaults is set at 20 and the sort order for the option where the radio button is currently defaulting to is 80.

  4. #4
    Join Date
    Jul 2009
    Posts
    158
    Plugin Contributions
    0

    Default Re: How to choose a different default shipping option?

    I have my sort order set like that.

    The first option that should be where the radio button defaults is set at 20 and the sort order for the option where the radio button is currently defaulting to is 80.

  5. #5
    Join Date
    Jul 2009
    Posts
    158
    Plugin Contributions
    0

    Default Re: How to choose a different default shipping option?

    Can someone please help me with this. I don't know how to fix it seeing as the sort order all looks fine.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: How to choose a different default shipping option?

    Zen Cart auto-selects the least-expensive shipping option by default.
    If your addon module isn't returning the right data then that might be causing the sort of results to be incorrect and thus creating the confusion. You'll need to fix your addon module so that it cooperates properly.
    .
    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.

  7. #7
    Join Date
    Jul 2009
    Posts
    158
    Plugin Contributions
    0

    Default Re: How to choose a different default shipping option?

    That makes sense. The one it is defaulting to is $0.00 because I invoice them later.

    How do I make them co-operate so it looks at the sort order rather than the dollar value?

  8. #8
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: How to choose a different default shipping option?

    There's no built-in facility to change or disable the sort-by-cheapest.

    But, is there a reason why you're not applying zones to prevent the international module from showing to non-international customers, and vice-versa?
    .
    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.

  9. #9
    Join Date
    Jul 2009
    Posts
    158
    Plugin Contributions
    0

    Default Re: How to choose a different default shipping option?

    I originally tried to set it up to only appear when the customer was outside Australia but I couldn't work out how to get it to work.

    I have:
    flat rate postage - $6.95 (Australia)
    Express post options - $8-12 (Australia)
    International - $0.00 (invoiced after the fact)

    I have one zone for Australia and one for International (I disabled international and made Australia all countries) because I couldn't work out if you could just choose all of the countries that aren't Australia without having to individually choose each option.

  10. #10
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: How to choose a different default shipping option?

    I'd tackle it like this:

    Make an Australia zone, but with ONLY Australia in it.
    And another zone for all OTHER countries. Yes, you have to add them all individually.

    Then set your shipping modules (flat rate and Express post) to use the Australia zone.
    And your International module to use the International zone.

    Then it'll all work as desired.
    .
    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How to get custom shipping module costs through to checkout?
    By s_mack in forum Addon Shipping Modules
    Replies: 33
    Last Post: 3 Feb 2017, 06:16 AM
  2. Replies: 4
    Last Post: 17 Jan 2013, 02:47 PM
  3. Replies: 0
    Last Post: 10 Aug 2009, 10:56 AM
  4. Replies: 2
    Last Post: 10 Jun 2009, 12:24 PM
  5. How to force checkout in default currency?
    By tj1 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 13 Oct 2008, 03:59 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