UPDATE: This method is fine if you want to redirect a product with a specific product category. However, if you don't need this category requirement, I released a plugin on WordPress.org for WooCommerce add-to-cart custom redirects on a per-product basis. Recently, I helped a reader with a
