{{ $detailedProduct->getTranslation('name') }}
@php
$total = 0;
$total += $detailedProduct->reviews->where('status', 1)->count();
@endphp
{{ renderStarRating($detailedProduct->rating) }}
({{ $total }}
{{ translate('reviews') }})
{{ translate('In stock')}}
@if ($detailedProduct->added_by == 'seller' && get_setting('vendor_system_activation') == 1)
@endif
{{ translate('Sold by') }}
@if ($detailedProduct->added_by == 'seller' && get_setting('vendor_system_activation') == 1)
{{ $detailedProduct->user->shop->name }}
@else
{{ translate('Inhouse product') }}
@endif
@if (get_setting('conversation_system') == 1)
@endif
@if ($detailedProduct->brand != null)
@endif
@if(home_price($detailedProduct) != home_discounted_price($detailedProduct))
{{ home_discounted_price($detailedProduct) }}
{{ home_price($detailedProduct) }}
@if($detailedProduct->unit != null)
/{{ $detailedProduct->getTranslation('unit') }}
@endif
@if(discount_in_percentage($detailedProduct) > 0)
-{{discount_in_percentage($detailedProduct)}}%
@endif
@if (addon_is_activated('club_point') && $detailedProduct->earn_point > 0)
{{ translate('Club Point') }}: {{ $detailedProduct->earn_point }}
@endif
@else
{{ home_discounted_price($detailedProduct) }}
@if ($detailedProduct->unit != null)
/{{ $detailedProduct->getTranslation('unit') }}
@endif
@if (addon_is_activated('club_point') && $detailedProduct->earn_point > 0)
{{ translate('Club Point') }}: {{ $detailedProduct->earn_point }}
@endif
@endif
@if(Auth::check() && addon_is_activated('affiliate_system') && get_affliate_option_status() && Auth::user()->affiliate_user != null && Auth::user()->affiliate_user->status)
@php
if(Auth::check()){
if(Auth::user()->referral_code == null){
Auth::user()->referral_code = substr(Auth::user()->id.Str::random(10), 0, 10);
Auth::user()->save();
}
$referral_code = Auth::user()->referral_code;
$referral_code_url = URL::to('/product').'/'.$detailedProduct->slug."?product_referral_code=$referral_code";
}
@endphp
@endif
@php
$refund_sticker = get_setting('refund_sticker');
@endphp
@if (addon_is_activated('refund_request'))
{{ translate('Refund') }}
@endif
@if ($detailedProduct->added_by == 'seller')
{{ translate('Seller Guarantees')}}
@if ($detailedProduct->user->shop->verification_status == 1)
{{ translate('Verified seller')}}
@else
{{ translate('Non verified seller')}}
@endif
@endif