Shopify themes, liquid, logos, and UX
Is it possible to add a product's reviews to a collapsible row on the product page when using the theme Dawn?
Solved! Go to the solution
This is an accepted solution.
I figured it out. I'm using the Judgeme app for reviews, so I just needed to add the last 4 lines to my product code:
{%- when 'collapsible_tab' -%}
<div class="product__accordion accordion" {{ block.shopify_attributes }}>
<details id="Details-{{ block.id }}-{{ section.id }}">
<summary {% if block.settings.heading == "Reviews" %} id="review-btn" {% endif %}>
<div class="summary__title">
{% render 'icon-accordion', icon: block.settings.icon %}
<h2 class="h4 accordion__title">
{{ block.settings.heading | default: block.settings.page.title }}
</h2>
</div>
{% render 'icon-caret' %}
</summary>
<div class="accordion__content rte" id="ProductAccordion-{{ block.id }}-{{ section.id }}">
{{ block.settings.content }}
{{ block.settings.page.content }}
{% if block.settings.heading == "Reviews" %}
{% render 'judgeme_widgets', widget_type: 'judgeme_review_widget', concierge_install: true, product: product %}
{% endif %}
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community!😊
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
I am looking to do the same thing in our new site. Would love help in figuring that out.
This is an accepted solution.
I figured it out. I'm using the Judgeme app for reviews, so I just needed to add the last 4 lines to my product code:
{%- when 'collapsible_tab' -%}
<div class="product__accordion accordion" {{ block.shopify_attributes }}>
<details id="Details-{{ block.id }}-{{ section.id }}">
<summary {% if block.settings.heading == "Reviews" %} id="review-btn" {% endif %}>
<div class="summary__title">
{% render 'icon-accordion', icon: block.settings.icon %}
<h2 class="h4 accordion__title">
{{ block.settings.heading | default: block.settings.page.title }}
</h2>
</div>
{% render 'icon-caret' %}
</summary>
<div class="accordion__content rte" id="ProductAccordion-{{ block.id }}-{{ section.id }}">
{{ block.settings.content }}
{{ block.settings.page.content }}
{% if block.settings.heading == "Reviews" %}
{% render 'judgeme_widgets', widget_type: 'judgeme_review_widget', concierge_install: true, product: product %}
{% endif %}
Hello - I'm also trying to do this in my shop, and can't seem to figure out where to copy/paste this code. I know this is an old thread, but do you mind walking through the steps you took? My product template is in .json and won't accept this when I copy/paste. And Judge.me help/support seems confused at what I'm asking help with. Thanks!
I just contacted Judge.me support. They were very helpful.
Thanks - I also contacted them and even sent a link to this post, and they weren't helpful. Hopefully, the person I'm messaging with passes it along to someone in tech support. Thanks for replying!
User | RANK |
---|---|
229 | |
165 | |
66 | |
54 | |
49 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023