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


/ Published in: PHP
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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. }

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.