You can always re-download the theme and copy it from the draft.
Topic summary
- Issue: A merchant accidentally deleted a line of code in product.liquid and page.liquid, causing the product page to lose photo scrolling functionality.
- Context: product.liquid and page.liquid are theme template files in Shopify that control product and page layouts/behavior.
- Request: They asked for the “basic code” for those files or guidance on what to add back.
- Suggested fix: Another participant advised re-downloading the theme and copying the needed files/code from the draft version of the theme.
- Outcome/Status: No confirmation that the issue was resolved; no further technical steps or code samples were provided. The thread remains open with the key question—how to restore the exact missing code—unanswered beyond restoring from a fresh or draft theme copy.