{{ $vendor_info->business_name }}
★ {{ $vendor_info->account_type }} ★
★Followers: {{ $vendor_followers->count() }}
@if ($vendor_info->about_vendor)★{{ $vendor_info->about_vendor }}
@endif
@guest
Login to Follow
@else
@php
$vendor_follow = App\Models\FrontEnd\Follower::select('id', 'user_id', 'vendor_id', 'status')
->where('vendor_id', $vendor_info->id)
->where('user_id', Auth::user()->id)
->where('status', 'follow')
->first();
@endphp
@if (isset($vendor_follow))
- Unfollow
সেলার কন্টাক্ট
@else
@endif
@endguest
{{-- @auth
Follow
সেলার কন্টাক্ট
@endauth --}}
@foreach ($data['products'] as $productId => $product)
ProductImageFirst)) src="{{ asset('storage/photo/' . $product->ProductImageFirst->image) }}"
@else src="{{ asset('image-not-available.jpg') }}" @endif
style="width: 100%;height: auto;" alt="{{ $product['name'] }}">
{{--
--}}
@if (isset($product['special_price']))
@endif
@endforeach
@if (strlen($product['name']) > 50) {{ \Illuminate\Support\Str::limit($product['name'], 50) . '...' }} @else {{ $product['name'] }} @endif
সর্বনিম্ন অর্ডার: {{ $product['min_order_qty'] }} পিছ
@for ($i = 1; $i <= $product->avgReviewRating(); $i++) ★ @endfor
@if (!Auth::user())
@if ($currencySymbol)
{{ $currencySymbol->symbol }}{{ $product['special_price'] }}
@else
{{ $product['special_price'] }}
@endif
@elseif(isset(Auth::user()->Contact) && Auth::user()->Contact->contact_type == 'Wholesale')
@if ($currencySymbol)
{{ $currencySymbol->symbol }}{{ $product['wholesale_price'] }}
@else
{{ $product['wholesale_price'] }}
@endif
@elseif(isset(Auth::user()->Contact) && Auth::user()->Contact->contact_type != 'Wholesale')
@if ($currencySymbol)
{{ $currencySymbol->symbol }}{{ $product['special_price'] }}
@else
{{ $product['special_price'] }}
@endif
@endif
@if ($currencySymbol)
{{ $currencySymbol->symbol }}{{ $product['regular_price'] }}
@else
{{ $product['regular_price'] }}
@endif
@php
$minimumQuantity = $product['min_order_qty'];
$orderQuantity = 0;
if (isset($cardBadge['data']['products'][$product['id']])) {
$minimumQuantity = $cardBadge['data']['products'][$product['id']]['minimum_order_quantity'];
$orderQuantity = $cardBadge['data']['products'][$product['id']]['quantity'];
}
@endphp
@if(!empty($product->MultiplePricing->count()>0))
Details
@else
@if ($product['in_stock'] == 'Out of Stock')
@if (isset($language->sold_out_button_text))
{{ $language->sold_out_button_text }}
@else
Sold Out
@endif
@else
@if (isset($language->sell_button_text))
{{ $language->sell_button_text }}
@else
Buy Now
@endif
@endif
Contact->contact_type == 'Wholesale')
data-product-price="{{ $product['wholesale_price'] }}" @else
data-product-price="{{ $product['special_price'] }}" @endif
@else data-product-price="{{ $product['special_price'] }}"
@endif
data-product-quantity="{{ $orderQuantity ? $orderQuantity : $minimumQuantity }}"
data-product-minimum-quantity="{{ $minimumQuantity }}"
data-product-guarantee="{{ $product['guarantee'] }}"
@if ($product->ProductImageFirst) data-product-image="{{ asset('storage/photo/' . $product->ProductImageFirst->image) }}" @endif
data-toggle="modal" data-target=".bd-example-modal-sm"
@if ($product['in_stock'] == 'Out of Stock') style="pointer-events: none;" @endif
style="color: #ff5c00;">
@if ($product['in_stock'] == 'Out of Stock')
@if (isset($language->sold_out_button_text))
{{ $language->sold_out_button_text }}
@else
Sold Out
@endif
@else
@if (isset($language->sell_button_text))
{{ $language->sell_button_text }}
@else
Buy Now
@endif
@endif
@endif
@if (isset($search_type) && isset($search_value))
{{ $data['products']->appends([$search_type => $search_value])->links('pagination::bootstrap-4') }}
@else
{{ $data['products']->links('pagination::bootstrap-4') }}
@endif