Shopify themes, liquid, logos, and UX
Hello, we are really stuck and would love someone help.
So I will give you a little background as to why we need this. We have multiple brands and products on our website, and currently creating a theme per collection to avoid duplicate content, but because we are using the same theme for a whole collection we need some sections to be unique therefore we are using dynamic source.
We have added new sections, one of the sections is a link sections for PDF (this is specifically for fitting instructions). There is an image and a h tag which we are able to make dynamic source, then when you click on this it links to the PDF.
We have managed to make the heading and image dynamic source but not the link.... and this is the problem.
Ideally we would be able to add dynamic source in the link section, so it will be unique. But i can only add files or images to dynamic source not a link... Plus the link section inside template will only take a link not a file.
if someone has any advice on this we would truly appreciate it!
Solved! Go to the solution
This is an accepted solution.
Hello @TUB,
Add Metafields for PDF Links:
Assign Metafields to Collections/Products:
Modify Theme Code:
Test:
By using metafields, you can dynamically assign PDF links, avoiding duplicate content and maintaining unique sections for each collection.
Thanks!
Hi this can be done by metafields dynamic source. You can create metafields and call them into your custom section.
This is an accepted solution.
Hello @TUB,
Add Metafields for PDF Links:
Assign Metafields to Collections/Products:
Modify Theme Code:
Test:
By using metafields, you can dynamically assign PDF links, avoiding duplicate content and maintaining unique sections for each collection.
Thanks!
That's amazing! thank you so much, it worked. Appreciate it a lot.
Hi @TUB ,
it seems like you are having problem linking PDF to dynamic source.
Request you to refer the below video where we have add PDF file link using dynamic source.
https://youtu.be/gHt96kSrs9M?si=SjUHCVwqSZFJS_mw
Let me know if you have any doubts or we understand your requirement correct?
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024