@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
@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->count())
@if ($attributeSet->display_layout == 'dropdown')
@elseif ($attributeSet->display_layout == 'text')
@else
@endif
@else
@endif
@endforeach
@endif
@endforeach
@foreach($products as $product)
@endforeach
@else
| ||||
{{ __('Title') }} | {{ $product->name }} | |||
{{ __('Price') }} | {!! Theme::partial('ecommerce.product-price', compact('product')) !!} | |||
{{ __('Add to cart') }} | {!! Theme::partial('ecommerce.product-cart-form', 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(', ') }} |
|
| — |
{{ __('No products in compare list!') }}
@endif