Creating custom widget HTML

Variables that you can use when creating your own widget

  • {{ reviewsData.review_source }} - access current review source
  • {{ reviewsData.summary_rating }} - access average rating
  • {{ reviewsData.summary_count }} - access amount of reviews
  • {{ reviewsData.reviews }} - access reviews array

    Each review has next fields:

    • customer_name - name of customer
    • review_link - link to the review
    • review_heading - review heading
    • review_text - review text
    • review_id - review id
    • review_source - review source
    • created_at - review creation date

Example of review array usage:

            {% for review in reviews %}
                {{ review.customer_name }}: {{ review.review_text }}
            {% endfor %}
        

To get more information, please visit:

Still need help? Contact Us Contact Us