@extends('frontend.layouts.app')
@section('meta_title'){{ $detailedProduct->meta_title }}@stop
@section('meta_description'){{ $detailedProduct->meta_description }}@stop
@section('meta_keywords'){{ $detailedProduct->tags }}@stop
@section('meta')
@endsection
@section('content')
{{ $review->comment }}
{{ $detailedProduct->getTranslation('name') }}
@if ($detailedProduct->added_by == 'seller' && get_setting('vendor_system_activation') == 1)
{{ $detailedProduct->user->shop->name }}
@else
{{ translate('Inhouse product') }}
@endif
@if(home_price($detailedProduct) != home_discounted_price($detailedProduct))
{{ home_price($detailedProduct) }}
@if($detailedProduct->unit != null)
/{{ $detailedProduct->getTranslation('unit') }}
@endif
@php
$refund_sticker = get_setting('refund_sticker');
@endphp
@if (addon_is_activated('refund_request'))
@foreach ( filter_products(\App\Models\Product::query()->from("products as p")->where('user_id', $detailedProduct->user_id)->orderBy('num_of_sale', 'desc'))->limit(6)->get() as $key => $top_product)
{{ $top_product->getTranslation('name') }}
@foreach ($detailedProduct->reviews as $key => $review)
@if($review->user != null)
@if(count($detailedProduct->reviews) <= 0)
{{ $review->user->name }}
{{ translate('Write a review')}}
{{ translate('Related products')}}
{{ home_base_price($related_product) }}
@endif
{{ home_discounted_base_price($related_product) }}
{{ $related_product->getTranslation('name') }}
@if (addon_is_activated('club_point'))