File Not Found: collection.liquid
When integrating Smart Category Merchandising, if we cannot find Sections > collection.json, we will assume your store is not using an Online Store 2.0 theme and look instead for Sections > collection.liquid
If your theme is Online Store 2.0 compatible but uses a different template to render collections, you should follow the manual integration instructions and add the
collection.json
changes to your specific layout file(s).If your theme is Online Store 1.0 but uses a different template to render collections, you should follow the manual integration instructions and add the
collection.liquid
changes to your specific layout file(s).If you do not use collection pages on your site, you should not need to integrate Smart Category Merchandising and should disable this in the Settings
File Content Invalid: collection.json
When attempting to implement collection template changes in Online Store 2.0, we inject and modify code in the Sections > collection.json file.
If this file does not contain valid JSON markup, we cannot parse its contents in order to make our changes.
Usually, this will be caught by Shopify itself, and prevent you from saving invalid content.
To resolve, you will need to manually fix the file and retry the integration.
Product grid section not found: collection.json
When integrating Smart Category Merchandising using Klevu Layout on an Online Store 2.0 site, we replace your native product grid with our own by changing the data in Sections > collection.json by injecting our section and disabling the existing one.
If we cannot determine the section responsible for outputting the grid in your particular theme, we will leave the Klevu section disabled so that your collection pages do not render two product grids.
To resolve this, you will need to
Disable your existing product grid section, and
Enable the Klevu section
This can be done either by directly modifying the Sections > collection.json file or by using Shopify’s visual theme customizer.
"disabled": true
in Snippets > collection.json, or by re-enabling the section in the visual theme customizer.For manual integration steps, click here.
File Content Invalid: product.json
When attempting to implement product template changes in Online Store 2.0, we inject and modify code in the Sections > product.json file.
If this file does not contain valid JSON markup, we cannot parse its contents in order to make our changes.
Usually, this will be caught by Shopify itself, and prevent you from saving invalid content.
To resolve, you will need to manually fix the file and retry the integration.
File Not Found: product-card.liquid
When integrating Smart Category Merchandising using Preserve Shopify Layout, we inject some code into the template file(s) responsible for outputting product cards in your collection pages.
For Online Store 2.0, we look for the file Snippets > card-product.liquid
and, if that is not present, fall back to Snippets > product-card.liquid
.
If neither file is present, you will need to determine which templates need to be modified and manually inject the code snippets.
If you encounter this error when disabling Smart Category Merchandising, you should follow the integration steps to identify the relevant file(s) and remove the Klevu snippet insertion.
Manual integration steps can be found here: [ JSv2 ] [ JSv1 ]
File Not Found: product-card-grid.liquid / product-card-list.liquid
When integrating Smart Category Merchandising using Preserve Shopify Layout, we inject some code into the template file(s) responsible for outputting product cards in your collection pages.
For Online Store 1.0, we look for both Snippets > product-card-grid.liquid
and Snippets > product-card-list.liquid
and inject into any files found.
If you encounter this error for only one of the above files, please verify that your theme only uses one product card template. If it does, you can disregard this message.
If you encounter this error for both of the templates, this means that analytics tracking will not be present for product views on your collection pages. You should follow the steps below to manually resolve.
If you encounter this error when disabling Smart Category Merchandising, you should follow the integration steps to identify the relevant file(s) and remove the Klevu snippet insertion.
Manual integration steps can be found here: [ JSv2 ] [ JSv1 ]
Native Product Suggestions Not Disabled
After enabling Smart Search, our integration will display a suggestions dropdown when visitors enter search terms in your quick search form. Many Shopify themes will already output a search suggestions box, causing two dropdowns to appear on top of each other.
Our integration will not attempt to disable the existing output, but you should be able to disable the native search suggestions through your theme editor.
Instructions on disabling this in the default Shopify themes can be found here:[ Dawn (Os2) ] [ Debut ]
Native Product Suggestions Not Enabled
After disabling Smart Search, the Klevu-driven suggestions dropdown will no longer appear when visitors enter search terms in your quick search form.
Many Shopify themes will output a search suggestions box natively, but if you have disabled this during Klevu integration, our app will not attempt to re-enable this setting.
You should be able to re-enable this through your theme editor. Instructions for re-enabling this feature in the default Shopify themes can be found here: [ Dawn (Os2) ] [ Debut ]