{{ $detailedProduct->getTranslation('name') }}
@php
$total = 0;
$total += $detailedProduct->reviews->count();
@endphp
{{ renderStarRating($detailedProduct->rating) }}
({{ $total }})
@if ($detailedProduct->est_shipping_days)
{{ translate('Estimate Shipping Time') }}:
{{ $detailedProduct->est_shipping_days }} {{ translate('Days') }}
@endif
@if ($detailedProduct->wholesale_product)
| {{ translate('Min Qty') }} |
{{ translate('Max Qty') }} |
{{ translate('Unit Price') }} |
@foreach ($detailedProduct->stocks->first()->wholesalePrices as $wholesalePrice)
| {{ $wholesalePrice->min_qty }} |
{{ $wholesalePrice->max_qty }} |
{{ single_price($wholesalePrice->price) }} |
@endforeach
@else
@if (home_price($detailedProduct) != home_discounted_price($detailedProduct))
@else
{{ home_discounted_price($detailedProduct) }}
@if ($detailedProduct->unit != null)
/{{ $detailedProduct->getTranslation('unit') }}
@endif
@endif
@endif
@if ( $detailedProduct->earn_point > 0)
{{ translate('Club Point') }}:
{{ $detailedProduct->earn_point }}
@endif
@if (Auth::check() && (\App\Models\AffiliateOption::where('type', 'product_sharing')->first()->status || \App\Models\AffiliateOption::where('type', 'category_wise_affiliate')->first()->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->getTranslation('slug') . "?product_referral_code=$referral_code";
}
@endphp
@endif
@php
$refund_sticker = get_setting('refund_sticker');
@endphp
{{ translate('Refund') }}:
{{ 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
{{--
--}}
{{--
--}}
{{--
{{ translate('Share') }}:
--}}
{{--
--}}
{{--
--}}
{{--
--}}