I can't get rid of the prior "product reviews" section

I can’t get rid of the prior “product reviews” section on my product pages? I added a new app and deleted the old one, but the section for the old one still remains.

Also is there a way to place the NEW section where the OLD section is? I like having the reviews above the “you may also like” section.

Here’s a page for example: https://pokersamadhi.com/collections/tom-mcevoys-signature-series/products/mens-dont-lose-the-lesson-t-shirt-tom-mcevoy

Thank you!!

@pokersamadhi

You will need to remove the code the review app left behind. The code will be in either the “product.liquid” file or “product-template.liquid” file. Both files can be found when you go to Online Store/Themes/Actions/Edit Code.

I can see that the code is from the Shopify review app, so what you need to look for is:

<div id="shopify-product-reviews" data-id="{{product.id}}">{{ product.metafields.spr.reviews }}</div>

You can find this code by using command+F (Mac) or control+F (PC) and searching “Reviews” - Deleting this line will remove the review section from your product page.

You can then move the coding for the new review app where the coding for the Shopify review app was. That coding is likely near the bottom of the same file. Copy and paste it on the same line where you found the Shopify reviews app code. That should move it to the desired location.

1 Like

@Trevor thank you very much for this info!

unfortunately, all i see in product-template.liquid is:

there is nothing in product.liquid

do i remove that code ^^?

@pokersamadhi

Thank you for checking. The code you found in product-template.liquid should be the code you need to remove. You can delete that line and save the file which should remove the code from your products page.

@Trevor unfortunately it didn’t work. I’m still seeing the shopify review section…

this is the whole section of code FYI

{% if settings.enable_product_reviews and settings.reviews_layout == 'full' %}
              {% if isModal %}
                {%- assign review_link = product.url | within: collection | append: '#Reviews-' | append: product.id -%}
              {% else %}
                {%- assign review_link = '#Reviews-' | append: product.id -%}
              {% endif %}
             
                
              
            {% endif %}

@pokersamadhi

Thank you for that code. You would need to remove the whole snippet in this case. You may also have more than one template file that includes the snippet. Such as product-section-template.liquid. You would need to remove the code from each file.

@Trevor

okay i removed it from both product-template.liquid and product-sections-template.liquid but it is still there :disappointed_face:

@pokersamadhi

Strange! That would suggest this is being added to your theme through a different path. Could you try opening your theme editor “Online Store/Themes/Customize” - Navigate to the default product page by clicking the drop-down menu in the top middle of the screen:

Once you’ve clicked on the default product, the bar on the left-hand side should change. Click “Product Pages” then “theme settings” - Do you see the option to enable/disable product reviews?

1 Like

@Trevor omg that worked!!! you are incredible. thank you.

any idea now how i move up my new review app to where the old section was?

1 Like

@pokersamadhi

Glad that worked! I suspect that your new review app installed its coding in the products.liquid file. If you copy and paste the code where you found the coding for the old review app (product-template. liquid), then that should work.

@Trevor okay figured that out!!!

LAST QUESTION - i promise lol. Any idea how to reduce the space above and between the review section?

Example: https://pokersamadhi.com/collections/wristbands/products/mantra-wristbands-10-pack

Thank you @Trevor , i am soooo appreciative of your help!

@pokersamadhi

I’m afraid that one is a bit outside my level of expertise. I would recommend creating a new post in the Shopify Design thread, stating which theme you’re using, and providing the URL. Another Community member may be able to assist you with this. You could also hire a Shopify Expert or contact the theme developer.

1 Like