Solved

Add reviews to "Collapsible row"?

PWS1
Explorer
111 3 8

Is it possible to add a product's reviews to a collapsible row on the product page when using the theme Dawn?

Accepted Solution (1)
PWS1
Explorer
111 3 8

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 %}

 

View solution in original post

Replies 10 (10)

KetanKumar
Shopify Partner
36845 3636 11978

@PWS1 

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.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Darzola
New Member
4 0 0

How do you make judge me review widge a collapsible row?

miljuu
Tourist
7 0 0

I am looking to do the same thing in our new site. Would love help in figuring that out. 

 

https://27gbfmy7fq3npb04-27020066898.shopifypreview.com

PWS1
Explorer
111 3 8

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 %}

 

wickedbride
Excursionist
30 2 26

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!

PWS1
Explorer
111 3 8

I just contacted Judge.me support.  They were very helpful.

wickedbride
Excursionist
30 2 26

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!

Darzola
New Member
4 0 0

How do you make judge me review widge a collapsible row? I’m having the same problem and the code for work for me

wickedbride
Excursionist
30 2 26

Judge.me support was able to make template updates - so they fixed it on their end for me, I suggest contacting the Judge.me support team.

Darzola
New Member
4 0 0

Ok but what did they do to help you with that and how do I contact them.