As you are here, I believe you already have read the docs about enabling shipping from WooCommerce settings and placed store wide shipping costs.
So those shipping costs are applied when you do not add any shipping cost to your product. But sometimes you might need to override shipping costs depending on your product. So for this reason, we have included shipping override feature in products.
To use this feature,
For existing products – you have to navigate to your product edit screen, which is yoursite.com -> Dashboard -> Products -> Edit and navigate to the shipping tab.
And for newly created products – The next screen after adding the basic details of a product navigate to the shipping tab.
Now, you have to click on the checkbox override shipping and you will have the option to add the additional shipping cost for that product. You can place a positive or negative value according to your needs. Like if your products base shipping price is less than the global price, you can place a minus value.
Lets say your base shipping price is set to $5 but for Banana, the base shipping price would be $3. So you can write -2 in Additional Cost in the below screen.
This cost would be added with the parent shipping prices. That means, if you have set a base shipping price of $5 and additional cost of $3, the base shipping price for that product will be $8.
And all the prices for the states will be after that. So if you have set $2 for Berlin, Germany; then the total cost for delivering the product to Berlin, Germany would be in total $8 + $2 = $10.
Base Shipping Price: $5 + $3 from override = $8
Per Quantity Additional Price: $3 from override = $3
Berlin, Germany: $2
So the total shipping cost for 5 product would be 8×1 + 3×4 + 2 = $22