Rapid Reviews / Override Reviews App Block Widget

Override Reviews App Block Widget

You can easily override the reviews app block widget.

To do this, override the entity_id specified on your page. If the page on which you are activating the widget on is not of the same type as the widget’s parent, please specify the entity_type. For example, this to have the reviews widget is a Collection type, but the Override Entity ID is for a Product type), override the entity_type to products.

App Blocks

This can be done in App Blocks in your Shopify Admin > Online Store > Themes > Customize like here:


Rapid Reviews Override Id

Manual Installation

This can be done in your manual installation by specifying routing overrides and re-specifying the entity object in liquid like the code below:

~CE

<script>
  window.rapid_reviews_config.routing.entity_id_override = '999'
  window.rapid_reviews_config.routing.entity_type_override = 'products'

  // IF ENTITY TYPE IS A PRODUCT
  {% assign entityObject = all_products['product-handle'] %}
  // IF ENTITY TYPE IS A COLLECTION
  {% assign entityObject = collections['collection-handle'] %}
  // IF ENTITY TYPE IS A PAGE
  {% assign entityObject = pages['page-handle'] %}

  window.rapid_reviews_data = {
    data: {{ entityObject.metafields.rapid_reviews.data | json }},
    counts: {{ entityObject.metafields.rapid_reviews.counts | json }},
    media: {{ entityObject.metafields.rapid_reviews.media | json }}
  }
</script>
HTML