Shopify recently deprecated the use of include
in theme code. To comply, we've updated our theme's code to change include
to render
.
If you're seeing this error in a recent version of a theme, or after you've updated, it's most likely related to code from third-party app integrations, as some apps may not have switched over to use render
yet!
The error will usually appear in place of the app feature that is creating the error.
For example, this error will be shown in place of a product review app’s review stars when the app is still using the old include
tag.
With error:
Without error:
We recommend reaching out to the app developers for assistance with replacing the deprecated include
tag as they are familiar with the code of the app and where these changes can be made.
If you want to correct this issue on your own, the solution would be to either swap the app snippet to be render
instead OR change the snippet that contains the app code back to an include
. You'll want to do this in an unpublished theme copy first (create a duplicate) in case a mistake is made somewhere.