Skip to main content
Liquid uninstall

How to remove the Customer Fields app code from a Shopify theme

Kyle Weiskopf avatar
Written by Kyle Weiskopf
Updated over a year ago

Remove CF's app code in Shopify themes

Follow the instructions in this help article if you need to remove the Customer Fields app code from your store's theme(s). Weโ€™re also happy to do this for you for free at any point - just let us know if you'd like our help!ย 

๐Ÿ“Œ This guide specifically pertains to shops that installed a Customer Fields form prior to November 9, 2022. Forms installed after this date use theme app extensions by default and do not leave code remnants in your theme.

Manual Uninstall instructions

Step 1

Launch the code editor from the Shopify admin by going to Online Store > Themes > Actions > Edit code

Step 2

Delete snippets/customer-fields.liquidย 

Step 3

If templates/customers/register.orig.liquid (or templates/customers/register-orig.liquid) exists, then delete templates/customers/register.liquid

Step 4

Rename customers/register.orig.liquid (or templates/customers/register-orig.liquid) to customers/register.liquid

Step 5

Delete templates/customers/account.edit.liquid

Step 6

Edit templates/customers/account.liquid. Find the following code and remove it:

ย <br><a href="/account?view=edit" style="font-size: 14px;">Edit account</a>

Step 7

Delete the following asset files:

  • assets/customer-fields.js

  • assets/customer-fields.css

  • assets/cf_form_data.<form id>.json (there may be multiple JSON files if more than one form was installed)

That's it!

Please repeat the steps above if you need to remove the app code from any other themes in your store.ย 

Need help?

Please don't hesitate to contact our support team if you have any questions or need assistance. ๐Ÿ‘

Did this answer your question?