Thread Starter
srinc
(@srinc)
Hey Caleb,
Thanks for the help!
I see that lines 41 – 46 print the content I want to reformat, but I think there is more documentation I need to review. For example, in the code below:
printf( ‘%3$s <input type=”hidden” name=”shipping_method[%1$d]” data-index=”%1$d” id=”shipping_method_%1$d” value=”%2$s” class=”shipping_method” />’, $index, esc_attr( $method->id ), wc_cart_totals_shipping_method_label( $method ) );
When I remove “%3$s” from the beginning, it removes “Domestic Flat Rate: $X.XX” from the output. So I need to know how I would reference “Domestic Flat Rate” and the price separately so I can rearrange their order. Where would I go from here?
Thank you!