I am planning to change my shopify theme. And I'm worried about my codes..

New Member
4 0 0

Hey guys!

I am planning to change my theme within shopify, but I previously inserted my <scrip> codes in the head sections. 

Are they removed when I change into the new theme?

Is there anyone who can give me an advice about this?

Thanks in advance! 


201 8 13


I have not changed my Shopify theme yet so I do not sure what will happen when you do it. Anyway, I found an ultimate guide on changing Shopify theme on Avada. This guide is a step-by-step guide so you can follow steps on this guide and change your theme easily. 

Hope it's useful for you.

Was my reply helpful? Click Like or Mark it as an Accepted Solution to let me know!
Shopify Staff
Shopify Staff
410 55 74

Hi, @Yuri123,

Hank here from Shopify. Really great question!

When changing themes, although things like your products, collections, and pages will carry over, any custom coding that would have been done previously would not transfer to the new theme. The reason for this is that your new theme's template files would replace any previous files you would have had.

What you can do however is once you change your theme, you will see that your old theme is still located in your theme library. This way you can revert to your old theme or compare the code if needed.

Depending on who your theme developer is with your new theme may be able to support any coding changes you need or want to transfer. I will share this guide which will help you locate who your theme developer is.

Another option would be to reach out to one of our Shopify Experts, who you can hire to do almost any custom work on your store. If you were to reach out to them about this query, they would be able to resolve this issue for you also.

Let me know how you get on with this or if you have any further questions!

All the best, -Hank

Hank | 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

Shopify Partner
73 2 6

Any custom code added to your theme will need to be copied to the new theme.

If you need help with this you can reach out to a Shopify expert: https://experts.shopify.com/w3trends?ref=w3trends