Cleaning up old app code.

Solved

Cleaning up old app code.

usdentalinc
Tourist
7 0 2

Is there a way in Shopify to revert theme code back to original? I'm working on an old website that had many apps installed and removed, but there is a lot of old code left behind. Is there an easy way to reinstall a theme does does it remove all added code?

Accepted Solution (1)

Dan-From-Ryviu
Shopify Partner
8534 1683 1692

This is an accepted solution.

Hi @usdentalinc 

You can do that from your Online Store > Themes > in your current theme, click "..." > Edit code, open all files that have a black cycle next to them, and revert your file to the original.

Please note that this action will also remove any custom codes you have added for specific customizations.

Screenshot 2024-06-21 at 10.02.43.png

- Helpful? Like and Accept solution to let me know or Buy me Coffee ❤️!
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Enjoy 1 month of Shopify for $1. Sign up now.

View solution in original post

Replies 2 (2)

Dan-From-Ryviu
Shopify Partner
8534 1683 1692

This is an accepted solution.

Hi @usdentalinc 

You can do that from your Online Store > Themes > in your current theme, click "..." > Edit code, open all files that have a black cycle next to them, and revert your file to the original.

Please note that this action will also remove any custom codes you have added for specific customizations.

Screenshot 2024-06-21 at 10.02.43.png

- Helpful? Like and Accept solution to let me know or Buy me Coffee ❤️!
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Enjoy 1 month of Shopify for $1. Sign up now.

INA_MSWEB
Shopify Partner
1228 142 156

Hello,

 

I am San from MS Web Designer.

 

To undo or remove the app code from your theme file and restore it to the original version, follow these steps:

  1. Go to your Online Store.
  2. Click on Themes in your current theme.
  3. Select the ellipsis (...) and choose Edit code.
  4. Open all files with a black cycle next to them.
  5. Revert these files to their original state.

Please be aware that any custom code you've added for specific customizations will be removed as well.

 

SAN_MSWEB_0-1718950735395.png

Do let me know in case of any concern.

 

Regards,

San

If it’s helpful to you, please mark it as a solution.  


Need Help with Shopify Design, Migration, Speed, or Custom tasks?  
email: hi@mswebdesigner.com
Try Our Conversion Booster app to get more sales | Connect Our Founder Linkedin