Reviews Modal Trigger
Last updated
Last updated
Trigger a reviews widget to appear in a modal (pop-up) when the user clicks on an element on your online store.
Place the data-oke-reviews-modal-trigger
data attribute on any HTML element e.g. <div>
<button>
<span>
. When Widget Plus initializes it will find any tags with that data element and add click behavior to them.
Data Attribute | Description | Value Type | Supported Values | Required |
---|---|---|---|---|
| This tells Widget Plus to show a modal/pop up when the customer clicks the element. |
| ||
| Used to specify a Shopify Product ID with the word |
| Any valid product ID in the format | |
| Used to specify an Okendo Group ID so that the reviews badge widget will only show aggregate review data for the specified group of products. |
| Any valid product group ID in a GUID format e.g. |
Without specifying a data source for the reviews, the widget will show all reviews for your store. You can provide either a Product ID or a Group ID to use that as the data source for the reviews.