Shopify - Troubleshooting - I deleted the Weglot app but the Weglot button remains on my website
In this article, you'll learn how to remove the Weglot language switcher that may remain on your Shopify store after uninstalling the Weglot app.
How to manually remove the language switcher
- Go to your Shopify Dashboard > Sales Channels > Online Store > Themes.
2. Click “...” (Actions) next to your live theme and select “Edit code”.
3. In the left-hand sidebar, open the theme.liquid
file.
4. Find and delete the following lines:
{% render 'weglot_hreftags' %} {% render 'weglot_switcher' %}
- Click ”Save”.
How to check other theme files (optional)
If the language switcher appeared in a different location such as the header, footer, or a custom section, you may need to remove additional code manually.
- In the code editor, look into the following files, depending on where the button was placed:
header.liquid
footer.liquid
- Any custom section or snippet where you may have inserted Weglot code manually.
- Look for and delete any of the following:
- The following HTML placeholder:
<div class="weglot_here"></div>
- Any additional Weglot-related code or script that was added manually.
- Save the changes once all traces of the Weglot switcher are removed.