Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi!
I want to remove unwanted code from my store because it increases the load time and the website takes too much to load.
Hey @HamzaRIaz,
Welcome to the Community!
For your theme, the code can be accessed if you go to Online store > Theme and click on Actions > Edit code on your live theme. Before you go to edit the code, I recommend you also Duplicate the theme from that same drop-down menu because this can be a backup in case something goes wrong.
Do you know what code you're looking to remove? If this is some leftover third-party app code, you would need to contact the app developers directly as they know their app code and will be able to best assist you here.
Otherwise, while our own support is limited when it comes to editing the code, do let me know what it is that you're looking to remove and we'll see what can be done. If it is something that is out of the scope of our support, an option for you would be to contact a Shopify Expert. Shopify Experts are people who work externally for Shopify and charge their rates based on the work that they do. They can help when it comes to any kind of coding issues or questions.
Removing unnecessary or leftover code is a great way to increase the speed of your store. If you're looking for some other ways to do this, I have a help doc here on how else you can improve your site speed.
Let me know how you get on!
Moira | 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
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025