Articles on: Review Widgets

How to Add the Featured Reviews Widget to Draft Themes

Plans: Essentials, Pro, Enterprise Platforms: Shopify

Overview



Displaying the finest reviews on your store is the most effective way to accentuate the positive experiences that shoppers have had with your brand. This instills a sense of confidence in potential buyers while making their purchase decisions. By leveraging AfterShip Reviews, effortlessly incorporate a featured review widget into your Shopify store, further enhancing your customers' shopping journey.



Go to your Shopify admin dashboard
Click Sales channel > Online store > Themes
Click the Meatballs menu and select Edit code



Click Sections > Add a new section
Choose liquid > File name - am-featured-reviews-carousel.liquid and hit Done
Fill in the code given below

<div
     id="aftership_reviews_featured-review--production"
     data-rv-fr-public-styles="--fr_max_width:{{section.settings.fr_max_width}}%;"
     {%if request.design_mode %}data-mode='preview'{% endif %} 
> 
</div>
 
{% schema %} 
{
 "name": "AS Featured Review Widget", 
 "settings": [{
 "type": "range",
 "id": "fr_max_width",
 "min": 0,
 "max": 100,
 "step": 1,
 "unit": "%",
 "label": "Maximum width",
 "default": 100
 }],
 "presets": [{
 "name": "AS Featured Review Widget",
 "category": "Reviews"
 }]
} 
{% endschema %} 

{% stylesheet %} 
{% endstylesheet %} 

{% javascript %} 
{% endjavascript %}


Save the file
Now go back to Online store > Themes and click Customize
Click Add section > AS Featured Review widget
 
In case you need any help,  contact our chat support team

Updated on: 20/12/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!