attaching pdf as spec sheets however cannot open successfully

Hi guys…

I have uploaded some pics and pdfs in my shopify-settings-files-upload. yet pictures can be opened both in uploading page(if I left click it will have a preview) and in my theme.

Somehow, the pdf I uploaded can be easily previewed in uploading page(if i click it it will be a new page opening showing the content). However, after i copied the link and paste it in my theme where it’s requiring the url. if i actually click it in website preview. it will just jump to “404-page not found”

is it because i didn’t publish this theme yet or ?

Code are as follows…pardon me for my immature coding base

{% assign prod_down_title = product.metafields.starfield.down_title %} {% assign prod_down_link = product.metafields.starfield.down_title %} {% if prod_down_title %}

Download

{% for down_title in prod_down_title %} {% assign kcount = forloop.index0 %} {% endfor %}
{% endif %}

dam only after i uploaded the code did i found i messed up the down_link with down_title

yeah its embarrassing but haha its solved.