Upload photos where it uploads into my printable template

Topic summary

A merchant wants to enable customers to upload photos that automatically populate into a printable template for creating custom magnets.

Proposed Solution:

  • A developer suggests implementing custom code using line_item property code in the product.template.liquid file.
  • A code snippet was shared to be added after the {% form %} tag in the product template.

Implementation Challenges:

  • Multiple users are struggling to locate the correct file to insert the code.
  • One user cannot find the code in “template/product.json” as expected.
  • The developer clarifies it might be in “main-product.liquid” instead.

Current Status:

  • The discussion remains open with users seeking additional guidance on proper code placement.
  • One participant mentioned using “Uploadly” for photo uploads but needs help with template automation.
  • The solution involves custom coding rather than a built-in Shopify feature.
Summarized with AI on November 1. AI used: claude-sonnet-4-5-20250929.

  
  

please add this code snippet to your product template

after the {% form %} tag

hopefully it will work for you.