If you want the vendor to add their own shipping rates, then you need to provide them the capabulity by enabeling the “shipping” option via WCMp >> Settings >> General.
Now, if you want vendor to receive the shipping cost also, then navigate to WCMp >> Settings >> Payment and enable “shipping” there also.
This method is integrated into the vendor dashboard of WC Marketplace by default and requires no separate settings to configure before use.
For this method, start by adding shipping zones.
Shipping zones are geographic regions where a certain set of shipping methods are offered. WooCommerce will match a customer to a single zone using their shipping address. Then it will present the shipping methods offered within that zone to the customer.
To get started, first set up the shipping zones, in order to do that, goto WooComerce >> Settings >> Shipping >> Add shipping zone, by following this document – https://docs.woocommerce.com/document/setting-up-shipping-zones/#section-3
This is the most important part. As the admin, you must select “Vendor Shipping” from the Shipping Method drop-down.
Vendor can only manage their own shipping module if this shipping method is selected. So if this method is not selected, vendors will not be able to view this shipping zone and configure it from their dashboard.
If the admin wants, he can select and configure the other shipping methods [Flat Rate, Local Pickup or Free Shipping], or leave it for his vendors to configure. To add additional shipping methods as admin, please check this document – https://docs.woocommerce.com/documentation/plugins/woocommerce/getting-started/shipping/core-shipping-options/
Note: It must be noted here that when the admin adds shipping methods (other than Vendor Shipping) from WooCommerce Settings, these will not be viewable to the vendor from his dashboard. But customers belonging from that zone will find these shipping methods options when checking out.
When a vendor gets added to the site, we create a shipping class for them. Now, each vendor can only access their own shipping class only. For example, vendor A gets registered to the site, we create a vendor shipping class called “vendora”. So, when a vendor will add a product, this shipping class will be already added with the product.
Now, as an admin, you can also assign the shipping class to the product. All you have to do is select the shipping class of that vendor for the product.
Each vendor can add their own shipping rate by their “Shipping” Tab. From here vendors can choose to limit zone location for his customers and also add new shipping methods.
Each Shipping Zone can have different(and multiple) Flat Rates if you wish.
To make changes to a shipping method, add the flat rate and configure the rates. Add additional costs per item to this field. See Advanced Costs below. This can be left blank to disable Flat Rate except where costs are added for Shipping Classes. Note that what you enter here may factor into the overall cost in the Shipping Classes section (see below), unless you leave it blank. The Cost field allows you to charge a flat rate per item, a percentage-based cost or a minimum fee.
The Title set by the vendor will display the shipping method’s name to customers in checkout.
Define Tax Status whether or not tax is applied to the shipping amount.
[qty] – Number of products in the cart
[fee] – An additional fee. This fee has two optional arguments.
percent – A percentage based on total order cost.
min_fee – A minimum amount. Useful when using percentages.
10 + ( 2 * [qty] ) – A base shipping cost of $10 plus $2 for each item in the cart.
20 + [fee percent=”10″ min_fee=”4″] – A base shipping cost of $20 plus 10% of the order total, which is at least $4.
You can also select the Calculation Type:
Per Class: Shipping rates will apply accordingly class-wise.
Per Order: Shipping rates will apply on the total order cost, and the most expensive shipping class rate will apply.
Local Pickup and Free Shipping
In Local Pickup, customers can pick up the order themselves from a designated location.
Enter a Title that displays to customers in checkout – some shops change the title to Local Delivery, for example.
You can follow this document to have a better idea on the shipping method – https://docs.woocommerce.com/document/free-shipping/
This is how the customer will see the shipping methods in the cart page.