Merge pull request #4867 from splashingpixels/master

added filter for empty cart return to shop link
This commit is contained in:
Mike Jolley 2014-02-19 14:06:03 +00:00
commit b250f32ca2
1 changed files with 1 additions and 1 deletions

View File

@ -17,4 +17,4 @@ wc_print_notices();
<?php do_action( 'woocommerce_cart_is_empty' ); ?>
<p class="return-to-shop"><a class="button wc-backward" href="<?php echo get_permalink( wc_get_page_id( 'shop' ) ); ?>"><?php _e( 'Return To Shop', 'woocommerce' ) ?></a></p>
<p class="return-to-shop"><a class="button wc-backward" href="<?php echo apply_filters( 'woocommerce_return_to_shop_redirect', get_permalink( wc_get_page_id( 'shop' ) ) ); ?>"><?php _e( 'Return To Shop', 'woocommerce' ) ?></a></p>