@extends('layouts.front_end') @section('title', 'Paikari App | Home') @section('content')
{{--
--}}
{{-- Start Main Slider --}} {{-- End Main Slider --}}
{{-- @if (count($topFourCategories) > 0)
@if (isset($language->product_categories)) {{ $language->product_categories }} @else Categories @endif
@endif
--}} {{-- Start Video Link --}} @if (isset($companyInfo->video_link))

{{ $companyInfo->video_title }}

{{--
--}} {{-- --}} {{--
--}}
@endif {{-- End Video Link --}} {{-- Start New Electronics Products --}}
{{-- exclusive collection --}}

@if (isset($language->new_product)) {{ $language->new_product }} @else New Electronics Products @endif

{{-- Start New Electronics --}} @if ($data['products_desc']) @foreach ($data['products_desc'] as $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'])) {{ intval($product['regular_price'] - $product['special_price']) }} @if ($currencySymbol) {{ $currencySymbol->symbol }}@endif @if (isset($language->discount)) {{ $language->discount }} @else discount @endif @endif
@if (strlen($product['name']) > 50) {{ \Illuminate\Support\Str::limit($product['name'], 50) . '...' }} @else {{ $product['name'] }} @endif @php if($product['is_multiplication'] == '1'){ if($product['multiplication_value'] > 0){ $min_qty = $product['multiplication_value']; }else{ $min_qty = $product['min_order_qty']; } }else{ $min_qty = $product['min_order_qty']; }@endphp

সর্বনিম্ন অর্ডার: {{ $min_qty }} পিছ

@for ($i = 1; $i <= $product->avgReviewRating(); $i++) @endfor

@if (empty($product->priceRange) || $product->priceRange->count() == 0)
@if (!Auth::user()) @if ($currencySymbol) {{ $currencySymbol->symbol }}{{ $product['special_price'] }} @else {{ $currencySymbol->symbol }} {{ $product['special_price'] }} @endif @elseif (isset(Auth::user()->Contact) && Auth::user()->Contact->contact_type == 'Wholesale') @if ($currencySymbol) {{ $currencySymbol->symbol }}{{ $product['wholesale_price'] }} @else {{ $currencySymbol->symbol }} {{ $product['wholesale_price'] }} @endif @elseif (isset(Auth::user()->Contact) && Auth::user()->Contact->contact_type != 'Wholesale') {{ $currencySymbol->symbol }}{{ $product['special_price'] }} @endif {{-- First Part --}} @if ($currencySymbol) {{ $currencySymbol->symbol }}{{ $product['regular_price'] }} @else {{ $product['regular_price'] }} @endif {{-- End Part --}}
@endif @php $minimumQuantity = $product['min_order_qty']; $orderQuantity = 0; if($product['is_multiplication']){ if($product['multiplication_value'] > 0){ $minimumQuantity = $product['multiplication_value']; }else{ $minimumQuantity = $product['min_order_qty']; } } else 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->priceRange->count() > 0))
@if (Auth::user()) @if (Auth::user()->Contact) @if (Auth::user()->Contact->contact_type == 'Wholesale') {{ $range->sale_price_with_commission }} @if ($currencySymbol) {{ $currencySymbol->symbol }}{{$product->priceRange->min('sale_price_with_commission')}} - {{ $currencySymbol->symbol }}{{$product->priceRange->max('sale_price_with_commission')}} @else {{$product->priceRange->min('sale_price_with_commission')}} - {{$product->priceRange->max('sale_price_with_commission')}} @endif @else @if ($currencySymbol) {{ $currencySymbol->symbol }}{{$product->priceRange->min('sale_price_with_commission')}} - {{ $currencySymbol->symbol }}{{$product->priceRange->max('sale_price_with_commission')}} @else {{$product->priceRange->min('sale_price_with_commission')}} - {{$product->priceRange->max('sale_price_with_commission')}} @endif @endif @endif @else @if ($currencySymbol) {{ $currencySymbol->symbol }}{{$product->priceRange->min('sale_price_with_commission')}} - {{ $currencySymbol->symbol }}{{$product->priceRange->max('sale_price_with_commission')}} @else {{$product->priceRange->min('sale_price_with_commission')}} - {{$product->priceRange->max('sale_price_with_commission')}} @endif @endif
Details @elseif($product->product_type == '1') মডেল সিলেক্ট করুন @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) && Auth::user()->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-guarantee="{{ $product['guarantee'] }}" data-product-minimum-quantity="{{ $minimumQuantity }}" @if ($product['product_image_first']) data-product-image="{{ asset('storage/photo/' . $product['product_image_first']['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
@endforeach @else
@if (isset($language->no_product_alert)) {{ $language->no_product_alert }} @else Op's there is no products @endif
@endif {{-- End New Electronics --}}

@if (isset($language->best_selling_product)) {{ $language->best_selling_product }} @else Best Selling Products @endif

@if ($data['products']) @foreach ($data['products'] as $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'] }}"> {{-- {{$product['name']}} --}} @if ($product['special_price']) {{ intval($product['regular_price'] - $product['special_price']) }} @if ($currencySymbol) {{ $currencySymbol->symbol }}@endif @if (isset($language->discount)) {{ $language->discount }} @else discount @endif @endif
@if (strlen($product['name']) > 50) {{ \Illuminate\Support\Str::limit($product['name'], 50) . '...' }} @else {{ $product['name'] }} @endif @php if($product['is_multiplication'] == '1'){ if($product['multiplication_value'] > 0){ $min_qty = $product['multiplication_value']; }else{ $min_qty = $product['min_order_qty']; } }else{ $min_qty = $product['min_order_qty']; }@endphp

সর্বনিম্ন অর্ডার: {{ $min_qty }} পিছ

@for ($i = 1; $i <= $product->avgReviewRating(); $i++) @endfor

@if (empty($product->priceRange) || $product->priceRange->count() == 0)
@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
@endif {{--
--}} @php $minimumQuantity = $product['min_order_qty']; $orderQuantity = 0; if($product['is_multiplication']){ if($product['multiplication_value'] > 0){ $minimumQuantity = $product['multiplication_value']; }else{ $minimumQuantity = $product['min_order_qty']; } } else 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->priceRange->count() > 0))
@if (Auth::user()) @if (Auth::user()->Contact) @if (Auth::user()->Contact->contact_type == 'Wholesale') {{ $range->sale_price_with_commission }} @if ($currencySymbol) {{ $currencySymbol->symbol }}{{$product->priceRange->min('sale_price_with_commission')}} - {{ $currencySymbol->symbol }}{{$product->priceRange->max('sale_price_with_commission')}} @else {{$product->priceRange->min('sale_price_with_commission')}} - {{$product->priceRange->max('sale_price_with_commission')}} @endif @else @if ($currencySymbol) {{ $currencySymbol->symbol }}{{$product->priceRange->min('regular_sale_price')}} - {{ $currencySymbol->symbol }}{{$product->priceRange->max('regular_sale_price')}} @else {{$product->priceRange->min('regular_sale_price')}} - {{$product->priceRange->max('regular_sale_price')}} @endif @endif @endif @else @if ($currencySymbol) {{ $currencySymbol->symbol }}{{$product->priceRange->min('regular_sale_price')}} - {{ $currencySymbol->symbol }}{{$product->priceRange->max('regular_sale_price')}} @else {{$product->priceRange->min('regular_sale_price')}} - {{$product->priceRange->max('regular_sale_price')}} @endif @endif
Details @elseif($product->product_type == '1') মডেল সিলেক্ট করুন @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) && Auth::user()->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-guarantee="{{ $product['guarantee'] }}" data-product-quantity="{{ $orderQuantity ? $orderQuantity : $minimumQuantity }}" data-product-minimum-quantity="{{ $minimumQuantity }}" @if ($product['product_image_first']) data-product-image="{{ asset('storage/photo/' . $product['product_image_first']['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
@endforeach @else
@if (isset($language->no_product_alert)) {{ $language->no_product_alert }} @else Op's there is no products @endif
@endif

Free Shipping On Over $ 50
Agricultural mean crops livestock
Membership Discount
Only MemberAgricultural livestock
Money Return
30 days money back guarantee
24/7 Support !
Saving Every Moments
@endsection