Where are the codes for this auto-play function on the product page

Topic summary

Unexpected auto-play of all variant images on the product page after copying Dawn’s theme-editor.js into an older Debut theme. Clicking a product photo on the homepage triggered the product page to cycle through all variant photos and place them at the top.

Attempted fix: Deleting theme-editor.js from Debut did not remove the behavior.

Context: Debut and Dawn are Shopify themes; theme-editor.js is a theme script. The behavior suggests cross-theme script conflicts or residual assets/scripts still influencing the product template.

Status: Marked as solved by the original poster, but no solution details were provided. No further action items; discussion closed without a documented fix.

Summarized with AI on December 30. AI used: gpt-5.

Hi

I use old Debut theme. Today I copied the dawn theme the code file theme-editor.js to my Debut Asset.

Then a miracle came. When I clicked the product photo on my home page, the product page started to run the all the product variant photos and put all of them on the top of the product page. I don’t know if I need this function. I deleted the theme-editor.js, thinking by this way I can remove this miracle. But I cannot succeed. Can anyone help me to delete this function?

Solved. Thanks.