echo wp_kses_post(wpautop(__('Recurring shipping options can be selected on checkout.', 'woocommerce-subscriptions'))); ?> <?php } elseif (1 < count($available_methods)) { ?> <ul id="shipping_method_<?php echo esc_attr($recurring_cart_key); ?> "> <?php foreach ($available_methods as $method) { ?> <li> <?php wcs_cart_print_shipping_input($index, $method, $chosen_method, 'radio'); printf('<label for="shipping_method_%1$s_%2$s">%3$s</label>', esc_attr($index), esc_attr(sanitize_title($method->id)), wp_kses_post(wcs_cart_totals_shipping_method($method, $recurring_cart))); do_action('woocommerce_after_shipping_rate', $method, $index); ?> </li> <?php } ?> </ul> <?php } elseif (!WC()->customer->has_calculated_shipping()) { ?> <?php echo wp_kses_post(wpautop(__('Shipping costs will be calculated once you have provided your address.', 'woocommerce-subscriptions'))); ?> <?php } else {
<?php if ($display_th) { $display_th = false; ?> <th rowspan="<?php echo esc_attr(count($shipping_methods)); ?> "><?php echo esc_html(sprintf(__('Shipping via %s', 'woocommerce-subscriptions'), $shipping_method->label)); ?> </th> <?php } ?> <td><?php echo wp_kses_post(wcs_cart_totals_shipping_method($shipping_method, $recurring_carts[$recurring_cart_key])); ?> </td> </tr> <?php } ?> <?php $display_th = true; ?> <?php } ?> <?php