When the Membership app is removed from your store, technically, all codes will be automatically removed from your theme. But there are few liquid codes that you can remove from the store theme after uninstalling the app.
Directions –
1. Go to the Shopify store and click Online Store > Themes > Navigate Actions and Select Edit code.
2. Open theme.liquid file and search for ‘aaamembership_customer_logged_id’ text and delete the complete line of code as shown in the below screenshot.
3. Open blog.liquid file and search for ‘aaa_mem_helper’ text and delete the highlighted code as shown in the below screenshot.
4. Open collection.liquid file and search for ‘aaa_mem_helper’ text and delete the highlighted code as shown in the below screenshot.
5. Open customers/account.liquid file and search for ‘aaa-success-msg-account’ text and delete the complete line of code as shown in the below screenshot.
6. Open page.liquid file and search for ‘aaa_mem_helper’ text and delete the highlighted code as shown in the below screenshot.
7. Open product.liquid file and search for ‘aaa-product-page-filter’ text and delete the highlighted code as shown in the below screenshot.