I am building a site for a client and for a lot of their products, instead of being able to buy them they want an "Enquire now" button. This is an additional button that opens a popup, which I know how to create. What I am stuck with is the default behaviour of woocommerce.
I have variable products and most of the variations have no price, but the add to cart button and the quantity selector still shows up (even if you land on the product and no variation is selected). What I want to achieve is that it is hidden by default when you land on a variable product and you have no variations selected, and also is hidden if you select a variation that has no price or unavailable.