Want to replace Buy Button with a Link, but cannot find the code

We want to replace the Buy button for one product (in Publishers theme) with a Link to an external website, but we cannot find the piece of code that generates the “Buy” button. We do not find the product-template.liquid. Can someone help?

Hi @rita17 :waving_hand: is may be in a snippet called product-form, or buy-buttons, etc etc

and if you do mean “buy button” then often it will just be a single line {{ form | payment_button }}; and not the add-to-cart button.

Reference example: https://github.com/Shopify/dawn/blob/main/snippets/buy-buttons.liquid#L96

If you need this dug into, or customization, then contact me for services
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.