Liquid, JavaScript, themes, sales channels
HI There!
I added Areviews first, then it only appears on product page but i wanted on main page too but did not know how. SO i added another app "Yotpo" to see if it will show on main page.
However now that i figured out how to add widget on main page with "Areviews" but it seems like there's an redundant empty review section in the middle of the product review showing below screenshot. https://genieaiselfie.com/products/genie%E2%84%A2-ai-360-face-tracking-phone-holding-selfie-stick
Yotpo's javascript showing below, i ve trying to find in theme.liquid. but cannot find to delete. please help! Thanks a lot!
copy code:
<script type="text/javascript">(function e(){var e=document.createElement("script");e.type="text/javascript",e.async=true,e.src="//staticw2.yotpo.com/nMBqmmjIxwUqszd0lOiN45t2grzJQWa59thEHYVq/widget.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)})();</script>
Solved! Go to the solution
This is an accepted solution.
THANK YOU!
deleted Judge.me by delete below code, in case any one else want to know.
</div>
{% comment %}Start automatically added Judge.me widget{% endcomment %}
{% render 'judgeme_widgets', widget_type: 'judgeme_review_widget', concierge_install: true, product: product %}
{% comment %}End automatically added Judge.me widget{% endcomment %}
</div>
The "redundant empty review section in the middle of the product review" is from the app "Judge.me Product Reviews" you need to remove this app.
You might also need to delete the files generated by this app.
Good Luck!
Hi Zeian,
i just deleted the app the the thing is still there..Thanks!
Regards!
You need to remove the code added by the app sometimes we need to delete it manually as in your case. if you don't know how to do it add me as a staff so I can delete it for you.
Email: shopify.zeian@gmail.com
Thank You!
This is an accepted solution.
THANK YOU!
deleted Judge.me by delete below code, in case any one else want to know.
</div>
{% comment %}Start automatically added Judge.me widget{% endcomment %}
{% render 'judgeme_widgets', widget_type: 'judgeme_review_widget', concierge_install: true, product: product %}
{% comment %}End automatically added Judge.me widget{% endcomment %}
</div>
@GENIEQ, do this to fix it in 20 seconds:
1. In your Shopify Admin go to: online store > themes > actions > edit code
2. Find Asset > theme.scss.liquid, theme.scss or theme.css and paste this at the bottom of the file:
[data-number-of-reviews='0']{
display: none !important;
}
Please let me know whether it works.
Kind regards,
Diego
Hi Diego,
As i copy the code under theme, it did not work somehow though..
Regards! GenieQ
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024