I want to move the shipping options from the order review table before the payment options in the checkout.

I saw, that the order review table has its own template file `review-order.php`.
There I found the following code:

```php
<?php if ( WC()->cart->needs_shipping() && WC()->cart->show_shipping() ) : ?>

    <?php do_action( 'woocommerce_review_order_before_shipping' ); ?>

    <?php wc_cart_totals_shipping_html(); ?>

    <?php do_action( 'woocommerce_review_order_after_shipping' ); ?>

<?php endif; ?>

```

---

I know that I could reorder the content from `woocommerce_review_order_before_shipping` and `woocommerce_review_order_after_shipping` with an hook.
But the code starts with an if clause.

So I'm not sure if or how I could move that section to another place in the checkout.

Is there a way I don't see?