I'm trying to customize the WC checkout page. In my checkout page I've set 2 shipping methods. My goal is to add a custom field down below the first shipping method. To achieve this I used the hook I mentioned below.
woocommerce_after_shipping_rate
But my problem with this is, it just adds the same field for each shipping methods available. How can I manage to add an input field for a particular shipping method?