You can use WooCommerce shipping classes to customize shipping rates for a defined group of products. You can manually add shipping classes via the /wp-admin/admin.php?page=wc-settings&tab=shipping§ion=classes URL (i.e. WooCommerce > Settings > Shipping > Shipping Classes).
We’ve often worked with snippets requiring a shipping class ID, and I explained there were a couple of ways to figure that out, all involving the “Inspect” tool of the browser.
But what if you need to actually display the IDs inside the shipping class table, so that it’s easier for the store admin to get and use such data?
Well, the snippet below will help you do that. And thanks to Peter for sharing most of the code!
Continue reading WooCommerce: Show Shipping Class ID @ Shipping Class Admin Table