Liquid, JavaScript, Themes
Hi I want to place my reviews from all my products under my product title and not at the end of the product how can I do that?
Gelöst! Zur Lösung
Erfolg.
Hey @Odino
Thanks for the question and you have the German community. But we can also chat in English, that's no problem!
To modify the location of your product reviews on your Shopify site, you will need to manually change your theme's HTML/CSS code. Before making any changes, remember to Backup your theme. Changes to your theme code can exclude your theme from the theme updates and can also slow down your page loading times.
Here is the general process if you are using our native Product Reviews app:
Locate the reviews code: You can find this in the Product Reviews app instructions for your current theme. If you've already installed Product Reviews, you may have inserted something like this in your product-template.liquid
:
{% include 'product-reviews' %}
Relocate the reviews code: Decide where you'd like your reviews to appear (i.e., below your product title). This will also be in the product-template.liquid
file, or possibly in the product.liquid
file, depending on your theme. Find your product title code—it might look something like this:
<h1 class="product-title">{{ product.title }}</h1>
After identifying this line of code, place the reviews code directly below it and save your changes:
<h1 class="product-title">{{ product.title }}</h1>
{% include 'product-reviews' %}
If you have any further questions on that, please direct them to an expert who can take a 👀 into your theme code.
Hope that helps! 😉
Gabe | Social Care @ Shopify
- War meine Antwort hilfreich? Klicke Like um es mich wissen zu lassen!
- Wurde deine Frage beantwortet? Markiere es als Akzeptierte Lösung
- Um mehr zu erfahren, besuche das Shopify Help Center oder den Shopify Blog
Erfolg.
Hey @Odino
Thanks for the question and you have the German community. But we can also chat in English, that's no problem!
To modify the location of your product reviews on your Shopify site, you will need to manually change your theme's HTML/CSS code. Before making any changes, remember to Backup your theme. Changes to your theme code can exclude your theme from the theme updates and can also slow down your page loading times.
Here is the general process if you are using our native Product Reviews app:
Locate the reviews code: You can find this in the Product Reviews app instructions for your current theme. If you've already installed Product Reviews, you may have inserted something like this in your product-template.liquid
:
{% include 'product-reviews' %}
Relocate the reviews code: Decide where you'd like your reviews to appear (i.e., below your product title). This will also be in the product-template.liquid
file, or possibly in the product.liquid
file, depending on your theme. Find your product title code—it might look something like this:
<h1 class="product-title">{{ product.title }}</h1>
After identifying this line of code, place the reviews code directly below it and save your changes:
<h1 class="product-title">{{ product.title }}</h1>
{% include 'product-reviews' %}
If you have any further questions on that, please direct them to an expert who can take a 👀 into your theme code.
Hope that helps! 😉
Gabe | Social Care @ Shopify
- War meine Antwort hilfreich? Klicke Like um es mich wissen zu lassen!
- Wurde deine Frage beantwortet? Markiere es als Akzeptierte Lösung
- Um mehr zu erfahren, besuche das Shopify Help Center oder den Shopify Blog
Teil 2 - Wie die Prinzipien des UX-Designs dir dabei helfen können einen großartigen Shop ...
By Kai Sep 16, 2024Teil 1 - Wie die Prinzipien des UX-Designs dir dabei helfen können einen großartigen Shop ...
By Kai Sep 9, 2024Anpassungen des benutzerdefinierten Codes an Shopify-Themes (CSS) leicht gemachtIn diesem...
By Gabe Aug 28, 2024