I have a product X in several sizes (added as variation products of the main product X). For small sizes the price is available and customers can shop it online. However, for large sizes of this product X, it is not shopable online. Therefore for some variations of this product X I would like to remove the add to cart button and change it to a button who goes to my "request a quote" page.
My idea was that if I set the variable product price to 0 that the add to cart button goes away and the "request a quote" button appears.
Any ideas on how to do this in woocommerce (php)?