must be > 0 to exist
This commit is contained in:
parent
141dd2e7ef
commit
6e94df6ee5
|
@ -30,7 +30,7 @@ wc_print_notices();
|
|||
|
||||
<?php do_action( 'woocommerce_cart_is_empty' ); ?>
|
||||
|
||||
<?php if ( wc_get_page_id( 'shop' ) ) : ?>
|
||||
<?php if ( wc_get_page_id( 'shop' ) > 0 ) : ?>
|
||||
<p class="return-to-shop">
|
||||
<a class="button wc-backward" href="<?php echo esc_url( apply_filters( 'woocommerce_return_to_shop_redirect', wc_get_page_permalink( 'shop' ) ) ); ?>">
|
||||
<?php _e( 'Return To Shop', 'woocommerce' ) ?>
|
||||
|
|
Loading…
Reference in New Issue