Posted By

daprela on 06/10/14


Tagged

button Shopping continue woocommerce


Versions (?)

Woocommerce changes link destination of 'Continue Shopping' button on cart page


 / Published in: PHP
 

URL: http://webandtechstuff.com/continue-shopping-button-woocommerce-cart/

Changes link destination of 'Continue Shopping' button on cart page

  1. // Changes link destination of 'Continue Shopping' button on cart page
  2.  
  3. add_filter( 'woocommerce_continue_shopping_redirect', 'my_custom_continue_redirect' );
  4.  
  5. function my_custom_continue_redirect( $url ) {
  6. return 'http://mydomain.com/url';
  7. }

Report this snippet  

You need to login to post a comment.