Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello Shopifyer,
i try to find a solution for this case.
i have one ManualPDF for each product. these PDF's are on the server of shopify and are link to a metafield in each product. this metafield i use to send specified links in the order confirmation. Now i will generate some QR Codes, one Code to each product. But when i upload a new version of the ManualPDF, the link are changing, so the QR codes is "gone". Somehow i need to put the PDF in a container or maybe attachment or something, i dont know. The QR code get lasered on the product, so i need a lifelong solution 😉
Is there any idea? Many thanks
Hi @pfannenwender ,
Your issue is when you upload any assets on Shopify it generates its own URL for every assets since QR Code always point to some URL uploading new assets will not be able to map with existing QR code.
To solve issue you have to upload on some external server and link it to your metafield. Whenever you need to update the file of PDF you just have to rename the existing file on server with another name and upload the new file with same name.
Hope this will solve your issue, let me know if you have any questions or doubt.