@php $product_translation = $product->translations->where('language_id',getLocaleId())->first(); $product_manufacturer_translation = $product->manufacturer->translations->where('language_id',getLocaleId())->first(); @endphp
| {{ trans('app.name') }}: | {{ $product_translation->name ?? $product->name }} |
|---|---|
| {{ trans('app.brand') }}: | {{ $product_translation->brand ?? $product->brand }} |
| {{ trans('app.model_number') }}: | {{ $product->model_number }} |
| {{ trans('app.status') }}: | {{ $product->active ? trans('app.active') : trans('app.inactive') }} |
| {{ trans('app.available_from') }}: | {{ $product->created_at->toFormattedDateString() }} |
| {{ trans('app.updated_at') }}: | {{ $product->updated_at->toDayDateTimeString() }} |
| {{ trans('app.requires_shipping') }}: | {{ $product->requires_shipping ? trans('app.yes') : trans('app.no') }} |
|---|---|
| {{ trans('app.downloadable') }}: | {{ $product->downloadable ? trans('app.yes') : trans('app.no') }} |
| {{ trans('app.has_variant') }}: | {{ $product->hasAttributes() ? trans('app.yes') : trans('app.no') }} |
| {{ trans('app.manufacturer') }}: | {{ $product_manufacturer_translation->name ?? $product->manufacturer->name }} |
| {{ trans('app.origin') }}: | {{ $product->origin->name }} |
| {{ $product->gtin_type }}: | {{ $product->gtin }} |
| {{ trans('app.mpn') }}: | {{ $product->mpn }} |
| {{ trans('app.categories') }}: | @foreach ($product->categories as $category) @php $category_translation = $category->translations->where('language_id',getLocaleId())->first(); @endphp {{ $category_translation->name ?? $category->name }} @endforeach |
| {{ trans('app.min_price') }}: | {{ get_formated_currency($product->min_price, 2) }} |
| {{ trans('app.max_price') }}: | {{ get_formated_currency($product->max_price, 2) }} |
{{ trans('app.description_not_available') }}
@endif| {{ trans('app.vendor') }} | {{ trans('app.stock_quantity') }} | {{ trans('app.condition') }} | {{ trans('app.price') }} | {{ trans('app.options') }} |
|---|---|---|---|---|
|
{{ $listing->shop->name ?? '' }}
@if ($listing->shop->isVerified())
|
{{ $listing->stock_quantity > 0 ? $listing->stock_quantity : trans('app.out_of_stock') }} | {{ $listing->condition }} |
@if ($listing->hasOffer())
@php
$offer_price_help = trans('help.offer_starting_time') . ': ' . $listing->offer_start->diffForHumans() . ' ' . trans('app.and') . ' ' . trans('help.offer_ending_time') . ': ' . $listing->offer_end->diffForHumans();
@endphp
@endif {{ get_formated_currency($listing->current_sale_price(), 2) }} |
{{ trans('app.view_detail') }} |
| {{ trans('app.slug') }}: | {{ $product->slug }} |
|---|---|
| {{ trans('app.meta_title') }}: | {{ $product->meta_title }} |
| {{ trans('app.meta_description') }}: | {{ $product->meta_description }} |
| {{ trans('app.meta_keywords') }}: | {{ $product->meta_keywords }} |
| {{ trans('app.tags') }}: | @foreach ($product->tags as $tag) {{ $tag->name }} @endforeach |