Shipping
Install and activate WooCommerce Plugin.
Install and activate the Flexible Shipping plugin for shipping. It allows you to calculate the shipping costs based on weight and/or cart total.
Step 1: Add shipping zones based on locations. And enable shipping method as flexible shipping.
Steps to follow:
Step 1: Add shipping zones based on locations. And enable shipping method as flexible shipping.

Step 2: Set Shipping Options.

Step 3: Add shipping classes for products.

The below link will show each step in detail with descriptions and images. You can refer to this for more clarity.Â
https://octolize.com/docs/category/500-flexible-shipping-configuration