Setting accurate shipping costs is crucial for both customer satisfaction and your bottom line. WooCommerce’s Shipping Classes feature helps you categorize similar products—like lightweight accessories or bulky equipment—so you can assign different shipping charges accordingly. This approach makes handling logistics easier while offering precise cost control.
Follow these easy steps to create and manage shipping classes.
Step 1: Access the shipping classes section
In your WordPress dashboard:
- Navigate to WooCommerce > Settings > Shipping.
- Click on the Shipping Classes tab, where you can view, add, or edit shipping classes.
Step 2: Create a new shipping class
- Click Add shipping class
- Fill in the following fields:
- Shipping class name: Give it a clear and descriptive name (e.g., "Heavy Items", "Small Products").
- Slug: This is a unique label used behind the scenes. You can either type one or leave it blank to let WooCommerce create it.
- Description: Add a note explaining the purpose of this class.
- Click Save shipping classes.
Note:
Use intuitive names that reflect the type or size of products being grouped. This helps with product organization and clarity.
Step 3: Assign the shipping class to a product
Once the class is created:
- Go to Products > All Products.
- Click Edit under the product you want to modify.
- Scroll down to the Product Data section.
- Click the Shipping tab.
- Select the appropriate shipping class from the dropdown.
- Click Update to save changes.
Note:
For variable products you can assign different classes for individual variations under the Variations tab.
To save time, use bulk edit from the product list to assign a shipping class to multiple products at once:
- From the Products page, check multiple items.
- Select Edit from the Bulk actions dropdown and click Apply.
- Choose a shipping class and click Update.
Step 4: Set shipping rates for the class
To define the cost associated with each shipping class:
- Navigate to WooCommerce > Settings > Shipping.
- Select a Shipping Zone (e.g., United States, Europe) or create one.
- Click Edit under an existing Flat Rate method, or add a new one.
- Configure the following:
- Method Title: This name appears at checkout.
- Tax Status: Choose whether the rate is taxable.
- Cost: Enter a base flat rate or a formula (e.g., [qty] * 3 to charge per item)
- Scroll to Shipping Class Costs:
- Enter specific costs for each class.
- Optionally set a cost for items without a class.
- Choose a Calculation Type either per class to add rates for each class in the cart or per order to apply the highest class rate once per order.
- Click Save changes.
Step 5: Managing shipping classes
To edit or remove a shipping class:
- Return to WooCommerce > Settings > Shipping > Classes.
- Use the Edit or Delete options next to each class to make changes or remove it.
You can update names, slugs, or descriptions, and click Save to apply edits.