Remove clickable Link of WordPress Site Logo from Woocommerce Single Product page

Each product should have a unique class identifier in the body. Compare two product pages and depending on the theme you are using. Allot of them have a unique css identify.

Look for something like: postid- followed my numbers for example.

If you had something like:

<body class="product-template-default single single-product postid-3592 wp-custom-logo woocommerce woocommerce-page woocommerce-no-js shop-buttons-is-sticky">

Then you could target it using the postid-3592 class as its unique to that product page.

So you could do:

.postid-3592 .site-logo a { pointer-events: none !important; }

or for all products using a single product template you could use:

.single-product .site-logo a { pointer-events: none !important; }