Thank you for sharing your question with us, I can imagine this is a very concerning issue for you.
To better assist you, can you please provide more context around which code you deleted and from where? I assume you might have edited your theme code? If so, it is possible to roll the edited template back to the original, or an earlier timestamp.
I look forward to your reply,
Olivia | Social Care @ Shopify - Was my reply helpful? Click Like to let me know! - Was your question answered? Mark it as an Accepted Solution - To learn more visit the Shopify Help Center or the Shopify Blog