@php Theme::layout('full-width') @endphp {!! Theme::partial('page-header') !!}
@if ($products->count())
@foreach($products as $product) @endforeach @foreach($products as $product) @endforeach @foreach($products as $product) @endforeach @foreach($products as $product) @endforeach @foreach($products as $product) @endforeach @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->count()) @if ($attributeSet->display_layout == 'dropdown') @elseif ($attributeSet->display_layout == 'text') @else @endif @else @endif @endforeach @endif @endforeach @if (EcommerceHelper::isCartEnabled()) @foreach($products as $product) @endforeach @endif @foreach($products as $product) @endforeach
{{ $product->name }}
{{ __('Title') }}{{ $product->name }}
{{ __('Price') }} {!! Theme::partial('ecommerce.product-price', compact('product')) !!}
{{ __('Description') }} {!! BaseHelper::clean($product->description) !!}
{{ __('SKU') }}{{ $product->sku ? '#' . $product->sku : '' }}
{{ __('Availability') }}
@if ($product->isOutOfStock()) {{ __('Out of stock') }} @else {{ __('In stock') }} @endif
{{ $attributeSet->title }} {{ $attributes->pluck('title')->implode(', ') }}
    @foreach($attributes as $attribute)
  • @endforeach
    @foreach($attributes as $attribute)
  • @endforeach
{{ __('Add to cart') }}
@csrf
@else

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

@endif