Custom Shipping Calculations for WooCommerce
In Woocommerce, there is a option missing in the backend. When creating an order from backend/admin panel, the shipping can not be added automatically.When a order is placed from the frontend, the shipping is added automatically if the billing or shipping address is added properly, but it is not happening from backend.One of my client was facing this while creating multiple orders for their customers from backend.While trying to find the issue I found that this is not added from WooCommerce yet.You can check the support thread here.So I have to make something will work for the client because it hampered their business and they lost a big amount of revenue.While they are using a separate plugin
WooCommerce Table Rate Shipping for the shipping calculation. So I created a option to select the shipping options on the backend.After adding all of the informations like the products, billing address, shipping address etc. the system will automatically calculated the shipping rates for different options automatically.The shipping rates were calculated according to the value that were saved in the system. After clicking the `Update Shipping` button the shipping will automatically added to order.
FYI, This was a very specific situation and it is a very edge case. But as the client is happy, I am very much happy to built this.
If you want to check the codes for the solution, check it from github.