When the 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.
Here are the steps to remove your membership V1 code from your store theme once the app is uninstalled
Step 1: Go to the Shopify store and click Online Store > Themes > Navigate Actions and Select Edit code.
Step 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.
Step 3: Open blog.liquid file and search for ‘aaa_mem_helper’ text and delete the highlighted code as shown in the below screenshot.
Step 4: Open collection.liquid file and search for ‘aaa_mem_helper’ text and delete the highlighted code as shown in the below screenshot.
Step 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.
Step 6: Open page.liquid file and search for ‘aaa_mem_helper’ text and delete the highlighted code as shown in the below screenshot.
Step 7: Open product.liquid file and search for ‘aaa-product-page-filter’ text and delete the highlighted code as shown in the below screenshot.