Why are reviews not showing on your product pages?
Due to new Shopify mechanism, LAI cannot automatically add a piece of code to show LAI's product review section block on your online store. Hence, it's required to add blocks to show reviews manually.
It comes with one of the listed reasons why reviews are not showing on your product pages:
- LAI app embed is required to be activated so that all LAI widgets can be shown on your online store.
From your Shopify admin, go to Online Store > Themes.
Find the theme that you want to edit, and then click Customize.
On the sidebar, click the App embeds icon.
Select LAI app embed or click the Search bar and enter LAI term to search through your installed apps.
Beside the app embed that you want to activate, click the toggle to activate it.
Save your change.
Please see our short instruction.
From your Shopify admin, go to Online Store > Themes.
Navigate the theme that you want to edit, and then click Customize.
On the sidebar, click the Sections icon.
Select Products page > templates where you want to show LAI reviews > check whether the LAI block has been added to the template or not.
If not, on the left sidebar, click Add block > click the Search bar, enter LAI term and select Product reviews section.
Save your change.
The following piece of code is needed to be added to the end of this file templates/product.liquid to show LAI reviews:
If you struggle with adding the code, please feel free to contact us via live chat. We'd be so glad to assist you with showing reviews.
LAI has integrated with the following page builder apps to show LAI widgets:
PageFly Landing Page Builder. Guideline.
GemPages Landing Page Builder. Guideline.
Veda Landing Page Builder. Guideline.
EComposer Landing Page Builder. Guideline.
LayoutHub ‑ Easy Page Builder. Guideline.
If you're using any other page builders, please feel free to reach out to our support team via live chat for the best assistance.
It comes with one of the listed reasons why reviews are not showing on your product pages:
1. LAI app embed has not been activated yet
- LAI app embed is required to be activated so that all LAI widgets can be shown on your online store.
How to activate LAI app embed
From your Shopify admin, go to Online Store > Themes.
Find the theme that you want to edit, and then click Customize.
On the sidebar, click the App embeds icon.
Select LAI app embed or click the Search bar and enter LAI term to search through your installed apps.
Beside the app embed that you want to activate, click the toggle to activate it.
Save your change.
Please see our short instruction.
2. LAI Product review section block has not been added yet
How to add LAI block manually
On 2.0 themes
From your Shopify admin, go to Online Store > Themes.
Navigate the theme that you want to edit, and then click Customize.
On the sidebar, click the Sections icon.
Select Products page > templates where you want to show LAI reviews > check whether the LAI block has been added to the template or not.
If not, on the left sidebar, click Add block > click the Search bar, enter LAI term and select Product reviews section.
Save your change.
On 1.0 themes
The following piece of code is needed to be added to the end of this file templates/product.liquid to show LAI reviews:
{% assign random_number = "now" | date: "%N" | modulo: 1000 | plus: 0 %}<script>var sectionConfig= (typeof sectionConfig == "undefined" || sectionConfig == null) ? {} : sectionConfig;var scmCustomData= (typeof scmCustomData == "undefined" || scmCustomData == null) ? {} : scmCustomData;var scmCustomDataWigetAll= (typeof scmCustomDataWigetAll == "undefined" || scmCustomDataWigetAll == null) ? [] : scmCustomDataWigetAll; scmCustomDataWigetAll['{{ random_number }}'] ={"id_iframe" : "{{ random_number }}","productId" : "{{ product.id }}","typePage" : 'productPage',"sectionConfig" : JSON.stringify(sectionConfig),"scmCustomData" : JSON.stringify(scmCustomData),'dataProduct' : []};sectionConfig= null;scmCustomData= null;scmCustomDataWigetAll['{{ random_number }}'].dataProduct['product']= {{ product | json }};{% for metafieldValue in product.metafields.scm_review_importer %}scmCustomDataWigetAll['{{ random_number }}'].dataProduct['{{ metafieldValue[0] }}']= `{{ metafieldValue[1] | json }}`;{% endfor %}</script>
<div class="scm-container" style="display: none;">
<div class="scm-reviews-importer" data-product-id= "{{ product.id }}">
<iframe class="scm-reviews-importer-iframe" width="100%" title="Sma reviews section Product page" data-idIframe="{{ random_number }}"></iframe>
</div>
</div>
If you struggle with adding the code, please feel free to contact us via live chat. We'd be so glad to assist you with showing reviews.
3. You're using a page builder
LAI has integrated with the following page builder apps to show LAI widgets:
PageFly Landing Page Builder. Guideline.
GemPages Landing Page Builder. Guideline.
Veda Landing Page Builder. Guideline.
EComposer Landing Page Builder. Guideline.
LayoutHub ‑ Easy Page Builder. Guideline.
If you're using any other page builders, please feel free to reach out to our support team via live chat for the best assistance.
Updated on: 25/01/2024
Thank you!