Buy Button with external link for blog

Hello! I would need some help inserting a buy now button that has the function of sending customers to an external link. I can’t get one of these into my blog post, help me please :slightly_smiling_face:

Hey @DTagesson your question is not clear to me
do you want to add a call to action button on your blogs to direct visitors to buy ?

Yes, from my blogpost i want to direct customers with a Button to Buy a product on another site.

Sure I think I will build an app for merchants to add buttons anywhere that are fully customizable with links
Bro here’s how to add a button to your blog

  1. Navigate to Your Blog Post Editor:

    1. From your Shopify admin, go to Online Store > Blog Posts
    2. Click on the blog post you want to edit or create a new one.
  2. Switch to HTML Mode:

    1. In the blog post editor, click on the “Show HTML” button. This will allow you to edit the HTML code of your blog post directly.
  3. Insert the Button Code

    1. Copy and paste the following HTML code where you want the “Buy Now” button to appear:

      HTML

Buy Now

Bro make sure to replace YOUR_EXTERNAL_LINK with the URL of the product page you want to link to
and you can customize the button’s appearance by modifying the inline CSS in the style attribute if you want something custom feel free to dm me

  • Save Your Changes:

    • After adding the HTML code, save your blog post

Thank u very much! I Will try this, how do i change color on the Button later on?

Hi @DTagesson ,

Thanks for reaching out! I recommend checking out the Buy Button sales channel by Shopify. This channel allows you to generate the necessary code to embed “Buy Buttons” wherever HTML can be added. It’s a straightforward solution that can help you integrate Shopify’s purchasing capabilities into your existing site or blog seamlessly.

You can find more details and get started in our help documentation on Buy Buttons.