Craft theme, unwanted code showing on all pages

Topic summary

A Shopify store owner encountered unwanted code appearing at the bottom of all pages on their site. Two issues emerged:

Primary Problem:

  • Reversed/mirrored text displaying across page footers
  • Code includes image references and appears to be malformed or corrupted

Trigger Event:

  • Second code block appeared after attempting to remove dynamic checkout buttons from cart page
  • One code snippet (from Klaviyo back-in-stock button) went unnoticed until recently due to admin bar coverage

Resolution:

  • Support member requested store URL and theme code access
  • Issue was successfully resolved by directly editing the theme code
  • Store owner confirmed the fix and expressed appreciation

The problem appears to have been caused by improperly formatted or reversed code in the theme files, likely introduced during customization attempts.

Summarized with AI on November 15. AI used: claude-sonnet-4-5-20250929.

I have two sets of code appearing on my front end of my website. The second one just appeared today when i was following instructions to remove the dynamic buttons on the cart page. The dynamic buttons are gone but now I have strange code at the bottom of my pages. The Klaviyo one I did not notice until today, that was from back in stock button. How can this be fixed? See image.

Thanks!

Birgit

Hi @Birgita , can you share your store url?

Here it is: https://thewishingthorn.com/

I didn’t see that at the bottom because it was covered with the admin info…

I need to access the theme code to be able to remove it.

1 Like

What do you need from me?

I will send you access request and remove the code.

1 Like

Thank you for fixing this so promptly! I really appreciate it.

1 Like