Add Custom Buy Button to all Dawn Product Pages

Hello,

I want to modify all product pages in the Dawn Theme to display a custom “Buy Now” button that links shoppers directly to my Amazon product listing page without needing an App or an Amazon Affiliate link. What code do I need to add and where do I add it?

A helpful YouTuber shared the following code snippet that leverages product tags to store the url which would be perfect except, when I add this code to the buy-buttons.liquid file, the button does not show up on the page. Can this work?

{% for tag in product.tags %}
{% assign productTag = tag | downcase %}
{% if productTag contains ’ https://’ %}

{% endif %} {% endfor %}

Any help would be appreciated

Counterplace

@CounterPlace

I don’t understand your think. what you want?

I think you want to add a custom button on product grid of collection page. the button redirect to the page which you want. am i right?