@if (count($products))
@foreach ($products as $product) @endforeach @foreach ($products as $product) @endforeach @if (EcommerceHelper::isCartEnabled()) @foreach ($products as $product) @endforeach @endif @foreach ($products as $product) @endforeach @foreach ($products as $product) @endforeach @foreach ($products as $product) @endforeach @foreach ($attributeSets as $attributeSet) @if ($attributeSet->is_comparable) @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->isNotEmpty()) @if ($attributeSet->display_layout === 'dropdown') @elseif ($attributeSet->display_layout === 'text') @else @endif @else @endif @endforeach @endif @endforeach
{{ __('Image') }} {{ $product->name }}
{{ __('Name') }} {{ $product->name }} ({{ __('Remove') }})
{{ __('Add to cart') }}
{{ __('Description') }} {!! BaseHelper::clean($product->description) !!}
{{ __('SKU') }} {{ $product->sku ? '#' . $product->sku : '' }}
{{ __('Availability') }} {!! $product->stock_status_html !!}
{{ $attributeSet->title }} {{ $attributes->pluck('title')->implode(', ') }}
    @foreach ($attributes as $attribute)
  • @endforeach
    @foreach ($attributes as $attribute)
  • @endforeach
@else

{{ __('No products in compare list!') }}

@endif