@if(isset($product->images))
Product Images:
@foreach (json_decode($product->images) as $image)
@endforeach
@endif
@if(isset($product['technical_image']))
Technical Images:
@foreach ($product['technical_image'] as $timage)
@endforeach
@endif
Variable Images:
@foreach ($product->base_product['images'] as $image)
@endforeach
Technical Video:
@if(isset($product->videos))
Videos:
@foreach (json_decode($product->videos) as $video)
@endforeach
@endif
{{ $product->name }}
{{ $product->brand }}
{{ $product->title }}
@if(isset($product->variable_structure['attribute']))
@endif
Original Price: ${{ number_format($product->base_product['original_price'], 2) }}
Listed Price: ${{ number_format($product->base_product['listed_price'], 2) }}
Quantity Available: {{ $product->quantity_available }}
Waiting Time: {{ $product->waiting_time ?? 0 }} days
Box Size: {{ implode(', ', $product->base_product['box_size']) }}
Weight: {{ implode(', ', $product->base_product['weight']) }} kg
Total Weight: {{ $product->base_product['total_weight'] }} kg
In Stock: {{ $product->base_product['in_stock'] ? 'Yes' : 'No' }}
@if(isset($product->base_product['specification']) && !empty($product->base_product['specification']) &&isset(json_decode($product->base_product['specification'])[0]))
@foreach (json_decode($product->base_product['specification']) as $specification)
- {{ $specification }}
@endforeach
@endif
@if($product->description)
Description:
@php
$descriptions = json_decode($product->description, true);
@endphp
@if($descriptions)
@foreach($descriptions as $desc)
- {{ $desc }}
@endforeach
@else
No description available.
@endif
@endif
@if(isset(json_decode($product->features)[0]))
Features:
@foreach (json_decode($product->features) as $feature)
- {{ $feature }}
@endforeach
@endif
@if(isset(json_decode($product->inclusions)[0]))
Inclusions:
@foreach (json_decode($product->inclusions) as $inclusion)
- {{ $inclusion }}
@endforeach
@endif