Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

How do I change the URL of Add to cart in WooCommerce

function _url_to_redirect() { 
    return 'http://www.aliexpress.com/'; 
}
add_filter( 'woocommerce_add_to_cart_redirect', '_url_to_redirect' );
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #I #change #URL #Add #cart #WooCommerce
ADD COMMENT
Topic
Name
8+5 =