@extends('shop::layouts.master')
@inject ('reviewHelper', 'Webkul\Product\Helpers\Review')
@inject ('customHelper', 'Webkul\Velocity\Helpers\Helper')
@php
$total = $reviewHelper->getTotalReviews($product);
$avgRatings = $reviewHelper->getAverageRating($product);
$avgStarRating = round($avgRatings);
$productImages = [];
$images = productimage()->getGalleryImages($product);
foreach ($images as $key => $image) {
array_push($productImages, $image['medium_image_url']);
}
@endphp
@section('page_title')
{{ trim($product->meta_title) != "" ? $product->meta_title : $product->name }}
@stop
@section('seo')
meta_description : \Illuminate\Support\Str::limit(strip_tags($product->description), 120, '') }}"/>
@if (core()->getConfigData('catalog.rich_snippets.products.enable'))
@endif