@php if ($gs->switch_highlight_currency) { $highlight = $product->firstCurrencyPrice(); $small = $product->showPrice(); } else { $highlight = $product->showPrice(); $small = $product->firstCurrencyPrice(); } @endphp
@if(!empty($product->whole_sell_qty))

{{ __("Wholesell") }}

@foreach($product->whole_sell_qty as $key => $data1) @endforeach
{{ __("Quantity") }} {{ __("Discount") }}
{{ $product->whole_sell_qty[$key] }}+ {{ $product->whole_sell_discount[$key] }}% {{ __("Off") }}
@endif

{{ $product->name }}

@if( $product->ref_code != null && ($admstore->reference_code == 1) )

{{ __('Reference Code') }}: {{ $product->ref_code }}

@endif
    @if($product->type == 'Physical') @if($product->emptyStock())
  • {{ __("Out of Stock!") }}

  • @else
  • {{ $gs->show_stock == 0 ? '' : $product->stock }} {{ __("In Stock") }}

  • @endif @endif @if($gs->is_rating == 1)
  • {{count($product->ratings)}} {{ __("Review(s)") }}

  • @endif @if($product->product_condition != 0)
  • {{ $product->product_condition == 2 ? 'New' : 'Used' }}
  • @endif
    @if($product->type == 'License') @if($product->platform != null)
  • {{ __("Platform") }}: {{ $product->platform }}

  • @endif @if($product->region != null)
  • {{ __("Region") }}: {{ $product->region }}

  • @endif @if($product->licence_type != null)
  • {{ __("License Type") }}: {{ $product->licence_type }}

  • @endif @endif
@if($product->show_price)
@if($gs->show_product_prices)

{{ __("Price") }} :

@endif

{{ $highlight }} @php $size_price_value = $product->vendorPrice() * $curr->value; $previous_price_value = $product->previous_price * $curr->value * (1+($gs->product_percent / 100)); @endphp {{ $product->showPreviousPrice() }} @if($curr->id != $first_curr->id) {{ $small }}

@endif @if($product->youtube != null) @endif
@endif @if(!empty($product->size))

{{ __("Size") }} :

    @php $is_first = true; @endphp @foreach($product->size as $key => $data1)
  • {{ $data1 }}
  • @php $is_first = false; @endphp @endforeach
@endif @if(!empty($product->color))

{{ __("Color") }} :

    @php $is_first = true; @endphp @foreach($product->color as $key => $data1)
  • @php $is_first = false; @endphp @endforeach
@endif @if(!empty($product->size)) @else @php $stck = (string)$product->stock; @endphp @if($stck != null) @elseif($product->type != 'Physical') @else @endif @endif
    @if (!empty($product->attributes)) @php $attrArr = json_decode($product->attributes, true); // dd($attrArr); @endphp @endif @if (!empty($attrArr))
    @foreach ($attrArr as $attrKey => $attrVal) @if (array_key_exists("details_status",$attrVal) && $attrVal['details_status'] == 1) @if ($attr_search = App\Models\Attribute::where('input_name', $attrKey)->first())
    {{ App\Models\Attribute::where('input_name', $attrKey)->first()->name }} :
    @foreach ($attrVal['values'] as $optionKey => $optionVal) @if (App\Models\AttributeOption::where('id', $optionVal)->first())
    first ? 'checked' : '' }}> @if($loop->count > 1) @else
    - {{App\Models\AttributeOption::find($optionVal)->name}}
    @endif
    @endif @endforeach
    @endif @endif @endforeach
    @endif @if($gs->is_cart) @if($product->product_type == "affiliate")
  • {{ __("Buy Now") }}
  • @else @if($product->stock === 0)
  • {{ __("Out of Stock!") }}
  • @else
  • {{ __("Details") }}
  • @endif @endif @endif @if(Auth::guard('web')->check())
  • @else
  • @endif
@if($product->ship != null)

{{ __("Estimated Shipping Time") }}: {{ $product->ship }}

@endif @if( $product->sku != null )

{{ __("Product SKU") }}: {{ $product->sku }}

@endif