Change order of shipping choice

  • Posts: 392
  • Thank you received: 0
13 years 2 months ago #26145

Hello!

Is there a way to change the layout/order of the shipping methods?

E.g

express post
standard
international

changed to:

standard
express post
international

Thanks :)

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
13 years 2 months ago #26148

Hi,

For manual shipping methods, yes, there is an ordering column for that on the listing of manual shipping methods.
For UPS or Australia Post, there is no option for it and HikaShop displays them in the order they are sent back from UPS/Australia Post.
You would have to edit the code of the plugin to sort them differently at the end of the onShippingDisplay function.

Please Log in or Create an account to join the conversation.

  • Posts: 50
  • Thank you received: 0
13 years 3 weeks ago #28848

Hi,
Just bumping this one, would be great to have the default as "standard" shipping on the Auspost module - don't really need to choose the default, just a logical order,

Cheers
Chris

Please Log in or Create an account to join the conversation.

  • Posts: 392
  • Thank you received: 0
13 years 3 weeks ago #28851

It would be good - they don't know that they are choosing it half the time! :)

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
13 years 3 weeks ago #28881

Well, changing the order is possible... but all the shop owners don't always want the same order. Thus, we didn't reverse the order...An option would be needed to do that.


If you want to do that, you can just add the line:
$rates=array_reverse($rates,true);

before the code:
foreach($rates as $rate){
$usable_rates[]=$rate;
}

in the file plugins/hikashopshipping/aupost.php

Please Log in or Create an account to join the conversation.

Time to create page: 0.067 seconds
Powered by Kunena Forum