If you have set up shipping classes and assigned products to your shipping categories, then you can see here how to add fees for products from specific shipping classes.
- Copy over the code from functions.php to your functions.php copy of WordPress site.
- You can remove lines 40-45.
- For each shipping class you would like to add fee for, copy and paste lines 46-48.
- Now simply update
'your-shipping-class-slug-here'
with your shipping class slug,'Any text you would like to see as fee heading :'
with your text and$fixed
with your preferred price.