Force redirect to cart after add to cart
function mdshak_cart_url( $example ) { // Maybe modify $example in some way. return 'https://emmatissing.com/cart/'; } add_filter( 'woocommerce_add_to_cart_redirect', 'mdshak_cart_url' );