Product Name In English
{{ $model->getTranslation('name','en') }}
Product Name In Arabic
{{ $model->getTranslation('name','ar') }}
Product Description In English
{{ $model->getTranslation('description','en') }}
Product Description In Arabic
{{ $model->getTranslation('description','ar') }}
Category
{{ $model->category?->name }}
Subcategory
{{ $model->subCategory?->name ?? "-" }}
Tags
@forelse($model->tags as $tag)
{{ $tag->name }}
@empty
-
@endforelse
Quantity & Price
{{ $model->has_custom_prices ? "Quantity Added Manually" : "Default Quantity"}}
@if($model->has_custom_prices)
@foreach($model->prices as $product)
Quantity
{{ $product->quantity }}
Original Price (EGP) (Per Item)
{{ $product->price }}
@endforeach
@else
Original Price (EGP) (Per Item)
{{ $model->base_price }}
@endif
@foreach($model->specifications as $specification)
Name
{{ $specification->name }}
@foreach($specification->options as $index => $option) @endforeach
Value
{{ $option->value }}
Price (EGP) (Optional)
{{ $option->price }}
Photo
@if ($option->media->isNotEmpty())
@else
-
@endif