In this video, you will learn how to embed a PDF file on your Shopify product page and homepage. This can be an important tool for promoting your products or providing additional information to your customers. You will also learn how to do this without using any third-party apps.
HTML Code for PDF Embedding
<object data="PDF URL" type="application/pdf" width="700px" height="1200px">
</object>
Liquid code for product handle
Wrap HTML code with in following if condition to show your PDF on specific product page
{% if product.handle "your-product-handle" %}
{% endif %}
5/5 - (5 votes)