Checkout

[woocommerce_checkout]

if ( is_singular( 'your_custom_post_type' ) && get_the_ID() === 123 ) { // True only if it's a single 'your_custom_post_type' with ID 123 }