Replace wc_get_page_permalink( 'cart' ) with wc_get_cart_url()
This commit is contained in:
parent
1df96da7f8
commit
231394967b
|
@ -22,4 +22,4 @@ defined( 'ABSPATH' ) || exit;
|
|||
|
||||
<?php do_action( 'woocommerce_cart_has_errors' ); ?>
|
||||
|
||||
<p><a class="button wc-backward" href="<?php echo esc_url( wc_get_page_permalink( 'cart' ) ); ?>"><?php esc_html_e( 'Return to cart', 'woocommerce' ); ?></a></p>
|
||||
<p><a class="button wc-backward" href="<?php echo esc_url( wc_get_cart_url() ); ?>"><?php esc_html_e( 'Return to cart', 'woocommerce' ); ?></a></p>
|
||||
|
|
Loading…
Reference in New Issue