Code Snippet to rearrange shipping methods in cart pageBesty
The code snippet facilitates you to rearrange shipping methods in cart page.
Add the following code to your functions.php or anywhere relevant.
You can see in the code snippet, the arrangement of shipping methods are in the order:
3. Free Shipping
4. Local Pickup
5. Flat Rate
So the cart page should display prices in the above order. This can be verified from the screenshot below :