Skip to main content

Change order of shipping choice

More
15 years 1 week ago #26145 by Bugger101
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.

More
15 years 1 week ago #26148 by nicolas
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.

More
14 years 11 months ago #28848 by ClickWebDesign
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.

More
14 years 11 months ago #28851 by Bugger101
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.

More
14 years 11 months ago #28881 by nicolas
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.185 seconds
Powered by Kunena Forum