@if ($products->count())
@foreach($products as $product) @endforeach @foreach($products as $product) @endforeach @foreach($products as $product) @endforeach @if (EcommerceHelper::isReviewEnabled()) @foreach($products as $product) @endforeach @endif @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
{{ __('Preview') }} {{ $product->name }}
{{ __('Name') }}
{{ $product->name }}
{{ __('Price') }} {{ format_price($product->front_sale_price_with_taxes) }} @if ($product->front_sale_price !== $product->price) {{ format_price($product->price_with_taxes) }} ({{ get_sale_percentage($product->price, $product->front_sale_price) }}) @endif
{{ __('Rating') }}
({{ $product->reviews_count }})
{{ __('Description') }}

{!! BaseHelper::clean($product->description) !!}

{{ $attributeSet->title }} {{ $attributes->pluck('title')->implode(', ') }}
    @foreach($attributes as $attribute)
  • @endforeach
    @foreach($attributes as $attribute)
  • @endforeach
{{ __('Buy now') }} {{ __('Add To Cart') }}
  {{ __('Remove') }}
@else

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

@endif