composer require rapidez/reviewsIf you haven't published the Rapidez views yet, publish them with:
php artisan vendor:publish --provider="Rapidez\Core\RapidezServiceProvider" --tag=viewsIf you'd like to show product reviews on out-of-stock product pages you need to enable this setting in Magento:
Stores > Settings > Configuration > Catalog > Inventory > Stock Options > Display Out of Stock Products
Add the stars where you'd like in resources/views/vendor/rapidez/product/overview.blade.php:
@if (App::providerIsLoaded('Rapidez\Reviews\ReviewsServiceProvider'))
@if ($product->reviews_score)
<x-dynamic-component component="rapidez-reviews::stars" :score="$product->reviews_score :count="$product->reviews_count" />
@endif
@endifThe review list can be added with:
@if (App::providerIsLoaded('Rapidez\Reviews\ReviewsServiceProvider'))
<div class="container my-5">
@include('rapidez-reviews::reviews')
</div>
@endifThis should be included in resources/views/vendor/rapidez/product/overview.blade.php inside the: <div itemtype="https://schema.org/Product" itemscope>
@if (App::providerIsLoaded('Rapidez\Reviews\ReviewsServiceProvider'))
@include('rapidez-reviews::components.microdata')
@endifAdd somewhere in resources/views/category/partials/listing/item.blade.php:
@if (App::providerIsLoaded('Rapidez\Reviews\ReviewsServiceProvider'))
<x-dynamic-component component="rapidez-reviews::stars" v-if="item.reviews_count" count="item.reviews_count" score="item.reviews_score" />
@endifIf you need to change the views you can publish them with:
php artisan vendor:publish --provider="Rapidez\Reviews\ReviewsServiceProvider" --tag=viewsGNU General Public License v3. Please see License File for more information.




