Woocommerce Register Error

First you need to add a hidden field to registration form which can hold the URL where you want to redirect the user post registration. Below code will help you for that:

<?php
add_action( 'register_form', 'hiddern_redirect_url' );
function hiddern_redirect_url() {
    ?>
    <input type="hidden" name="redir_post_register" value="<?php echo get_site_url(); ?>" />
<?php   
}
?>

Then, using woocommerce_registration_redirect hook you can alter the default redirection URL to what you just set above. Please see code below:

add_filter ( 'woocommerce_registration_redirect', 'redirect_post_registration');
function redirect_post_registration( $redirect ) {

    if ( $_POST['redir_post_register'] ) {
        $redirect = $_POST['redir_post_register'];
    }

    return $redirect;
}

You need to add both above code snippets to your theme’s functions.php file. Also you need to change <?php echo get_site_url(); ?> in first code snippet to product URL which you want.