@inject ('reviewHelper', 'Webkul\Product\Helpers\Review') @inject ('productViewHelper', 'Webkul\Product\Helpers\View') @php $avgRatings = round($reviewHelper->getAverageRating($product)); $percentageRatings = $reviewHelper->getPercentageRating($product); $customAttributeValues = $productViewHelper->getAdditionalData($product); $attributeData = collect($customAttributeValues)->filter(fn ($item) => ! empty($item['value'])); @endphp @push('meta') meta_description : \Illuminate\Support\Str::limit(strip_tags($product->description), 120, '') }}"/> @if (core()->getConfigData('catalog.rich_snippets.products.enable')) @endif