@if ($products->count())
|
@foreach($products as $product)
|
@endforeach
|
@foreach($products as $product)
|
@endforeach
|
@foreach($products as $product)
|
@endforeach
{{ __('Title') }} |
@foreach($products as $product)
{{ $product->name }} |
@endforeach
{{ __('Price') }} |
@foreach($products as $product)
{!! Theme::partial('ecommerce.product-price', compact('product')) !!}
|
@endforeach
{{ __('Description') }} |
@foreach($products as $product)
{!! BaseHelper::clean($product->description) !!}
|
@endforeach
{{ __('SKU') }} |
@foreach($products as $product)
{{ $product->sku ? '#' . $product->sku : '' }} |
@endforeach
{{ __('Availability') }} |
@foreach($products as $product)
@if ($product->isOutOfStock()) {{ __('Out of stock') }} @else {{ __('In stock') }} @endif
|
@endforeach
@foreach($attributeSets as $attributeSet)
@if ($attributeSet->is_comparable)
{{ $attributeSet->title }}
|
@foreach($products as $product)
@php
$attributes = app(\Botble\Ecommerce\Repositories\Interfaces\ProductInterface::class)->getRelatedProductAttributes($product)->where('attribute_set_id', $attributeSet->id)->sortBy('order');
@endphp
@if ($attributes->count())
@if ($attributeSet->display_layout == 'dropdown')
{{ $attributes->pluck('title')->implode(', ') }}
|
@elseif ($attributeSet->display_layout == 'text')
|
@else
|
@endif
@else
— |
@endif
@endforeach
@endif
@endforeach
@if (EcommerceHelper::isCartEnabled())
{{ __('Add to cart') }} |
@foreach($products as $product)
|
@endforeach
@endif
|
@foreach($products as $product)
|
@endforeach
@else
{{ __('No products in compare list!') }}
@endif