webspinning 0 Posted September 4, 2019 Share Posted September 4, 2019 Since upgrading to version 6.2.6 the order for the shipping options has changed on one of our stores with the default now being an option to ship with a courier rather then just 1st class post. How do I reorder the shipping options please? Just upgraded the shipping module to the latest version and see nowhere to change the order of these. Quote Link to post Share on other sites
bsmither 1,463 Posted September 4, 2019 Share Posted September 4, 2019 (edited) Generally, the default is the least expensive option. I did see something in the code changes concerning how the least expensive option is selected, but I will double-check to see if any changes were made that might affect how those options are sorted. Edited September 4, 2019 by bsmither Quote Link to post Share on other sites
bsmither 1,463 Posted September 5, 2019 Share Posted September 5, 2019 The code changes just fixed a syntax error, not the overall behavior of finding the least expensive option. Find this option is going through both a 'package' of options available from a single module, as well as going through all the modules. Can you tell us if the courier option did turn out to be the least expensive, thus it was the pre-selected choice? Quote Link to post Share on other sites
webspinning 0 Posted September 5, 2019 Author Share Posted September 5, 2019 the shipping methods are listed in the right order - least to most expensive but the default is to the most expensive. As per attached image. Quote Link to post Share on other sites
webspinning 0 Posted September 7, 2019 Author Share Posted September 7, 2019 I am assuming that this is just the default set to the most expensive rather than the least expensive but that the change is not in the all in one shipping module files rather a core CC file - does anyone know which one I should look at please? Quote Link to post Share on other sites
bsmither 1,463 Posted September 7, 2019 Share Posted September 7, 2019 In the file /classes/cubecart.class.php, near line 1756, the code attempts to initially find the least expensive shipping option and sets that option in the Cart parameters. This is a change in the code. Quote Link to post Share on other sites
webspinning 0 Posted September 8, 2019 Author Share Posted September 8, 2019 I reversed the change and all is back to normal. Thank you. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.