12 lines
417 B
PHP
12 lines
417 B
PHP
{{-- Average stars + review count under the product title. Shared by the
|
|||
|
|
product page and the review-stored Turbo Stream (#product-rating-summary). --}}
|
||
|
|
<x-reviews-stars
|
||
|
|
id="product-rating-summary"
|
||
|
|
:rating="$rating ?? 0"
|
||
|
|
:count="$count"
|
||
|
|
:showCount="true"
|
||
|
|
:linkable="true"
|
||
|
|
data-controller="tab-link"
|
||
|
|
data-tab-link-tabs-outlet="#product-tabs"
|
||
|
|
data-tab-link-panel-value="reviews"
|
||
|
|
/>
|