@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')
{{ translate($detailedProduct->name) }}
@php
$qty = 0;
if($detailedProduct->variant_product){
foreach ($detailedProduct->stocks as $key => $stock) {
$qty += $stock->qty;
}
}
else{
$qty = $detailedProduct->current_stock;
}
@endphp
@if ($detailedProduct->added_by == 'seller' && \App\BusinessSetting::where('type', 'vendor_system_activation')->first()->value == 1)
{{ $detailedProduct->user->shop->name }}
@else
{{ translate('Inhouse product') }}
@endif
@if(home_price($detailedProduct->id) != home_discounted_price($detailedProduct->id))
{{$detailedProduct->unit_price}}{{currency_symbol()}}.00
@if($detailedProduct->unit != null || $detailedProduct->unit != '')
{{ $detailedProduct->unit }}
@endif
@php
$refund_request_addon = \App\Addon::where('unique_identifier', 'refund_request')->first();
$refund_sticker = \App\BusinessSetting::where('type', 'refund_sticker')->first();
@endphp
@if ($refund_request_addon != null && $refund_request_addon->activated == 1)
{{ translate('Write a review')}}
{{ translate('Related products')}}
{{ translate($related_product->name) }}
{{ home_base_price($related_product->id) }}
@endif
{{ home_discounted_base_price($related_product->id) }}
{{ $review->user->name }}
{{ date('d-m-Y', strtotime($review->created_at)) }}{{ $review->comment }}