Cleaning up old app code.

Solved

Cleaning up old app code.

usdentalinc
Tourist
8 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
10860 2141 2276

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

- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

View solution in original post

Replies 2 (2)

Dan-From-Ryviu
Shopify Partner
10860 2141 2276

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

- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

INA_MSWEB
Shopify Partner
1281 144 167

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