I want to add a lost and found feature to my Shopify store, which sells kids’ lunch boxes and water bottles. After a customer places an order, they should receive a link to a form on our website to enter their details. Once submitted, a unique QR code will be generated, stored in the backend, and available for download. We’ll print this QR code on the product, and when scanned, it should display the owner’s details.
Hey! That sounds like some awesome functionality, but I don’t think you’d be able to do it with functions.
It sounds like something that you could do using the following:
- A customer accounts extension, to build the form to collect information on a specific order
- A metafield to store the generated QR code as base64 in a metafield (so it can be grabbed at a later date)