Shipping Class Based Shipping Rule
Shipping classes are used to group products – they are not used directly to offer shipping rates to customers. To set up shipping rates, configure Shipping Zones, and then add your shipping class costs to a shipping method, like Flat Rate.
This option allows a user to add extra cost based on shipping classes. It provides all shipping classes which are already used for the product. It displays all shipping classes list with a text box to add cost. The shipping class cost will be added to the shipping charge.
Blog: How To Charge WooCommerce Shipping Based On Cart Total?
How to Create Shipping Class
Step 1: Creating a Shipping Class in WooCommerce
Go to: WooCommerce > Settings > Shipping > Shipping Classes.
Screenshot - 1: (Shipping classes list)
Step 2: Click the Add Shipping Class button beneath the table. A new row appears.
Screenshot - 2: (Create new shipping classes)
Assign shipping classes to products
To assign a shipping class to a product, go to the Shipping tab on one of your products and select your shipping class from the drop-down list.
Step 1: Go to WooCommerce > Products.
Screenshot - 3: (Assign shipping class to a simple product)
Simple Product – Shipping Class
Screenshot - 4: (Assign shipping class to a variable product)
Variable Product – Shipping Classes
Step 5: Update to save changes.
How to apply Shipping Class-Based Shipping Rule
Here an example, if you set $49 as a shipping charge and “Poster class” shipping cost would be $10.
Screenshot - 5: (Admin: Shipping class based rule)
Screenshot - 6: (Front: Shipping class based shipping method)