How to Show Chosen Shipping Method In Cart Totals

If you wish to show which shipping method has been chosen in the shipping totals area of the cart summary, you can use this snippet:

You can add this snippet one of several ways:

  1. You can add it to your child theme’s functions.php file
  2. You can use the Code Snippets plugin.
  3. Or you can add it to Settings > CheckoutWC > Premium Features > PHP Snippets.