@@ 878-880 (lines=3) @@ | ||
875 | class="method wc-enhanced-select" |
|
876 | data-plugins="<?php echo wc_esc_json( wp_json_encode( $this->get_wcs_requisite_plugins() ) ); ?>" |
|
877 | > |
|
878 | <?php foreach ( $shipping_methods as $method_id => $method ) : ?> |
|
879 | <option value="<?php echo esc_attr( $method_id ); ?>" <?php selected( $selected, $method_id ); ?>><?php echo esc_html( $method['name'] ); ?></option> |
|
880 | <?php endforeach; ?> |
|
881 | </select> |
|
882 | </div> |
|
883 | <div class="shipping-method-descriptions"> |
|
@@ 884-888 (lines=5) @@ | ||
881 | </select> |
|
882 | </div> |
|
883 | <div class="shipping-method-descriptions"> |
|
884 | <?php foreach ( $shipping_methods as $method_id => $method ) : ?> |
|
885 | <p class="shipping-method-description <?php echo esc_attr( $method_id ); ?> <?php echo $method_id !== $selected ? 'hide' : ''; ?>"> |
|
886 | <?php echo esc_html( $method['description'] ); ?> |
|
887 | </p> |
|
888 | <?php endforeach; ?> |
|
889 | </div> |
|
890 | </div> |
|
891 |