Change Product Grid Button Text for products that are custom made to order

We are setting up a new Shopify store and need to have the same functionality for our product grid button as we do now with our existing store. To see what I mean, see our current shop here: https://foursevenfive.com/products/fenestration/lamilux-flat-roof-skylights/

Custom skylights require customers to submit a quote to proceed. Apart from “Add to cart” and “Select options” we need a third type of button: “Request a Quote”. This button should simply link you to the product page, just as the “Select options” button does.

For that reason, I had the thought, this could be rendered by editing the card-product-add-to-cart.liquid code. I’ve created a boolean product metafield called product.metafields.custom.quote_only. If product.metafields.custom.quote_only = TRUE I would like the product grid button to render with the text “Request a Quote”, and the button to link to the product page. Ideally I would also like to hide the show_stock, because these products are neither in or out of stock. They are custom made to order.

Any help would be much appreciated!

Hello @Johnny475

As much as I like to give you a straight solution, I can’t. Because first, I need to know if you are working with the same theme on the old and new stores.

Not only a different theme, but a different platform: our current website is on BigCommerce. This new site, which we are building now, is Shopify using the Athens theme.

@Johnny475
But, regardless of what theme this can be done either by customization or coding.