This article is also available in:
Show Q&A Tag

In order to show the Q&A tag you need to add the below code to your page.
This code can be used to show the star rating in areas such as top page and product detail page where the Q&A list is shown.

Code required to show the Q&A tag:
<div class="qa-summary-container" data-pid="PRODUCT_ID" data-action="qa-summary">


Code required to show the Q&A tag for grouped products:
<div class="qa-summary-container" data-pid="PRODUCT_ID" data-group="true" data-action="qa-summary">


Code required to show the Q&A tag for groups:
<div class="qa-summary-container" data-gname="GROUP_NAME" data-group="true" data-action="qa-summary">


Show Q&A List

In order to show the Q&A list separately from the review list you need to add the below code to your page.

Code required to show the Q&A list:
<div class="u-komi-qa-container" data-pid="PRODUCT_ID" data-action="qa-widget"></div>


Code required to show the Q&A list for grouped products:
<div class="u-komi-qa-container" data-pid="PRODUCT_ID" data-group="true" data-action="qa-widget"></div>


Code required to show the Q&A list for groups:
<div class="qa-summary-container" data-gname="GROUP_NAME" data-action="qa-widget">


"PRODUCT_ID" should be the ID of the product
Was this article helpful?
Cancel
Thank you!