Skip to main content

How to remove liquid asset error in my store?

Kelly at ABConvert avatar
Written by Kelly at ABConvert
Updated this week

If you see this error in your storefront:

Liquid error (layout/theme line xxx): Could not find asset snippets/abconvert-xxxx-test.liquid

It means your theme is trying to load an ABConvert snippet that no longer exists. This happens when the snippet is removed but the theme code still references it.

Why this happens?

You might encounter this issue if:

  • You uninstalled ABConvert from your Shopify settings instead of through the app

  • You updated or changed your theme and the old ABConvert code stayed in place

  • A potential bug caused the snippet to be removed but not the code reference

How to remove the error

You can fix this in a few minutes by removing the snippet reference from your theme code.

  1. In your Shopify admin, go to Online Store > Themes

  2. Find your current theme and click Actions > Edit code

  3. Use the code editor search bar to look for abconvert

  4. Find any line that is similar to {% render 'abconvert-xxx-test' %}

  5. Remove the entire {% render ... %} line

  6. Save and refresh your storefront to confirm the error is gone

What is next

Normally, ABConvert automatically removes all snippet files and code references when you close or pause a test from the dashboard.

If you experience this error and none of the causes above apply, there may be a bug. Please contact our support team via the support widget in your dashboard so we can investigate.

FAQ

Will removing this snippet break my theme?

No. The snippet only loads ABConvert test code. Removing it will not affect your storefront’s functionality.

Why did this appear after I uninstalled the app?

Uninstalling ABConvert from Shopify settings removes the app but may leave snippet references in your theme. To avoid this, uninstall only when you have no active tests and remove the app through the ABConvert interface.

Can this happen after a theme update?

Yes. If your updated theme includes a reference to an ABConvert snippet but not the snippet file itself, the error will appear. To prevent this, try to keep the same theme during an active test and schedule theme updates between tests.

Did this answer your question?