webspinning 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. Link to comment Share on other sites More sharing options...
bsmither Posted September 4, 2019 Share Posted September 4, 2019 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. Link to comment Share on other sites More sharing options...
bsmither 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? Link to comment Share on other sites More sharing options...
webspinning 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. Link to comment Share on other sites More sharing options...
webspinning 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? Link to comment Share on other sites More sharing options...
bsmither 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. Link to comment Share on other sites More sharing options...
webspinning Posted September 8, 2019 Author Share Posted September 8, 2019 I reversed the change and all is back to normal. Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.