This feature is in Coinbase Commerce for WooCommerce Pro
Go to Dashboard > WooCommerce > Settings > Payments> Coinbase
Click Manage
How to see product ID in WooCommerce?
To see product ID of specific product, Go to Products
Hover on the product you want to see the ID.
Enter comma-separated product IDs. Buyers can pay with cryptocurrency only for allowed products and will not see the payment gateway on checkout if disallowed products are in the cart.