How to Create Shipping Classes and Set Your Own Shipping Costs (In Stock/Store)

Created by Garrett Fankhauser, Modified on Mon, 26 Feb at 1:37 PM by Garrett Fankhauser

How to Create and Assign Shipping Classes for In-Stock/Store Products

  1. 1. Access WooCommerce Settings

    Begin by logging into the backend of your WordPress site. Navigate to WooCommerce, and select 'Settings'. From there, go to the 'Shipping' tab to start the process of setting up your shipping classes.


  2. 2. Create Shipping Classes

    • In the Shipping section, locate and click on 'Shipping classes'.
    • To create a new class, click 'Add shipping class'.
    • Enter a name for your shipping class (e.g., Hats, Used Long Guns) in the 'Name' field.
    • Optionally, fill in the 'Slug' field, or let it auto-generate based on the class name. Slugs are used in URLs, so they should be URL-friendly (e.g., hats, used-long-guns).
    • Provide a brief description of the items that will fall under this shipping class in the 'Description' field.
    • Click 'Save shipping classes' to finalize the creation.

  3. 3. Assign Shipping Costs to Classes

    • Go back to the 'Shipping' section and select 'Shipping zones'.
    • Find the relevant shipping zone (e.g., US Continental) and click 'Edit'.
    • Under 'Shipping methods', locate 'Flat Rate' and click 'Edit'.
    • In the settings, specify the shipping cost for each class you created (e.g., $15 for hats, $50 for used long guns).
    • Save your changes to apply the new rates.

  4. 4. Tag Products with Shipping Classes

    • Navigate to the 'Products' section and select a product you wish to assign a shipping class to.
    • Scroll down to the 'Product data' panel and select the 'Shipping' tab.
    • From the 'Shipping class' dropdown, select the appropriate class for your product (e.g., Hats or Used Long Guns).
    • Update or publish the product to apply the shipping class.

  5. 5. Verify Shipping Costs on Checkout

    • Test the setup by adding a product to your cart and proceeding to checkout.
    • Ensure that the correct shipping rate is applied based on the product's shipping class.

  6. 6. Review and Finalize

    • Review all settings to ensure they are correct.
    • Conduct a test by adding tagged items to your cart and then verifying that the appropriate shipping rate is applied in the checkout process.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article