Deregister dequeue JS scripts except on 1 product page

i think you can use ‘wp_enqueue_scripts’ hook and try with condition like this-

add_action( 'wp_enqueue_scripts', 'my_deregister_javascript' );
function my_deregister_javascript(){
    if( get_the_ID() != '67688' ) {
        wp_deregister_script( 'wc-lottery-jquery-plugin' );
    }
}

for front-end

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)