- Posts: 392
- Thank you received: 0
Change order of shipping choice
15 years 1 week ago #26145
by Bugger101
Change order of shipping choice was created 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
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.
15 years 1 week ago #26148
by nicolas
Replied by nicolas on topic Re: Change order of shipping choice
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.
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.
14 years 11 months ago #28848
by ClickWebDesign
Replied by ClickWebDesign on topic Re: Change order of shipping choice
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
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.
14 years 11 months ago #28851
by Bugger101
Replied by Bugger101 on topic Re: Change order of shipping choice
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.
14 years 11 months ago #28881
by nicolas
Replied by nicolas on topic Re: Change order of shipping choice
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
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