Home > Shopify Development > Insert "Buy This" Link to Blog Post

How to Insert a "Buy This" Link to a Blog Post in Shopify

Sam Nguyen
Sam Updated: April 11, 2024

Share:

Drive 20-40% of your revenue with Avada
avada email marketing

You are owning blogs not only to provide your own content but also to indirectly introduce your product. Therefore, you would like to add a button that can lead your customers to your product page. The tutorial will give you the instruction to insert a “Buy this” link to a blog post.

Table of content

Related Posts:

A cart permalink is a link that directly leads customers to the first page of the checkout screen with the product display so that buyers can add that item to their shopping carts. If you want to insert the “Buy this” link to your blog, you will you the cart permalink. For example, a cart permalink looks like:

    https://your-store.myshopify.com/cart/70881412:1,70881382:1

“Buy this” link certainly allows purchasers to the product page or a landing page so that they can take a request or go to further steps to buy an item.

Attention: this tutorial is an advanced level and requires knowledge of website languages such as HTML, CSS, Javascript, and Liquid. If you encounter any difficulties, you should hire a Shopify expert to help you.

How to insert a “Buy this” link to a blog post on desktop

Step 1:

You access Shopify admin, click Online Store and go to Blog posts.

Step 2:

Open a new blog post or access the current blog post.

how to enable order notes in shopify

Step 3:

Click on the HTML button under the Content header in the Rich Text Editor.

content header

Step 4:

Add your link and this will turn to:

    <p><a href="https://your-store.myshopify.com/cart/70881412:1">Buy this item</a></p>

Step 5: Remember to Save and test the change in your store.

Conclusion

In conclusion, the tutorial aims to help online stores build better content marketing by inserting a “Buy this” link to blog posts. The link will lead buyers to the product page that are able to trigger them to put more items in their cart. Let’s us know any difficulties while using the Shopify platform, we will collect and produce more tutorials for developers to help you deal with these troubles.


Sam Nguyen is the CEO and founder of Avada Commerce, an e-commerce solution provider headquartered in Singapore. He is an expert on the Shopify e-commerce platform for online stores and retail point-of-sale systems. Sam loves talking about e-commerce and he aims to help over a million online businesses grow and thrive.

People also searched for

Stay in the know

Get special offers on the latest news from AVADA.