How to remove Langify app code without causing a Liquid Syntax Error?

Solved

How to remove Langify app code without causing a Liquid Syntax Error?

Steve61622
Shopify Partner
1 0 0

I have removed app Langify but didn't unpublish the only code I can find is this in the Theme.liquid :

 

<!-- langify-v2-scripts-begin -->{% comment %}ly_liquid_scripts_begin{% endcomment %}{% endcapture %}{% render 'ly-liquid-scripts' content: ly_liquid_content %}{% comment %}ly_liquid_scripts_end{% endcomment %}{% comment %}ly_core_scripts_begin{% endcomment %}{% render 'ly-core-scripts' %}{% comment %}ly_core_scripts_end{% endcomment %}{% comment %}ly_switcher_factory_begin{% endcomment %}{% render 'ly-switcher-factory' %}{% comment %}ly_switcher_factory_end{% endcomment %}<!-- langify-v2-scripts-end -->{% include 'booster-recommendation' %}
</body>

 

But if I delete this I get an error: 

 

"Liquid Syntax Error: 'Comment' Tag Was Never Closed"

 

Can anyone help much appreciate

Accepted Solution (1)

Blair
Shopify Staff
2067 273 255

This is an accepted solution.

Hi @Steve61622,

 

Thank you for reaching out to the Community! I'm happy to provide some assistance with a third-party app, to ensure this gets resolved. To confirm I'm fully understanding, the apps coding still remains within your shops theme even after it has been removed from the Shopify admin, correct?

 

If so, I would encourage you to contact the app developer directly. This will ensure that the Langify team takes a closer look to confirm that all coding is removed from the theme moving forward without errors. To contact the app developer, you can head to the Shopify App Store and select Support > Get Support

 

Please let me know if you have any other concerns. 

Blair | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

View solution in original post

Replies 2 (2)

Blair
Shopify Staff
2067 273 255

This is an accepted solution.

Hi @Steve61622,

 

Thank you for reaching out to the Community! I'm happy to provide some assistance with a third-party app, to ensure this gets resolved. To confirm I'm fully understanding, the apps coding still remains within your shops theme even after it has been removed from the Shopify admin, correct?

 

If so, I would encourage you to contact the app developer directly. This will ensure that the Langify team takes a closer look to confirm that all coding is removed from the theme moving forward without errors. To contact the app developer, you can head to the Shopify App Store and select Support > Get Support

 

Please let me know if you have any other concerns. 

Blair | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

michaelivanov
Shopify Partner
56 6 12

Hi,

you can remove the remaining Langify code as described in this guide:

https://support.langify-app.com/support/solutions/articles/11000082053-uninstall-langify-v2

 

You'd just have to go to 

 

Langify -> Dashboard -> Theme Settings 

 

and click on "OPEN CUSTOMIZE THEME EDITOR":

 

hKr2qYwn5PsjrzIboh5kH8Q0y4jAtSnGMQ.png

 

You should see Langify within Shopify's App Embeds section where you'll be able to disable Langify (don't forget to save this setting afterward in the top right-hand corner):

 

TVeDzKkwOsB4xpqzgaWR4SE0MHgRSAkkIg.png

 

Once done please head back to the Theme Settings section in Langify and click on "START TO REMOVE THE CODE":

 

bN7thJUHRnhlfwKw1lDk2QnqSn8IvPRA2w.png

 

Now you'll be able to generate the cleaned-up theme.liquid code:

 

michael_langify_3-1706980360071.png

 

Please click on "COPY TO CLIPBOARD" first and then on "OPEN TEMPLATE":

 

michael_langify_4-1706980566588.png

 

Now you'll just have to replace the whole theme.liquid code with the previously copied code e.g. via CTRL + A to select everything inside the theme.liquid and CTRL + V to paste the cleaned-up code from your clipboard. 

 

michael_langify_5-1706980702457.png

 

Make sure to save your theme.liquid file afterward.

 

Should there be any issues afterwards I'd recommend reverting your theme.liquid file to the previous version:

 

8Pc9OwlBii7iyzvgvSLEyPHeTmMSPAVs0g.png

 

Alternatively, just contact us at support@langify-app.com and we'll remove the remaining Langify code for you.