সর্বনিম্ন অর্ডার: {{ $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'] == '1'){
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